Types
Hardware I2C data types. More...
Data Structures | |
struct | gos_i2c_message_t |
Input/output message context used by gos_i2c_transfer() More... | |
struct | gos_i2c_device_t |
I2C peripheral context used by direct APIs. More... | |
Enumerations | |
enum | gos_i2c_address_width_t { GOS_I2C_7BIT, GOS_I2C_10BIT, GOS_I2C_16BIT } |
I2C address width. More... | |
enum | gos_i2c_flag_t { GOS_I2C_MSG_WRITE = (1 << 0 ), GOS_I2C_MSG_READ = (0 << 0 ), GOS_I2C_MSG_NO_STOP_SEQ = (1 << 1 ), GOS_I2C_MSG_STOP_SEQ = (0 << 1 ), GOS_I2C_MSG_READ_AFTER_WRITE = (1 << 2 ), GOS_I2C_MSG_NO_READ_AFTER_WRITE = (0 << 2 ), GOS_I2C_MSG_NO_START_SEQ = (1 << 3 ), GOS_I2C_MSG_START_SEQ = (0 << 3 ) } |
I2C message flags. More... | |
enum | gos_i2c_speed_t { GOS_I2C_CLOCK_LOW_SPEED = (10*1000), GOS_I2C_CLOCK_STANDARD_SPEED = (100*1000), GOS_I2C_CLOCK_HIGH_SPEED = (400*1000) } |
I2C standard clock rates. More... | |
enum | gos_i2c_stream_flag_t { GOS_I2C_FLAG_STREAM_HEXIFY = (1 << 0) } |
Stream configure flags. More... | |
enum | gos_i2c_stream_write_flag_t { GOS_I2C_FLAG_STREAM_CONTINUED_WRITE = (1 << 0) } |
enum | gos_i2c_t { GOS_I2C_0, GOS_GPIO_MAX } |
Detailed Description
Hardware I2C data types.
Enumeration Type Documentation
◆ gos_i2c_address_width_t
◆ gos_i2c_flag_t
enum gos_i2c_flag_t |
I2C message flags.
◆ gos_i2c_speed_t
enum gos_i2c_speed_t |
◆ gos_i2c_stream_flag_t
◆ gos_i2c_stream_write_flag_t
◆ gos_i2c_t
enum gos_i2c_t |