Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
i3c_config_target Struct Reference

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).
 

Detailed Description

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.

Field Documentation

◆ bcr

uint8_t i3c_config_target::bcr

Bus Characteristics Register (BCR).

◆ dcr

uint8_t i3c_config_target::dcr

Device Characteristics Register (DCR).

◆ dynamic_addr

uint8_t i3c_config_target::dynamic_addr

I3C target dynamic address.

Used when operates as secondary controller or as a target device.

◆ enable

bool i3c_config_target::enable

If the hardware is to act as a target device on the bus.

◆ max_read_len

uint16_t i3c_config_target::max_read_len

Maximum Read Length (MRL).

◆ max_write_len

uint16_t i3c_config_target::max_write_len

Maximum Write Length (MWL).

◆ pid

uint64_t i3c_config_target::pid

Provisioned ID.

◆ pid_random

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.

◆ static_addr

uint8_t i3c_config_target::static_addr

I3C target static address.

Used used when operates as secondary controller or as a target device.

◆ supported_hdr

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.


The documentation for this struct was generated from the following file: