Once armed, the alarm fires when TIMER_ALARM1 == 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 alarm1::R
. You can reset
, write
, write_with_zero
this register using alarm1::W
. You can also modify
this register. See API.
Raw register type (u8
, u16
, u32
, …).
reset()
method sets ALARM1 to value 0
Reset value of the register.
Reset value of the register.
write(|w| ..)
method takes alarm1::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 alarm1::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.