Type Alias atsame54n::tc0::count8::status::W

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

Register STATUS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn stop(&mut self) -> STOP_W<'_, STATUS_SPEC, 0>

Bit 0 - Stop Status Flag

source

pub fn slave(&mut self) -> SLAVE_W<'_, STATUS_SPEC, 1>

Bit 1 - Slave Status Flag

source

pub fn perbufv(&mut self) -> PERBUFV_W<'_, STATUS_SPEC, 3>

Bit 3 - Synchronization Busy Status

source

pub fn ccbufv0(&mut self) -> CCBUFV0_W<'_, STATUS_SPEC, 4>

Bit 4 - Compare channel buffer 0 valid

source

pub fn ccbufv1(&mut self) -> CCBUFV1_W<'_, STATUS_SPEC, 5>

Bit 5 - Compare channel buffer 1 valid

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual