RTEMS
5.0.0
|
I2C support implementation. More...
Functions | |
void | lpc32xx_i2c_reset (volatile lpc32xx_i2c *i2c) |
Resets the I2C module i2c. | |
rtems_status_code | lpc32xx_i2c_init (volatile lpc32xx_i2c *i2c, unsigned clock_in_hz) |
Initializes the I2C module i2c. More... | |
rtems_status_code | lpc32xx_i2c_clock (volatile lpc32xx_i2c *i2c, unsigned clock_in_hz) |
Sets the I2C module i2c clock. More... | |
rtems_status_code | lpc32xx_i2c_write_start (volatile lpc32xx_i2c *i2c, unsigned addr) |
Starts a write transaction on the I2C module i2c. More... | |
rtems_status_code | lpc32xx_i2c_read_start (volatile lpc32xx_i2c *i2c, unsigned addr) |
Starts a read transaction on the I2C module i2c. More... | |
rtems_status_code | lpc32xx_i2c_write_with_optional_stop (volatile lpc32xx_i2c *i2c, const uint8_t *out, size_t n, bool stop) |
Writes data via the I2C module i2c with optional stop. More... | |
rtems_status_code | lpc32xx_i2c_read_with_optional_stop (volatile lpc32xx_i2c *i2c, uint8_t *in, size_t n, bool stop) |
Reads data via the I2C module i2c with optional stop. More... | |
rtems_status_code | lpc32xx_i2c_write_and_read (volatile lpc32xx_i2c *i2c, unsigned addr, const uint8_t *out, size_t out_size, uint8_t *in, size_t in_size) |
Writes and reads data via the I2C module i2c. More... | |
I2C support implementation.