Type Alias avr_device::atmega2560::tc4::tccr4b::CS4_W

source ·
pub type CS4_W<'a, const O: u8> = FieldWriterSafe<'a, u8, TCCR4B_SPEC, u8, CS4_A, 3, O>;
Expand description

Field CS4 writer - Prescaler source of Timer/Counter 4

Aliased Type§

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

Implementations§

source§

impl<'a, const O: u8> CS4_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