<commit_before>#pragma once

#include "tock.h"

#define DRIVER_NUM_I2CMASTERSLAVE 12

#define CB_SLAVE_READ_REQUEST   2
#define CB_SLAVE_READ_COMPLETE  4
#define CB_SLAVE_WRITE          3
#define CB_MASTER_READ          1
#define CB_MASTER_WRITE         0

int i2c_master_slave_set_callback (subscribe_cb callback, void* callback_args);
int i2c_master_slave_set_master_write_buffer(uint8_t* buffer, uint32_t len);
int i2c_master_slave_set_master_read_buffer(uint8_t* buffer, uint32_t len);
int i2c_master_slave_set_slave_read_buffer(uint8_t* buffer, uint32_t len);
int i2c_master_slave_set_slave_write_buffer(uint8_t* buffer, uint32_t len);
int i2c_master_slave_write(uint8_t address, uint8_t length);
int i2c_master_slave_read(uint16_t address, uint16_t len);
int i2c_master_slave_listen();
int i2c_master_slave_set_slave_address(uint8_t address);<commit_msg>Fix duplicate driver number<commit_after>#pragma once

#include "tock.h"

#define DRIVER_NUM_I2CMASTERSLAVE 13

#define CB_SLAVE_READ_REQUEST   2
#define CB_SLAVE_READ_COMPLETE  4
#define CB_SLAVE_WRITE          3
#define CB_MASTER_READ          1
#define CB_MASTER_WRITE         0

int i2c_master_slave_set_callback (subscribe_cb callback, void* callback_args);
int i2c_master_slave_set_master_write_buffer(uint8_t* buffer, uint32_t len);
int i2c_master_slave_set_master_read_buffer(uint8_t* buffer, uint32_t len);
int i2c_master_slave_set_slave_read_buffer(uint8_t* buffer, uint32_t len);
int i2c_master_slave_set_slave_write_buffer(uint8_t* buffer, uint32_t len);
int i2c_master_slave_write(uint8_t address, uint8_t length);
int i2c_master_slave_read(uint16_t address, uint16_t len);
int i2c_master_slave_listen();
int i2c_master_slave_set_slave_address(uint8_t address);
{'fraction_non_alphanumeric': 0.06113033448673587, 'fraction_numerical': 0.04152249134948097, 'mean_word_length': 7.8520408163265305, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4090758', 'n_tokens_mistral': 692, 'n_tokens_neox': 675, 'n_words': 128}