Type Alias avr_device::attiny85::tc1::tccr1::CS1_W

source ·
pub type CS1_W<'a, const O: u8> = FieldWriterSafe<'a, u8, TCCR1_SPEC, u8, CS1_A, 4, O>;
Expand description

Field CS1 writer - Clock Select Bits

Aliased Type§

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

Implementations§

source§

impl<'a, const O: u8> CS1_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_2(self) -> &'a mut W

Running, CLK/2

source

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

Running, CLK/4

source

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

Running, CLK/8

source

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

Running, CLK/16

source

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

Running, CLK/32

source

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

Running, CLK/64

source

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

Running, CLK/128

source

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

Running, CLK/256

source

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

Running, CLK/512

source

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

Running, CLK/1024

source

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

Running, CLK/2048

source

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

Running, CLK/4096

source

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

Running, CLK/8192

source

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

Running, CLK/16384