Type Alias PrescW

Source
pub type PrescW<'a, REG> = FieldWriter<'a, REG, 4, Prescselect>;
Expand description

Field PRESC writer - Prescaler Value

Aliased Type§

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

Implementations§

Source§

impl<'a, REG> PrescW<'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 div32(self) -> &'a mut W<REG>

Divide by 32

Source

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

Divide by 64

Source

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

Divide by 128

Source

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

Divide by 256

Source

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

Divide by 512

Source

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

Divide by 1024