pub struct R(_);
Expand description
Register T0CONFIG
reader
Implementations§
§impl R
impl R
pub fn level_int_en(&self) -> BitReaderRaw<bool>
pub fn level_int_en(&self) -> BitReaderRaw<bool>
Bit 11 - When set level type interrupt will be generated during alarm
pub fn edge_int_en(&self) -> BitReaderRaw<bool>
pub fn edge_int_en(&self) -> BitReaderRaw<bool>
Bit 12 - When set edge type interrupt will be generated during alarm
pub fn divider(&self) -> FieldReaderRaw<u16, u16>
pub fn divider(&self) -> FieldReaderRaw<u16, u16>
Bits 13:28 - Timer 0 clock (T0_clk) prescale value.
pub fn autoreload(&self) -> BitReaderRaw<bool>
pub fn autoreload(&self) -> BitReaderRaw<bool>
Bit 29 - When set timer 0 auto-reload at alarming is enabled
Methods from Deref<Target = R<T0CONFIG_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<T0CONFIG_SPEC>> for R
impl From<R<T0CONFIG_SPEC>> for R
§fn from(reader: R<T0CONFIG_SPEC>) -> R
fn from(reader: R<T0CONFIG_SPEC>) -> R
Converts to this type from the input type.