|
Functions |
| uint16_t | dev_read_DEV_AVR_I2C (void *buf, uint16_t count) |
| | read from the I2C Bus into buf.
|
| uint16_t | dev_write_DEV_AVR_I2C (const void *buf, uint16_t count) |
| | write from buf to the I2C Bus.
|
| uint8_t | dev_mode_DEV_AVR_I2C (uint8_t md) |
| | change the status of the AVR I2C Driver. Accepted parameters are:
- DEV_MODE_OFF: Turn the device off.
- DEV_MODE_ON: Turn the device on.
|
| uint8_t | dev_ioctl_DEV_AVR_I2C (int8_t request,...) |
| | send an IO Control to the I2C Bus. Accepted parameters are:
- I2C_ENABLE_ACK
- I2C_DISABLE_ACK
- I2C_DEST_ADDR, [uint16_t address]
- I2C_SLAVE_ADDR, [uint16_t address]
- I2C_SET_BRR, [uint16_t baudrate]
|