MTB CAT1 Peripheral driver library
Protocol Status Register (PSR) masks

General Description

Masks and bit positions of the Protocol Status Register (PSR) fields.

Macros

#define CY_CANFD_PSR_LEC_POS   (CANFD_CH_M_TTCAN_PSR_LEC_Pos )
 Last Error Code position.
 
#define CY_CANFD_PSR_LEC_MASK   (CANFD_CH_M_TTCAN_PSR_LEC_Msk )
 Last Error Code bit mask.
 
#define CY_CANFD_PSR_ACT_POS   (CANFD_CH_M_TTCAN_PSR_ACT_Pos )
 Activity position.
 
#define CY_CANFD_PSR_ACT_MASK   (CANFD_CH_M_TTCAN_PSR_ACT_Msk )
 Activity bit mask.
 
#define CY_CANFD_PSR_EP   (CANFD_CH_M_TTCAN_PSR_EP_Msk )
 Error Passive.
 
#define CY_CANFD_PSR_EW   (CANFD_CH_M_TTCAN_PSR_EW_Msk )
 Warning Status.
 
#define CY_CANFD_PSR_BO   (CANFD_CH_M_TTCAN_PSR_BO_Msk )
 Bus_Off Status.
 
#define CY_CANFD_PSR_DLEC_POS   (CANFD_CH_M_TTCAN_PSR_DLEC_Pos)
 Data Phase Last Error Code position.
 
#define CY_CANFD_PSR_DLEC_MASK   (CANFD_CH_M_TTCAN_PSR_DLEC_Msk)
 Data Phase Last Error Code bit mask.
 
#define CY_CANFD_PSR_RESI   (CANFD_CH_M_TTCAN_PSR_RESI_Msk)
 ESI flag of last received CAN FD Message.
 
#define CY_CANFD_PSR_RBRS   (CANFD_CH_M_TTCAN_PSR_RBRS_Msk)
 BRS flag of last received CAN FD Message.
 
#define CY_CANFD_PSR_RFDF   (CANFD_CH_M_TTCAN_PSR_RFDF_Msk)
 Received a CAN FD Message.
 
#define CY_CANFD_PSR_PXE   (CANFD_CH_M_TTCAN_PSR_PXE_Msk )
 Protocol Exception Event.
 
#define CY_CANFD_PSR_TDCV_POS   (CANFD_CH_M_TTCAN_PSR_TDCV_Pos)
 Transmitter Delay Compensation Value position.
 
#define CY_CANFD_PSR_TDCV_MASK   (CANFD_CH_M_TTCAN_PSR_TDCV_Msk)
 Transmitter Delay Compensation Value bit mask.