Protocol Status Register (PSR) masks

group group_canfd_last_state_masks

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

Defines

CY_CANFD_PSR_LEC_POS

Last Error Code position.

CY_CANFD_PSR_LEC_MASK

Last Error Code bit mask.

CY_CANFD_PSR_ACT_POS

Activity position.

CY_CANFD_PSR_ACT_MASK

Activity bit mask.

CY_CANFD_PSR_EP

Error Passive.

CY_CANFD_PSR_EW

Warning Status.

CY_CANFD_PSR_BO

Bus_Off Status.

CY_CANFD_PSR_DLEC_POS

Data Phase Last Error Code position.

CY_CANFD_PSR_DLEC_MASK

Data Phase Last Error Code bit mask.

CY_CANFD_PSR_RESI

ESI flag of last received CAN FD Message.

CY_CANFD_PSR_RBRS

BRS flag of last received CAN FD Message.

CY_CANFD_PSR_RFDF

Received a CAN FD Message.

CY_CANFD_PSR_PXE

Protocol Exception Event.

CY_CANFD_PSR_TDCV_POS

Transmitter Delay Compensation Value position.

CY_CANFD_PSR_TDCV_MASK

Transmitter Delay Compensation Value bit mask.