KI2CConf Struct Reference
i2c configuration structure More...
#include <i2c.h>
Data Fields | |
I2CAddressingMode | addressing_mode |
The size of the slave address. More... | |
I2CRole | role |
The role of the i2c bus. More... | |
uint32_t | clock_speed |
The clock speed of the i2c bus. More... | |
Field Documentation
I2CAddressingMode KI2CConf::addressing_mode |
The size of the slave address.
Should be either 7-bits long or 10-bits long, as specified by the I2CAddressingMode enumerator
uint32_t KI2CConf::clock_speed |
The clock speed of the i2c bus.
I2CRole KI2CConf::role |
The role of the i2c bus.
Should be either master or slave, as specified by the I2CRole enumerator
- Warning
- Only the Master role is available as of v0.1.0
The documentation for this struct was generated from the following file:
- kubos-hal/i2c.h