Type Alias atsame54n::tcc0::wexctrl::W

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

Register WEXCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn otmx(&mut self) -> OTMX_W<'_, WEXCTRL_SPEC, 0>

Bits 0:1 - Output Matrix

source

pub fn dtien0(&mut self) -> DTIEN0_W<'_, WEXCTRL_SPEC, 8>

Bit 8 - Dead-time Insertion Generator 0 Enable

source

pub fn dtien1(&mut self) -> DTIEN1_W<'_, WEXCTRL_SPEC, 9>

Bit 9 - Dead-time Insertion Generator 1 Enable

source

pub fn dtien2(&mut self) -> DTIEN2_W<'_, WEXCTRL_SPEC, 10>

Bit 10 - Dead-time Insertion Generator 2 Enable

source

pub fn dtien3(&mut self) -> DTIEN3_W<'_, WEXCTRL_SPEC, 11>

Bit 11 - Dead-time Insertion Generator 3 Enable

source

pub fn dtls(&mut self) -> DTLS_W<'_, WEXCTRL_SPEC, 16>

Bits 16:23 - Dead-time Low Side Outputs Value

source

pub fn dths(&mut self) -> DTHS_W<'_, WEXCTRL_SPEC, 24>

Bits 24:31 - Dead-time High Side Outputs 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