[−][src]Struct esp8266::timer::frc1_ctrl::R
Reader of register FRC1_CTRL
Implementations
impl R[src]
pub fn frc1_int(&self) -> FRC1_INT_R[src]
Bit 8 - the status of the interrupt, when the count isdereased to zero
pub fn frc1_ctrl(&self) -> FRC1_CTRL_R[src]
Bits 0:7 - bit[7]: timer enable, bit[6]: automatically reload, when the counter isequal to zero, bit[3:2]: prescale-divider, 0: divided by 1, 1: dividedby 16, 2 or 3: divided by 256, bit[0]: interrupt type, 0:edge, 1:level
pub fn timer_enable(&self) -> TIMER_ENABLE_R[src]
Bit 7 - Enable or disable the timer
pub fn rollover(&self) -> ROLLOVER_R[src]
Bit 6 - Automatically reload when the counter hits zero
pub fn prescale_divider(&self) -> PRESCALE_DIVIDER_R[src]
Bits 2:3 - Pre-scale divider for the timer
pub fn interrupt_type(&self) -> INTERRUPT_TYPE_R[src]
Bit 0 - Configure the interrupt type
Methods from Deref<Target = R<FRC1_CTRL_SPEC>>
Trait Implementations
impl Deref for R[src]
type Target = R<FRC1_CTRL_SPEC>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
impl From<R<FRC1_CTRL_SPEC>> for R[src]
fn from(reader: R<FRC1_CTRL_SPEC>) -> Self[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,