Type Alias atsamd51n::tcc0::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

source

pub fn idx(&mut self) -> IDX_W<'_, STATUS_SPEC, 1>

Bit 1 - Ramp

source

pub fn ufs(&mut self) -> UFS_W<'_, STATUS_SPEC, 2>

Bit 2 - Non-recoverable Update Fault State

source

pub fn dfs(&mut self) -> DFS_W<'_, STATUS_SPEC, 3>

Bit 3 - Non-Recoverable Debug Fault State

source

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

Bit 4 - Slave

source

pub fn pattbufv(&mut self) -> PATTBUFV_W<'_, STATUS_SPEC, 5>

Bit 5 - Pattern Buffer Valid

source

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

Bit 7 - Period Buffer Valid

source

pub fn faultain(&mut self) -> FAULTAIN_W<'_, STATUS_SPEC, 8>

Bit 8 - Recoverable Fault A Input

source

pub fn faultbin(&mut self) -> FAULTBIN_W<'_, STATUS_SPEC, 9>

Bit 9 - Recoverable Fault B Input

source

pub fn fault0in(&mut self) -> FAULT0IN_W<'_, STATUS_SPEC, 10>

Bit 10 - Non-Recoverable Fault0 Input

source

pub fn fault1in(&mut self) -> FAULT1IN_W<'_, STATUS_SPEC, 11>

Bit 11 - Non-Recoverable Fault1 Input

source

pub fn faulta(&mut self) -> FAULTA_W<'_, STATUS_SPEC, 12>

Bit 12 - Recoverable Fault A State

source

pub fn faultb(&mut self) -> FAULTB_W<'_, STATUS_SPEC, 13>

Bit 13 - Recoverable Fault B State

source

pub fn fault0(&mut self) -> FAULT0_W<'_, STATUS_SPEC, 14>

Bit 14 - Non-Recoverable Fault 0 State

source

pub fn fault1(&mut self) -> FAULT1_W<'_, STATUS_SPEC, 15>

Bit 15 - Non-Recoverable Fault 1 State

source

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

Bit 16 - Compare Channel 0 Buffer Valid

source

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

Bit 17 - Compare Channel 1 Buffer Valid

source

pub fn ccbufv2(&mut self) -> CCBUFV2_W<'_, STATUS_SPEC, 18>

Bit 18 - Compare Channel 2 Buffer Valid

source

pub fn ccbufv3(&mut self) -> CCBUFV3_W<'_, STATUS_SPEC, 19>

Bit 19 - Compare Channel 3 Buffer Valid

source

pub fn ccbufv4(&mut self) -> CCBUFV4_W<'_, STATUS_SPEC, 20>

Bit 20 - Compare Channel 4 Buffer Valid

source

pub fn ccbufv5(&mut self) -> CCBUFV5_W<'_, STATUS_SPEC, 21>

Bit 21 - Compare Channel 5 Buffer Valid

source

pub fn cmp0(&mut self) -> CMP0_W<'_, STATUS_SPEC, 24>

Bit 24 - Compare Channel 0 Value

source

pub fn cmp1(&mut self) -> CMP1_W<'_, STATUS_SPEC, 25>

Bit 25 - Compare Channel 1 Value

source

pub fn cmp2(&mut self) -> CMP2_W<'_, STATUS_SPEC, 26>

Bit 26 - Compare Channel 2 Value

source

pub fn cmp3(&mut self) -> CMP3_W<'_, STATUS_SPEC, 27>

Bit 27 - Compare Channel 3 Value

source

pub fn cmp4(&mut self) -> CMP4_W<'_, STATUS_SPEC, 28>

Bit 28 - Compare Channel 4 Value

source

pub fn cmp5(&mut self) -> CMP5_W<'_, STATUS_SPEC, 29>

Bit 29 - Compare Channel 5 Value

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