[−][src]Struct fomu_pac::timer0::RegisterBlock
Register block
Fields
load3: LOAD3
0x00 - Bits 24-31 of TIMER0_LOAD
. Load value when Timer is (re-)enabled.In One-Shot mode, the value written to this register specify the Timer's duration in clock cycles.
load2: LOAD2
0x04 - Bits 16-23 of TIMER0_LOAD
.
load1: LOAD1
0x08 - Bits 8-15 of TIMER0_LOAD
.
load0: LOAD0
0x0c - Bits 0-7 of TIMER0_LOAD
.
reload3: RELOAD3
0x10 - Bits 24-31 of TIMER0_RELOAD
. Reload value when Timer reaches 0.In Periodic mode, the value written to this register specify the Timer's period in clock cycles.
reload2: RELOAD2
0x14 - Bits 16-23 of TIMER0_RELOAD
.
reload1: RELOAD1
0x18 - Bits 8-15 of TIMER0_RELOAD
.
reload0: RELOAD0
0x1c - Bits 0-7 of TIMER0_RELOAD
.
en: EN
0x20 - Enable of the Timer.Set if to 1 to enable/start the Timer and 0 to disable the Timer
update_value: UPDATE_VALUE
0x24 - Update of the current countdown value.A write to this register latches the current countdown value to value
register.
value3: VALUE3
0x28 - Bits 24-31 of TIMER0_VALUE
. Latched countdown value
value2: VALUE2
0x2c - Bits 16-23 of TIMER0_VALUE
.
value1: VALUE1
0x30 - Bits 8-15 of TIMER0_VALUE
.
value0: VALUE0
0x34 - Bits 0-7 of TIMER0_VALUE
.
ev_status: EV_STATUS
0x38 -
ev_pending: EV_PENDING
0x3c -
ev_enable: EV_ENABLE
0x40 -
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>,