Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
error_types.h File Reference

Go to the source code of this file.

Enumerations

enum  i3c_sdr_controller_error_types {
  I3C_ERROR_CE0 , I3C_ERROR_CE1 , I3C_ERROR_CE2 , I3C_ERROR_CE3 ,
  I3C_ERROR_CE_UNKNOWN , I3C_ERROR_CE_NONE , I3C_ERROR_CE_MAX = I3C_ERROR_CE_UNKNOWN , I3C_ERROR_CE_INVALID
}
 I3C SDR Controller Error Types. More...
 
enum  i3c_sdr_target_error_types {
  I3C_ERROR_TE0 , I3C_ERROR_TE1 , I3C_ERROR_TE2 , I3C_ERROR_TE3 ,
  I3C_ERROR_TE4 , I3C_ERROR_TE5 , I3C_ERROR_TE6 , I3C_ERROR_DBR ,
  I3C_ERROR_TE_UNKNOWN , I3C_ERROR_TE_NONE , I3C_ERROR_TE_MAX = I3C_ERROR_TE_UNKNOWN , I3C_ERROR_TE_INVALID
}
 I3C SDR Target Error Types. More...
 

Enumeration Type Documentation

◆ i3c_sdr_controller_error_types

I3C SDR Controller Error Types.

These are error types defined by the I3C specification.

I3C_ERROR_CE_UNKNOWN and I3C_ERROR_CE_NONE are not official error types according to the specification. These are there simply to aid in error handling during interactions with the I3C drivers and subsystem.

Enumerator
I3C_ERROR_CE0 

Transaction after sending CCC.

I3C_ERROR_CE1 

Monitoring Error.

I3C_ERROR_CE2 

No response to broadcast address (0x7E)

I3C_ERROR_CE3 

Failed Controller Handoff.

I3C_ERROR_CE_UNKNOWN 

Unknown error (not official error type)

I3C_ERROR_CE_NONE 

No error (not official error type)

I3C_ERROR_CE_MAX 
I3C_ERROR_CE_INVALID 

◆ i3c_sdr_target_error_types

I3C SDR Target Error Types.

These are error types defined by the I3C specification.

I3C_ERROR_TE_UNKNOWN and I3C_ERROR_TE_NONE are not official error types according to the specification. These are there simply to aid in error handling during interactions with the I3C drivers and subsystem.

Enumerator
I3C_ERROR_TE0 

Invalid Broadcast Address or Dynamic Address after DA assignment.

I3C_ERROR_TE1 

CCC type.

I3C_ERROR_TE2 

Write Data.

I3C_ERROR_TE3 

Assigned Address during Dynamic Address Arbitration.

I3C_ERROR_TE4 

0x7E/R missing after RESTART during Dynamic Address Arbitration

I3C_ERROR_TE5 

Transaction after detecting CCC.

I3C_ERROR_TE6 

Monitoring Error.

I3C_ERROR_DBR 

Dead Bus Recovery.

I3C_ERROR_TE_UNKNOWN 

Unknown error (not official error type)

I3C_ERROR_TE_NONE 

No error (not official error type)

I3C_ERROR_TE_MAX 
I3C_ERROR_TE_INVALID