Functions | |
| cy_en_i3c_status_t | Cy_I3C_RequestControllership (I3C_CORE_Type *base, cy_stc_i3c_context_t *context) |
| Requests controllership from the current controller. More... | |
| cy_en_i3c_status_t | Cy_I3C_DeliverControllership (I3C_CORE_Type *base, uint8_t SecControllerAddress, cy_stc_i3c_context_t *context) |
| Delivers the bus controllership to the requesting secondary controller. More... | |
| __STATIC_INLINE cy_en_i3c_target_reset_t | Cy_I3C_Target_GetResetMode (cy_stc_i3c_context_t *context) |
| Returns the target reset mode set by RSTACT. More... | |
| __STATIC_INLINE bool | Cy_I3C_Target_isTIREnabled (I3C_CORE_Type *base) |
| Returns if Target interrupt request IBI is enabled/disabled by ENEC/DISEC CCC. More... | |
| __STATIC_INLINE bool | Cy_I3C_Target_isHJEnabled (I3C_CORE_Type *base) |
| Returns if HotJoin IBI is enabled/disabled by ENEC/DISEC CCC. More... | |
| __STATIC_INLINE bool | Cy_I3C_Target_isCREnabled (I3C_CORE_Type *base) |
| Returns if Controllership request IBI is enabled/disabled by ENEC/DISEC CCC. More... | |
| __STATIC_INLINE cy_en_i3c_activity_states_t | Cy_I3C_Target_getActivityState (I3C_CORE_Type *base) |
| Returns Activity State set by ENTAS(x) CCC. More... | |
| __STATIC_INLINE uint8_t | Cy_I3C_Target_getTIRRemainingDataLength (I3C_CORE_Type *base) |
| Returns the number of bytes remaining that was not transmitted in TIR, because of controller early terminating the TIR transfer. More... | |
| cy_en_i3c_status_t Cy_I3C_RequestControllership | ( | I3C_CORE_Type * | base, |
| cy_stc_i3c_context_t * | context | ||
| ) |
Requests controllership from the current controller.
| base | The pointer to the I3C instance. |
| context | The pointer to the context structure cy_stc_i3c_context_t allocated by the user. The structure is used during the I3C operation for internal configuration and data retention. The user must not modify anything in this structure. |
| cy_en_i3c_status_t Cy_I3C_DeliverControllership | ( | I3C_CORE_Type * | base, |
| uint8_t | SecControllerAddress, | ||
| cy_stc_i3c_context_t * | context | ||
| ) |
Delivers the bus controllership to the requesting secondary controller.
| base | The pointer to the I3C instance. |
| SecControllerAddress | The address of the I3C device to which the controllership has to be delivered. |
| context | The pointer to the context structure cy_stc_i3c_context_t allocated by the user. The structure is used during the I3C operation for internal configuration and data retention. The user must not modify anything in this structure. |
| __STATIC_INLINE cy_en_i3c_target_reset_t Cy_I3C_Target_GetResetMode | ( | cy_stc_i3c_context_t * | context | ) |
Returns the target reset mode set by RSTACT.
| context | The pointer to the context structure cy_stc_i3c_context_t allocated by the user. The structure is used during the I3C operation for internal configuration and data retention. The user must not modify anything in this structure. |
| __STATIC_INLINE bool Cy_I3C_Target_isTIREnabled | ( | I3C_CORE_Type * | base | ) |
Returns if Target interrupt request IBI is enabled/disabled by ENEC/DISEC CCC.
| base | The pointer to the I3C instance. |
| __STATIC_INLINE bool Cy_I3C_Target_isHJEnabled | ( | I3C_CORE_Type * | base | ) |
Returns if HotJoin IBI is enabled/disabled by ENEC/DISEC CCC.
| base | The pointer to the I3C instance. |
| __STATIC_INLINE bool Cy_I3C_Target_isCREnabled | ( | I3C_CORE_Type * | base | ) |
Returns if Controllership request IBI is enabled/disabled by ENEC/DISEC CCC.
| base | The pointer to the I3C instance. |
| __STATIC_INLINE cy_en_i3c_activity_states_t Cy_I3C_Target_getActivityState | ( | I3C_CORE_Type * | base | ) |
Returns Activity State set by ENTAS(x) CCC.
| base | The pointer to the I3C instance. |
| __STATIC_INLINE uint8_t Cy_I3C_Target_getTIRRemainingDataLength | ( | I3C_CORE_Type * | base | ) |
Returns the number of bytes remaining that was not transmitted in TIR, because of controller early terminating the TIR transfer.
| base | The pointer to the I3C instance. |