Contiki 3.x
|
I2C bus master driver for mbxxx platform. More...
Go to the source code of this file.
Functions | |
void | i2c_enable (void) |
Configure serial controller in I2C mode and set I2C speed. | |
void | i2c_disable (void) |
Configure serial controller in disabled mode. | |
void | i2c_start (void) |
Generate I2C START condition. | |
void | i2c_stop (void) |
Generate I2C STOP condition. | |
void | i2c_write (uint8_t data) |
Send a byte to I2C bus. More... | |
uint8_t | i2c_read (int ack) |
Read a byte from I2C bus. More... | |
uint8_t i2c_read | ( | int | ack | ) |
void i2c_write | ( | uint8_t | data | ) |
Send a byte to I2C bus.
data | The data that must be sent |
Definition at line 106 of file i2c.c.
Referenced by eeprom_read(), and eeprom_write().