Type Alias PrescalerR

Source
pub type PrescalerR = FieldReader<Prescalerselect>;
Expand description

Field PRESCALER reader - Prescaler Configuration

Aliased Type§

struct PrescalerR { /* private fields */ }

Implementations§

Source§

impl PrescalerR

Source

pub const fn variant(&self) -> Prescalerselect

Get enumerated values variant

Source

pub fn is_div2(&self) -> bool

Peripheral clock divided by 2

Source

pub fn is_div4(&self) -> bool

Peripheral clock divided by 4

Source

pub fn is_div8(&self) -> bool

Peripheral clock divided by 8

Source

pub fn is_div16(&self) -> bool

Peripheral clock divided by 16

Source

pub fn is_div32(&self) -> bool

Peripheral clock divided by 32

Source

pub fn is_div64(&self) -> bool

Peripheral clock divided by 64

Source

pub fn is_div128(&self) -> bool

Peripheral clock divided by 128

Source

pub fn is_div256(&self) -> bool

Peripheral clock divided by 256