Type Alias CS0_W

Source
pub type CS0_W<'a, REG> = FieldWriter<'a, REG, 3, CS0_A, Safe>;
Expand description

Field CS0 writer - Clock Select

Aliased Type§

struct CS0_W<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> CS0_W<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

pub fn no_clock(self) -> &'a mut W<REG>

No clock source (Timer/Counter stopped)

Source

pub fn direct(self) -> &'a mut W<REG>

Running, No Prescaling

Source

pub fn prescale_8(self) -> &'a mut W<REG>

Running, CLK/8

Source

pub fn prescale_64(self) -> &'a mut W<REG>

Running, CLK/64

Source

pub fn prescale_256(self) -> &'a mut W<REG>

Running, CLK/256

Source

pub fn prescale_1024(self) -> &'a mut W<REG>

Running, CLK/1024

Source

pub fn ext_falling(self) -> &'a mut W<REG>

Running, ExtClk Tx Falling Edge

Source

pub fn ext_rising(self) -> &'a mut W<REG>

Running, ExtClk Tx Rising Edge