Type Alias atsamd51p::evsys::swevt::W

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

Register SWEVT writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn channel0(&mut self) -> CHANNEL0_W<'_, SWEVT_SPEC, 0>

Bit 0 - Channel 0 Software Selection

source

pub fn channel1(&mut self) -> CHANNEL1_W<'_, SWEVT_SPEC, 1>

Bit 1 - Channel 1 Software Selection

source

pub fn channel2(&mut self) -> CHANNEL2_W<'_, SWEVT_SPEC, 2>

Bit 2 - Channel 2 Software Selection

source

pub fn channel3(&mut self) -> CHANNEL3_W<'_, SWEVT_SPEC, 3>

Bit 3 - Channel 3 Software Selection

source

pub fn channel4(&mut self) -> CHANNEL4_W<'_, SWEVT_SPEC, 4>

Bit 4 - Channel 4 Software Selection

source

pub fn channel5(&mut self) -> CHANNEL5_W<'_, SWEVT_SPEC, 5>

Bit 5 - Channel 5 Software Selection

source

pub fn channel6(&mut self) -> CHANNEL6_W<'_, SWEVT_SPEC, 6>

Bit 6 - Channel 6 Software Selection

source

pub fn channel7(&mut self) -> CHANNEL7_W<'_, SWEVT_SPEC, 7>

Bit 7 - Channel 7 Software Selection

source

pub fn channel8(&mut self) -> CHANNEL8_W<'_, SWEVT_SPEC, 8>

Bit 8 - Channel 8 Software Selection

source

pub fn channel9(&mut self) -> CHANNEL9_W<'_, SWEVT_SPEC, 9>

Bit 9 - Channel 9 Software Selection

source

pub fn channel10(&mut self) -> CHANNEL10_W<'_, SWEVT_SPEC, 10>

Bit 10 - Channel 10 Software Selection

source

pub fn channel11(&mut self) -> CHANNEL11_W<'_, SWEVT_SPEC, 11>

Bit 11 - Channel 11 Software Selection

source

pub fn channel12(&mut self) -> CHANNEL12_W<'_, SWEVT_SPEC, 12>

Bit 12 - Channel 12 Software Selection

source

pub fn channel13(&mut self) -> CHANNEL13_W<'_, SWEVT_SPEC, 13>

Bit 13 - Channel 13 Software Selection

source

pub fn channel14(&mut self) -> CHANNEL14_W<'_, SWEVT_SPEC, 14>

Bit 14 - Channel 14 Software Selection

source

pub fn channel15(&mut self) -> CHANNEL15_W<'_, SWEVT_SPEC, 15>

Bit 15 - Channel 15 Software Selection

source

pub fn channel16(&mut self) -> CHANNEL16_W<'_, SWEVT_SPEC, 16>

Bit 16 - Channel 16 Software Selection

source

pub fn channel17(&mut self) -> CHANNEL17_W<'_, SWEVT_SPEC, 17>

Bit 17 - Channel 17 Software Selection

source

pub fn channel18(&mut self) -> CHANNEL18_W<'_, SWEVT_SPEC, 18>

Bit 18 - Channel 18 Software Selection

source

pub fn channel19(&mut self) -> CHANNEL19_W<'_, SWEVT_SPEC, 19>

Bit 19 - Channel 19 Software Selection

source

pub fn channel20(&mut self) -> CHANNEL20_W<'_, SWEVT_SPEC, 20>

Bit 20 - Channel 20 Software Selection

source

pub fn channel21(&mut self) -> CHANNEL21_W<'_, SWEVT_SPEC, 21>

Bit 21 - Channel 21 Software Selection

source

pub fn channel22(&mut self) -> CHANNEL22_W<'_, SWEVT_SPEC, 22>

Bit 22 - Channel 22 Software Selection

source

pub fn channel23(&mut self) -> CHANNEL23_W<'_, SWEVT_SPEC, 23>

Bit 23 - Channel 23 Software Selection

source

pub fn channel24(&mut self) -> CHANNEL24_W<'_, SWEVT_SPEC, 24>

Bit 24 - Channel 24 Software Selection

source

pub fn channel25(&mut self) -> CHANNEL25_W<'_, SWEVT_SPEC, 25>

Bit 25 - Channel 25 Software Selection

source

pub fn channel26(&mut self) -> CHANNEL26_W<'_, SWEVT_SPEC, 26>

Bit 26 - Channel 26 Software Selection

source

pub fn channel27(&mut self) -> CHANNEL27_W<'_, SWEVT_SPEC, 27>

Bit 27 - Channel 27 Software Selection

source

pub fn channel28(&mut self) -> CHANNEL28_W<'_, SWEVT_SPEC, 28>

Bit 28 - Channel 28 Software Selection

source

pub fn channel29(&mut self) -> CHANNEL29_W<'_, SWEVT_SPEC, 29>

Bit 29 - Channel 29 Software Selection

source

pub fn channel30(&mut self) -> CHANNEL30_W<'_, SWEVT_SPEC, 30>

Bit 30 - Channel 30 Software Selection

source

pub fn channel31(&mut self) -> CHANNEL31_W<'_, SWEVT_SPEC, 31>

Bit 31 - Channel 31 Software Selection

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