at regular intervals rather than back-to-back.
The divider is reset when either of these fields are written.
Total period is 1 + INT + FRAC / 256
You can read
this register and get div::R
. You can reset
, write
, write_with_zero
this register using div::W
. You can also modify
this register. See API.
Raw register type (u8
, u16
, u32
, …).
reset()
method sets DIV to value 0
Reset value of the register.
Reset value of the register.
write(|w| ..)
method takes div::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 div::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.