atsamd21g::tcc0::ctrla

Type Alias PrescalerW

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

Field PRESCALER writer - Prescaler

Aliased Type§

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

Implementations§

Source§

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

Source

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

No division

Source

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

Divide by 2

Source

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

Divide by 4

Source

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

Divide by 8

Source

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

Divide by 16

Source

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

Divide by 64

Source

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

Divide by 256

Source

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

Divide by 1024