|
| enum class | hf_i2c_clock_source_t : uint8_t { HF_I2C_CLK_SRC_DEFAULT = I2C_CLK_SRC_DEFAULT
, HF_I2C_CLK_SRC_XTAL = I2C_CLK_SRC_XTAL
, HF_I2C_CLK_SRC_RC_FAST = I2C_CLK_SRC_RC_FAST
} |
| | ESP32 I2C clock source selection. More...
|
| |
| enum class | hf_i2c_address_bits_t : uint8_t { HF_I2C_ADDR_7_BIT = I2C_ADDR_BIT_LEN_7
, HF_I2C_ADDR_10_BIT = I2C_ADDR_BIT_LEN_10
} |
| | ESP32 I2C address bit length. More...
|
| |
| enum class | hf_i2c_power_mode_t : uint8_t { HF_I2C_POWER_MODE_NORMAL = 0
, HF_I2C_POWER_MODE_LOW = 1
, HF_I2C_POWER_MODE_SLEEP = 2
} |
| | ESP32 I2C power mode configuration. More...
|
| |
| enum class | hf_i2c_transaction_type_t : uint8_t { HF_I2C_TRANS_WRITE = 0
, HF_I2C_TRANS_READ = 1
, HF_I2C_TRANS_WRITE_READ = 2
} |
| | ESP32 I2C transaction types. More...
|
| |
| enum class | hf_i2c_event_type_t : int {
HF_I2C_EVENT_MASTER_START = 0
, HF_I2C_EVENT_MASTER_STOP = 1
, HF_I2C_EVENT_MASTER_WRITE = 2
, HF_I2C_EVENT_MASTER_READ = 3
,
HF_I2C_EVENT_SLAVE_START = 4
, HF_I2C_EVENT_SLAVE_STOP = 5
, HF_I2C_EVENT_SLAVE_WRITE = 6
, HF_I2C_EVENT_SLAVE_READ = 7
,
HF_I2C_EVENT_ERROR = 8
} |
| | ESP32 I2C event types. More...
|
| |
| enum class | hf_i2c_glitch_filter_t : uint8_t {
HF_I2C_GLITCH_FILTER_0_CYCLES = 0
, HF_I2C_GLITCH_FILTER_1_CYCLES = 1
, HF_I2C_GLITCH_FILTER_2_CYCLES = 2
, HF_I2C_GLITCH_FILTER_3_CYCLES = 3
,
HF_I2C_GLITCH_FILTER_4_CYCLES = 4
, HF_I2C_GLITCH_FILTER_5_CYCLES = 5
, HF_I2C_GLITCH_FILTER_6_CYCLES = 6
, HF_I2C_GLITCH_FILTER_7_CYCLES = 7
} |
| | ESP32 I2C glitch filter configuration. More...
|
| |
| enum class | hf_i2c_command_type_t : uint8_t {
HF_I2C_CMD_START = 0
, HF_I2C_CMD_STOP = 1
, HF_I2C_CMD_WRITE = 2
, HF_I2C_CMD_READ = 3
,
HF_I2C_CMD_WRITE_READ = 4
, HF_I2C_CMD_DELAY = 5
} |
| | ESP32 I2C custom command types. More...
|
| |
| enum class | hf_i2c_mode_t : uint8_t { HF_I2C_MODE_SYNC = 0
, HF_I2C_MODE_ASYNC = 1
} |
| | I2C operation mode - determines available APIs. More...
|
| |
ESP32 I2C type definitions for hardware abstraction.
This header defines only the essential I2C-specific types used by the EspI2c implementation. Clean and minimal approach.
- Author
- Nebiyu Tadesse
- Date
- 2025
- Copyright
- HardFOC