Once armed, the alarm fires when TIMER_ALARM0 == TIMELR.
The alarm will disarm itself once it fires, and can
be disarmed early using the ARMED status register.
You can read
this register and get alarm0::R
. You can reset
, write
, write_with_zero
this register using alarm0::W
. You can also modify
this register. See API.
Raw register type (u8
, u16
, u32
, …).
reset()
method sets ALARM0 to value 0
Reset value of the register.
Reset value of the register.
write(|w| ..)
method takes alarm0::W
writer structure
Specifies the register bits that are not changed if you pass 1
and are changed if you pass 0
Specifies the register bits that are not changed if you pass 0
and are changed if you pass 1
read()
method returns alarm0::R
reader structure
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.