Type Alias PrescalerW

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

Field PRESCALER writer - Prescaler Configuration

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 div2(self) -> &'a mut W<REG>

Peripheral clock divided by 2

Source

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

Peripheral clock divided by 4

Source

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

Peripheral clock divided by 8

Source

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

Peripheral clock divided by 16

Source

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

Peripheral clock divided by 32

Source

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

Peripheral clock divided by 64

Source

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

Peripheral clock divided by 128

Source

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

Peripheral clock divided by 256