Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
i3c_ccc_getcaps Union Reference

Payload for GETCAPS CCC (Get Optional Feature Capabilities). More...

#include <ccc.h>

Data Fields

union {
   uint8_t   gethdrcap
 I3C v1.0 HDR Capabilities. More...
 
   uint8_t   getcaps [4]
 I3C v1.1+ Device Capabilities Byte 1 GETCAPS1. More...
 
fmt1
 
union {
   uint8_t   tgtcaps [4]
 Defining Byte 0x00: TGTCAPS. More...
 
   uint32_t   testpat
 Defining Byte 0x5A: TESTPAT. More...
 
   uint8_t   crcaps [2]
 Defining Byte 0x91: CRCAPS Byte 1 CRCAPS1. More...
 
   uint8_t   vtcaps [2]
 Defining Byte 0x93: VTCAPS Byte 1 VTCAPS1. More...
 
fmt2
 

Detailed Description

Payload for GETCAPS CCC (Get Optional Feature Capabilities).

Note
Only supports GETCAPS Format 1 and Format 2. In I3C v1.0 this was GETHDRCAP which only returned a single byte which is the same as the GETCAPS1 byte.

Field Documentation

◆ crcaps

uint8_t i3c_ccc_getcaps::crcaps[2]

Defining Byte 0x91: CRCAPS Byte 1 CRCAPS1.

  • Bit[0]: Hot-Join Support
  • Bit[1]: Group Management Support
  • Bit[2]: Multi-Lane Support Byte 2 CRCAPS2
  • Bit[0]: In-Band Interrupt Support
  • Bit[1]: Controller Pass-Back
  • Bit[2]: Deep Sleep Capable
  • Bit[3]: Delayed Controller Handoff

◆ 

union { ... } i3c_ccc_getcaps::fmt1

◆ 

union { ... } i3c_ccc_getcaps::fmt2

◆ getcaps

uint8_t i3c_ccc_getcaps::getcaps[4]

I3C v1.1+ Device Capabilities Byte 1 GETCAPS1.

  • Bit[0]: HDR-DDR
  • Bit[1]: HDR-TSP
  • Bit[2]: HDR-TSL
  • Bit[3]: HDR-BT
  • Bit[7:4]: Reserved Byte 2 GETCAPS2
  • Bit[3:0]: I3C 1.x Specification Version
  • Bit[5:4]: Group Address Capabilities
  • Bit[6]: HDR-DDR Write Abort
  • Bit[7]: HDR-DDR Abort CRC Byte 3 GETCAPS3
  • Bit[0]: Multi-Lane (ML) Data Transfer Support
  • Bit[1]: Device to Device Transfer (D2DXFER) Support
  • Bit[2]: Device to Device Transfer (D2DXFER) IBI Capable
  • Bit[3]: Defining Byte Support in GETCAPS
  • Bit[4]: Defining Byte Support in GETSTATUS
  • Bit[5]: HDR-BT CRC-32 Support
  • Bit[6]: IBI MDB Support for Pending Read Notification
  • Bit[7]: Reserved Byte 4 GETCAPS4
  • Bit[7:0]: Reserved

◆ gethdrcap

uint8_t i3c_ccc_getcaps::gethdrcap

I3C v1.0 HDR Capabilities.

  • Bit[0]: HDR-DDR
  • Bit[1]: HDR-TSP
  • Bit[2]: HDR-TSL
  • Bit[7:3]: Reserved

◆ testpat

uint32_t i3c_ccc_getcaps::testpat

Defining Byte 0x5A: TESTPAT.

Note
should always be 0xA55AA55A in big endian

◆ tgtcaps

uint8_t i3c_ccc_getcaps::tgtcaps[4]

Defining Byte 0x00: TGTCAPS.

See also
i3c_ccc_getcaps::fmt1::getcaps

◆ vtcaps

uint8_t i3c_ccc_getcaps::vtcaps[2]

Defining Byte 0x93: VTCAPS Byte 1 VTCAPS1.

  • Bit[2:0]: Virtual Target Type
  • Bit[4]: Side Effects
  • Bit[5]: Shared Peripheral Detect Byte 2 VTCAPS2
  • Bit[1:0]: Interrupt Requests
  • Bit[2]: Address Remapping
  • Bit[4:3]: Bus Context and Conditions

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