pub struct SYST_RVR_SPEC;
Expand description
Use the SysTick Reload Value Register to specify the start value to load into the current value register when the counter reaches 0. It can be any value between 0 and 0x00FFFFFF. A start value of 0 is possible, but has no effect because the SysTick interrupt and COUNTFLAG are activated when counting from 1 to 0. The reset value of this register is UNKNOWN.
To generate a multi-shot timer with a period of N processor clock cycles, use a RELOAD value of N-1. For example, if the SysTick interrupt is required every 100 clock pulses, set RELOAD to 99.
You can read
this register and get syst_rvr::R
. You can reset
, write
, write_with_zero
this register using syst_rvr::W
. You can also modify
this register. See API.
Trait Implementations§
Source§impl RegisterSpec for SYST_RVR_SPEC
impl RegisterSpec for SYST_RVR_SPEC
Source§impl Resettable for SYST_RVR_SPEC
reset()
method sets SYST_RVR to value 0
impl Resettable for SYST_RVR_SPEC
reset()
method sets SYST_RVR to value 0
Source§const RESET_VALUE: u32 = 0u32
const RESET_VALUE: u32 = 0u32
Source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Source§impl Writable for SYST_RVR_SPEC
write(|w| ..)
method takes syst_rvr::W
writer structure
impl Writable for SYST_RVR_SPEC
write(|w| ..)
method takes syst_rvr::W
writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
1
and are changed if you pass 0
Source§const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
0
and are changed if you pass 1
impl Readable for SYST_RVR_SPEC
read()
method returns syst_rvr::R
reader structure