Type Alias CS0_W

Source
pub type CS0_W<'a, const O: u8> = FieldWriterSafe<'a, u8, TCCR0B_SPEC, u8, CS0_A, 3, O>;
Expand description

Field CS0 writer - Clock Select

Aliased Type§

struct CS0_W<'a, const O: u8> { /* private fields */ }

Implementations§

Source§

impl<'a, const O: u8> CS0_W<'a, O>

Source

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

No clock source (Timer/Counter stopped)

Source

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

Running, No Prescaling

Source

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

Running, CLK/8

Source

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

Running, CLK/64

Source

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

Running, CLK/256

Source

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

Running, CLK/1024

Source

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

Running, ExtClk Tx Falling Edge

Source

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

Running, ExtClk Tx Rising Edge