Zephyr API 3.6.99
|
Configuration parameters for I3C hardware to act as target device. More...
#include <target_device.h>
Data Fields | |
bool | enable |
If the hardware is to act as a target device on the bus. | |
uint8_t | dynamic_addr |
I3C target dynamic address. | |
uint8_t | static_addr |
I3C target static address. | |
uint64_t | pid |
Provisioned ID. | |
bool | pid_random |
True if lower 32-bit of Provisioned ID is random. | |
uint8_t | bcr |
Bus Characteristics Register (BCR). | |
uint8_t | dcr |
Device Characteristics Register (DCR). | |
uint16_t | max_read_len |
Maximum Read Length (MRL). | |
uint16_t | max_write_len |
Maximum Write Length (MWL). | |
uint8_t | supported_hdr |
Bit mask of supported HDR modes (0 - 7). | |
Configuration parameters for I3C hardware to act as target device.
This can also be used to configure the controller if it is to act as a secondary controller on the bus.
uint8_t i3c_config_target::bcr |
Bus Characteristics Register (BCR).
uint8_t i3c_config_target::dcr |
Device Characteristics Register (DCR).
uint8_t i3c_config_target::dynamic_addr |
I3C target dynamic address.
Used used when operates as secondary controller or as a target device.
bool i3c_config_target::enable |
If the hardware is to act as a target device on the bus.
uint16_t i3c_config_target::max_read_len |
Maximum Read Length (MRL).
uint16_t i3c_config_target::max_write_len |
Maximum Write Length (MWL).
uint64_t i3c_config_target::pid |
Provisioned ID.
bool i3c_config_target::pid_random |
True if lower 32-bit of Provisioned ID is random.
This sets the bit 32 of Provisioned ID which means the lower 32-bit is random value.
uint8_t i3c_config_target::static_addr |
I3C target static address.
Used used when operates as secondary controller or as a target device.
uint8_t i3c_config_target::supported_hdr |
Bit mask of supported HDR modes (0 - 7).
This can be used to enable or disable HDR mode supported by the hardware at runtime.