Enumerated types for I3C driver. More...
Enumerated types for I3C driver.
| enum i3c_target_type_t |
| enum i3c_xfer_speed_en |
I³C bus speed configuration.
This enumeration defines user-selectable bus speed configurations for initializing the I³C hardware.
Controller SDR timing preset selection.
| Enumerator | |
|---|---|
| I3C_SDR_TIMING_PRESET_MANUAL | Use explicit i3c_scl_timing_t values |
| enum i3c_ccc_type_en |
| enum i3c_transfer_dir_en |
| enum i3c_addr_mode_en |
Transfer option flags.
These flags can be OR'ed together in i3c_transfer_t::flags.
| enum i3c_status_en |
I³C driver return status codes.
This enumeration defines the various return codes used by the I³C driver to indicate operation results and specific error conditions.
| enum i3c_mode_en |
| enum i3c_event_type_en |
I³C callback event types.
This enumeration defines various events reported to the application through a callback mechanism when the I³C driver operates in asynchronous or interrupt-driven mode. These events notify the application about transfer status, buffer thresholds, or protocol-specific occurrences.
| enum i3c_event_mask_en |
Event notification mask bits.
Applications can OR these bits and pass to i3c_controller_set_interrupt_config to receive only required notifications.
| Enumerator | |
|---|---|
| I3C_EVENT_MASK_TRANSFER_ERR | Notify I3C_EVENT_TRANSFER_ERR |
| I3C_EVENT_MASK_TRANSFER_ABORT | Notify I3C_EVENT_TRANSFER_ABORT |
| I3C_EVENT_MASK_RESP_READY | Notify I3C_EVENT_RESP_READY |
| I3C_EVENT_MASK_IBI_SIR_RECEIVED | Notify I3C_EVENT_IBI_SIR_RECEIVED |
| I3C_EVENT_MASK_IBI_HJ_REQ_RECEIVED | |
| I3C_EVENT_MASK_READ_COMPLETE | Notify I3C_EVENT_READ_COMPLETE |
| I3C_EVENT_MASK_WRITE_COMPLETE | Notify I3C_EVENT_WRITE_COMPLETE |
| I3C_EVENT_MASK_MR_RECEIVED | Notify I3C_EVENT_MR_RECEIVED |
| I3C_EVENT_MASK_MR_RESPONSE | Notify I3C_EVENT_MR_RESPONSE |
| I3C_EVENT_MASK_ALL | Enable all callback events |
Status codes for a non-blocking I³C transfer.
This is returned by i3c_get_controller_transfer_status() and i3c_get_target_transfer_status(). These let the application know where in the transfer lifecycle the driver is.