Type Alias atsamd51p::evsys::channels::channel::W

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

Register CHANNEL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn evgen(&mut self) -> EVGEN_W<'_, CHANNEL_SPEC, 0>

Bits 0:6 - Event Generator Selection

source

pub fn path(&mut self) -> PATH_W<'_, CHANNEL_SPEC, 8>

Bits 8:9 - Path Selection

source

pub fn edgsel(&mut self) -> EDGSEL_W<'_, CHANNEL_SPEC, 10>

Bits 10:11 - Edge Detection Selection

source

pub fn runstdby(&mut self) -> RUNSTDBY_W<'_, CHANNEL_SPEC, 14>

Bit 14 - Run in standby

source

pub fn ondemand(&mut self) -> ONDEMAND_W<'_, CHANNEL_SPEC, 15>

Bit 15 - Generic Clock On Demand

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