Type Alias atsame54n::tc0::count32::drvctrl::W

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

Register DRVCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn inven0(&mut self) -> INVEN0_W<'_, DRVCTRL_SPEC, 0>

Bit 0 - Output Waveform Invert Enable 0

source

pub fn inven1(&mut self) -> INVEN1_W<'_, DRVCTRL_SPEC, 1>

Bit 1 - Output Waveform Invert Enable 1

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