Type Alias atsame51j::can0::cccr::W

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

Register CCCR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn init(&mut self) -> INIT_W<'_, CCCR_SPEC, 0>

Bit 0 - Initialization

source

pub fn cce(&mut self) -> CCE_W<'_, CCCR_SPEC, 1>

Bit 1 - Configuration Change Enable

source

pub fn asm(&mut self) -> ASM_W<'_, CCCR_SPEC, 2>

Bit 2 - ASM Restricted Operation Mode

source

pub fn csa(&mut self) -> CSA_W<'_, CCCR_SPEC, 3>

Bit 3 - Clock Stop Acknowledge

source

pub fn csr(&mut self) -> CSR_W<'_, CCCR_SPEC, 4>

Bit 4 - Clock Stop Request

source

pub fn mon(&mut self) -> MON_W<'_, CCCR_SPEC, 5>

Bit 5 - Bus Monitoring Mode

source

pub fn dar(&mut self) -> DAR_W<'_, CCCR_SPEC, 6>

Bit 6 - Disable Automatic Retransmission

source

pub fn test(&mut self) -> TEST_W<'_, CCCR_SPEC, 7>

Bit 7 - Test Mode Enable

source

pub fn fdoe(&mut self) -> FDOE_W<'_, CCCR_SPEC, 8>

Bit 8 - FD Operation Enable

source

pub fn brse(&mut self) -> BRSE_W<'_, CCCR_SPEC, 9>

Bit 9 - Bit Rate Switch Enable

source

pub fn pxhd(&mut self) -> PXHD_W<'_, CCCR_SPEC, 12>

Bit 12 - Protocol Exception Handling Disable

source

pub fn efbi(&mut self) -> EFBI_W<'_, CCCR_SPEC, 13>

Bit 13 - Edge Filtering during Bus Integration

source

pub fn txp(&mut self) -> TXP_W<'_, CCCR_SPEC, 14>

Bit 14 - Transmit Pause

source

pub fn niso(&mut self) -> NISO_W<'_, CCCR_SPEC, 15>

Bit 15 - Non ISO Operation

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