NHAL Interface v0.5.0
Hardware Abstraction Layer Interface for Embedded Systems
|
Defines common types and structures for the I2C Hardware Abstraction Layer (HAL). More...
Go to the source code of this file.
Data Structures | |
struct | nhal_i2c_config |
struct | nhal_i2c_context |
Base I2C context - always present, minimal footprint. More... | |
struct | nhal_i2c_transfer_op_t |
Structure describing a single I2C message segment within a transaction. More... | |
Typedefs | |
typedef uint8_t | nhal_i2c_bus_id |
typedef uint16_t | nhal_i2c_address |
Enumerations | |
enum | nhal_i2c_transfer_bit_flags_t { NHAL_I2C_TRANSFER_MSG_WRITE = 1 , NHAL_I2C_TRANSFER_MSG_READ = 1<<1 , NHAL_I2C_TRANSFER_MSG_TEN_BIT_ADDR = 1<<2 , NHAL_I2C_TRANSFER_MSG_NO_START = 1<<3 , NHAL_I2C_TRANSFER_MSG_NO_STOP = 1<<4 , NHAL_I2C_TRANSFER_MSG_NO_ADDR = 1<<5 } |
Defines common types and structures for the I2C Hardware Abstraction Layer (HAL).
This header file provides opaque types, enumerations, and structures used across the I2C HAL API to facilitate communication over I2C buses.
Definition in file nhal_i2c_types.h.
typedef uint16_t nhal_i2c_address |
Definition at line 17 of file nhal_i2c_types.h.
typedef uint8_t nhal_i2c_bus_id |
Definition at line 16 of file nhal_i2c_types.h.
Definition at line 36 of file nhal_i2c_types.h.