i2c.h
Go to the documentation of this file.
Definition: i2c.h:135
KI2CStatus kprv_i2c_dev_init(KI2CNum i2c)
Low level hal device initialization This is implemented by the device specific hal.
Definition: i2c.h:77
KI2CStatus kprv_i2c_slave_read(KI2CNum i2c, uint16_t addr, uint8_t *ptr, int len)
Low level hal i2c read (as slave) This is implemented by the device specific hal. ...
Definition: i2c.h:140
Definition: i2c.h:89
Definition: i2c.h:72
Definition: i2c.h:136
Definition: i2c.h:97
Definition: i2c.h:143
KI2CStatus kprv_i2c_slave_write(KI2CNum i2c, uint16_t addr, uint8_t *ptr, int len)
Low level hal i2c write (as slave) This is implemented by the device specific hal.
KI2CStatus kprv_i2c_dev_terminate(KI2CNum i2c)
Low level hal i2c termination This is implemented by the device specific hal.
KI2CStatus k_i2c_write(KI2CNum i2c, uint16_t addr, uint8_t *ptr, int len)
Transmit data over i2c bus to specified address.
Definition: i2c.h:144
I2CAddressingMode addressing_mode
The size of the slave address.
Definition: i2c.h:109
Definition: i2c.h:141
void k_i2c_default_dev_init(KI2CNum i2c)
Initialize i2c device with default config values.
KI2CStatus kprv_i2c_master_write(KI2CNum i2c, uint16_t addr, uint8_t *ptr, int len)
Low level hal i2c write (as master) This is implemented by the device specific hal.
Definition: i2c.h:80
Definition: i2c.h:142
Definition: i2c.h:88
KI2CStatus k_i2c_read(KI2CNum i2c, uint16_t addr, uint8_t *ptr, int len)
Read data over i2c bus from specified address.
KI2CStatus kprv_i2c_master_read(KI2CNum i2c, uint16_t addr, uint8_t *ptr, int len)
Low level hal i2c read (as master) This is implemented by the device specific hal.
Definition: i2c.h:137
Definition: i2c.h:98
Definition: i2c.h:139
Definition: i2c.h:74
Definition: i2c.h:138