Type Alias atsame51j::can0::ir::W

source ·
pub type W = W<IR_SPEC>;
Expand description

Register IR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rf0n(&mut self) -> RF0N_W<'_, IR_SPEC, 0>

Bit 0 - Rx FIFO 0 New Message

source

pub fn rf0w(&mut self) -> RF0W_W<'_, IR_SPEC, 1>

Bit 1 - Rx FIFO 0 Watermark Reached

source

pub fn rf0f(&mut self) -> RF0F_W<'_, IR_SPEC, 2>

Bit 2 - Rx FIFO 0 Full

source

pub fn rf0l(&mut self) -> RF0L_W<'_, IR_SPEC, 3>

Bit 3 - Rx FIFO 0 Message Lost

source

pub fn rf1n(&mut self) -> RF1N_W<'_, IR_SPEC, 4>

Bit 4 - Rx FIFO 1 New Message

source

pub fn rf1w(&mut self) -> RF1W_W<'_, IR_SPEC, 5>

Bit 5 - Rx FIFO 1 Watermark Reached

source

pub fn rf1f(&mut self) -> RF1F_W<'_, IR_SPEC, 6>

Bit 6 - Rx FIFO 1 FIFO Full

source

pub fn rf1l(&mut self) -> RF1L_W<'_, IR_SPEC, 7>

Bit 7 - Rx FIFO 1 Message Lost

source

pub fn hpm(&mut self) -> HPM_W<'_, IR_SPEC, 8>

Bit 8 - High Priority Message

source

pub fn tc(&mut self) -> TC_W<'_, IR_SPEC, 9>

Bit 9 - Timestamp Completed

source

pub fn tcf(&mut self) -> TCF_W<'_, IR_SPEC, 10>

Bit 10 - Transmission Cancellation Finished

source

pub fn tfe(&mut self) -> TFE_W<'_, IR_SPEC, 11>

Bit 11 - Tx FIFO Empty

source

pub fn tefn(&mut self) -> TEFN_W<'_, IR_SPEC, 12>

Bit 12 - Tx Event FIFO New Entry

source

pub fn tefw(&mut self) -> TEFW_W<'_, IR_SPEC, 13>

Bit 13 - Tx Event FIFO Watermark Reached

source

pub fn teff(&mut self) -> TEFF_W<'_, IR_SPEC, 14>

Bit 14 - Tx Event FIFO Full

source

pub fn tefl(&mut self) -> TEFL_W<'_, IR_SPEC, 15>

Bit 15 - Tx Event FIFO Element Lost

source

pub fn tsw(&mut self) -> TSW_W<'_, IR_SPEC, 16>

Bit 16 - Timestamp Wraparound

source

pub fn mraf(&mut self) -> MRAF_W<'_, IR_SPEC, 17>

Bit 17 - Message RAM Access Failure

source

pub fn too(&mut self) -> TOO_W<'_, IR_SPEC, 18>

Bit 18 - Timeout Occurred

source

pub fn drx(&mut self) -> DRX_W<'_, IR_SPEC, 19>

Bit 19 - Message stored to Dedicated Rx Buffer

source

pub fn bec(&mut self) -> BEC_W<'_, IR_SPEC, 20>

Bit 20 - Bit Error Corrected

source

pub fn beu(&mut self) -> BEU_W<'_, IR_SPEC, 21>

Bit 21 - Bit Error Uncorrected

source

pub fn elo(&mut self) -> ELO_W<'_, IR_SPEC, 22>

Bit 22 - Error Logging Overflow

source

pub fn ep(&mut self) -> EP_W<'_, IR_SPEC, 23>

Bit 23 - Error Passive

source

pub fn ew(&mut self) -> EW_W<'_, IR_SPEC, 24>

Bit 24 - Warning Status

source

pub fn bo(&mut self) -> BO_W<'_, IR_SPEC, 25>

Bit 25 - Bus_Off Status

source

pub fn wdi(&mut self) -> WDI_W<'_, IR_SPEC, 26>

Bit 26 - Watchdog Interrupt

source

pub fn pea(&mut self) -> PEA_W<'_, IR_SPEC, 27>

Bit 27 - Protocol Error in Arbitration Phase

source

pub fn ped(&mut self) -> PED_W<'_, IR_SPEC, 28>

Bit 28 - Protocol Error in Data Phase

source

pub fn ara(&mut self) -> ARA_W<'_, IR_SPEC, 29>

Bit 29 - Access to Reserved Address

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual