Type Alias atsame54n::can0::ndat2::W

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

Register NDAT2 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn nd32(&mut self) -> ND32_W<'_, NDAT2_SPEC, 0>

Bit 0 - New Data 32

source

pub fn nd33(&mut self) -> ND33_W<'_, NDAT2_SPEC, 1>

Bit 1 - New Data 33

source

pub fn nd34(&mut self) -> ND34_W<'_, NDAT2_SPEC, 2>

Bit 2 - New Data 34

source

pub fn nd35(&mut self) -> ND35_W<'_, NDAT2_SPEC, 3>

Bit 3 - New Data 35

source

pub fn nd36(&mut self) -> ND36_W<'_, NDAT2_SPEC, 4>

Bit 4 - New Data 36

source

pub fn nd37(&mut self) -> ND37_W<'_, NDAT2_SPEC, 5>

Bit 5 - New Data 37

source

pub fn nd38(&mut self) -> ND38_W<'_, NDAT2_SPEC, 6>

Bit 6 - New Data 38

source

pub fn nd39(&mut self) -> ND39_W<'_, NDAT2_SPEC, 7>

Bit 7 - New Data 39

source

pub fn nd40(&mut self) -> ND40_W<'_, NDAT2_SPEC, 8>

Bit 8 - New Data 40

source

pub fn nd41(&mut self) -> ND41_W<'_, NDAT2_SPEC, 9>

Bit 9 - New Data 41

source

pub fn nd42(&mut self) -> ND42_W<'_, NDAT2_SPEC, 10>

Bit 10 - New Data 42

source

pub fn nd43(&mut self) -> ND43_W<'_, NDAT2_SPEC, 11>

Bit 11 - New Data 43

source

pub fn nd44(&mut self) -> ND44_W<'_, NDAT2_SPEC, 12>

Bit 12 - New Data 44

source

pub fn nd45(&mut self) -> ND45_W<'_, NDAT2_SPEC, 13>

Bit 13 - New Data 45

source

pub fn nd46(&mut self) -> ND46_W<'_, NDAT2_SPEC, 14>

Bit 14 - New Data 46

source

pub fn nd47(&mut self) -> ND47_W<'_, NDAT2_SPEC, 15>

Bit 15 - New Data 47

source

pub fn nd48(&mut self) -> ND48_W<'_, NDAT2_SPEC, 16>

Bit 16 - New Data 48

source

pub fn nd49(&mut self) -> ND49_W<'_, NDAT2_SPEC, 17>

Bit 17 - New Data 49

source

pub fn nd50(&mut self) -> ND50_W<'_, NDAT2_SPEC, 18>

Bit 18 - New Data 50

source

pub fn nd51(&mut self) -> ND51_W<'_, NDAT2_SPEC, 19>

Bit 19 - New Data 51

source

pub fn nd52(&mut self) -> ND52_W<'_, NDAT2_SPEC, 20>

Bit 20 - New Data 52

source

pub fn nd53(&mut self) -> ND53_W<'_, NDAT2_SPEC, 21>

Bit 21 - New Data 53

source

pub fn nd54(&mut self) -> ND54_W<'_, NDAT2_SPEC, 22>

Bit 22 - New Data 54

source

pub fn nd55(&mut self) -> ND55_W<'_, NDAT2_SPEC, 23>

Bit 23 - New Data 55

source

pub fn nd56(&mut self) -> ND56_W<'_, NDAT2_SPEC, 24>

Bit 24 - New Data 56

source

pub fn nd57(&mut self) -> ND57_W<'_, NDAT2_SPEC, 25>

Bit 25 - New Data 57

source

pub fn nd58(&mut self) -> ND58_W<'_, NDAT2_SPEC, 26>

Bit 26 - New Data 58

source

pub fn nd59(&mut self) -> ND59_W<'_, NDAT2_SPEC, 27>

Bit 27 - New Data 59

source

pub fn nd60(&mut self) -> ND60_W<'_, NDAT2_SPEC, 28>

Bit 28 - New Data 60

source

pub fn nd61(&mut self) -> ND61_W<'_, NDAT2_SPEC, 29>

Bit 29 - New Data 61

source

pub fn nd62(&mut self) -> ND62_W<'_, NDAT2_SPEC, 30>

Bit 30 - New Data 62

source

pub fn nd63(&mut self) -> ND63_W<'_, NDAT2_SPEC, 31>

Bit 31 - New Data 63

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