Abstracted I³C device configuration structure. More...
#include <i3c.h>
Data Fields | |
| i3c_target_type_t | device_type |
| uint8_t | static_address |
| uint8_t | dynamic_address |
| uint8_t | nack_retry_count |
| bool | accept_ibi |
| bool | ibi_has_payload |
| bool | enable_ibi_pec |
Abstracted I³C device configuration structure.
This structure provides a user-friendly interface for configuring I³C devices without exposing hardware register details. It hides the complexity of the underlying hardware register format and provides logical, validated fields.
| i3c_target_type_t i3c_device_config_t::device_type |
Device type: I³C or I²C
| uint8_t i3c_device_config_t::static_address |
Static address (I²C devices only)
| uint8_t i3c_device_config_t::dynamic_address |
Dynamic address (0 = auto-assign)
| uint8_t i3c_device_config_t::nack_retry_count |
NACK retry count (0-3)
| bool i3c_device_config_t::accept_ibi |
Accept In-Band Interrupts
| bool i3c_device_config_t::ibi_has_payload |
IBI includes payload data
| bool i3c_device_config_t::enable_ibi_pec |
Enable IBI Packet Error Check