SAME54P20A Test Project
Data Fields
CAN_PSR_Type Union Reference

Data Fields

struct {
   uint32_t   LEC:3
 
   uint32_t   ACT:2
 
   uint32_t   EP:1
 
   uint32_t   EW:1
 
   uint32_t   BO:1
 
   uint32_t   DLEC:3
 
   uint32_t   RESI:1
 
   uint32_t   RBRS:1
 
   uint32_t   RFDF:1
 
   uint32_t   PXE:1
 
   uint32_t   __pad0__:1
 
   uint32_t   TDCV:7
 
   uint32_t   __pad1__:9
 
bit
 
uint32_t reg
 

Detailed Description

Definition at line 430 of file can.h.

Field Documentation

◆ __pad0__

uint32_t CAN_PSR_Type::__pad0__

bit: 15 Reserved

Definition at line 442 of file can.h.

◆ __pad1__

uint32_t CAN_PSR_Type::__pad1__

bit: 23..31 Reserved

Definition at line 444 of file can.h.

◆ ACT

uint32_t CAN_PSR_Type::ACT

bit: 3.. 4 Activity

Definition at line 433 of file can.h.

◆ bit

struct { ... } CAN_PSR_Type::bit

Structure used for bit access

◆ BO

uint32_t CAN_PSR_Type::BO

bit: 7 Bus_Off Status

Definition at line 436 of file can.h.

◆ DLEC

uint32_t CAN_PSR_Type::DLEC

bit: 8..10 Data Phase Last Error Code

Definition at line 437 of file can.h.

◆ EP

uint32_t CAN_PSR_Type::EP

bit: 5 Error Passive

Definition at line 434 of file can.h.

◆ EW

uint32_t CAN_PSR_Type::EW

bit: 6 Warning Status

Definition at line 435 of file can.h.

◆ LEC

uint32_t CAN_PSR_Type::LEC

bit: 0.. 2 Last Error Code

Definition at line 432 of file can.h.

◆ PXE

uint32_t CAN_PSR_Type::PXE

bit: 14 Protocol Exception Event

Definition at line 441 of file can.h.

◆ RBRS

uint32_t CAN_PSR_Type::RBRS

bit: 12 BRS flag of last received CAN FD Message

Definition at line 439 of file can.h.

◆ reg

uint32_t CAN_PSR_Type::reg

Type used for register access

Definition at line 446 of file can.h.

◆ RESI

uint32_t CAN_PSR_Type::RESI

bit: 11 ESI flag of last received CAN FD Message

Definition at line 438 of file can.h.

◆ RFDF

uint32_t CAN_PSR_Type::RFDF

bit: 13 Received a CAN FD Message

Definition at line 440 of file can.h.

◆ TDCV

uint32_t CAN_PSR_Type::TDCV

bit: 16..22 Transmitter Delay Compensation Value

Definition at line 443 of file can.h.


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