Type Alias atsame54n::can0::ecr::R

source ·
pub type R = R<ECR_SPEC>;
Expand description

Register ECR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn tec(&self) -> TEC_R

Bits 0:7 - Transmit Error Counter

source

pub fn rec(&self) -> REC_R

Bits 8:14 - Receive Error Counter

source

pub fn rp(&self) -> RP_R

Bit 15 - Receive Error Passive

source

pub fn cel(&self) -> CEL_R

Bits 16:23 - CAN Error Logging