Lines Matching refs:id
196 void i2c_slave_init(unsigned char id) in i2c_slave_init() argument
200 reg_i2c_id = id; //defaul eagle slave ID is 0x5a in i2c_slave_init()
211 unsigned char i2c_master_write(unsigned char id, unsigned char *data, unsigned char len) in i2c_master_write() argument
215 reg_i2c_data_buf(0)=id & (~FLD_I2C_WRITE_READ_BIT); //BIT(0):R:High W:Low; in i2c_master_write()
252 unsigned char i2c_master_read(unsigned char id, unsigned char *data, unsigned char len) in i2c_master_read() argument
257 reg_i2c_data_buf(0)=(id | FLD_I2C_WRITE_READ_BIT); //BIT(0):R:High W:Low; in i2c_master_read()
291 unsigned char i2c_master_write_read(unsigned char id, unsigned char *wr_data, unsigned char wr_len,… in i2c_master_write_read() argument
295 reg_i2c_data_buf(0)=id & (~FLD_I2C_WRITE_READ_BIT); //BIT(0):R:High W:Low; in i2c_master_write_read()
323 reg_i2c_data_buf(0)=(id | FLD_I2C_WRITE_READ_BIT); //BIT(0):R:High W:Low; in i2c_master_write_read()
350 void i2c_master_write_dma(unsigned char id, unsigned char *data, unsigned char len) in i2c_master_write_dma() argument
354 reg_i2c_id = (id & (~FLD_I2C_WRITE_READ_BIT)); //BIT(0):R:High W:Low in i2c_master_write_dma()
372 void i2c_master_read_dma(unsigned char id, unsigned char *rx_data, unsigned char len) in i2c_master_read_dma() argument
378 reg_i2c_id = (id | FLD_I2C_WRITE_READ_BIT); //BIT(0):R:High W:Low in i2c_master_read_dma()