pub struct TIMER1_SPEC;
Expand description
Pacing (X/Y) Fractional Timer
The pacing timer produces TREQ assertions at a rate set by ((X/Y) * sys_clk). This equation is evaluated every sys_clk cycles and therefore can only generate TREQs at a rate of 1 per sys_clk (i.e. permanent TREQ) or less.
You can read
this register and get timer1::R
. You can reset
, write
, write_with_zero
this register using timer1::W
. You can also modify
this register. See API.
Trait Implementations§
Source§impl RegisterSpec for TIMER1_SPEC
impl RegisterSpec for TIMER1_SPEC
Source§impl Resettable for TIMER1_SPEC
reset()
method sets TIMER1 to value 0
impl Resettable for TIMER1_SPEC
reset()
method sets TIMER1 to value 0
Source§const RESET_VALUE: u32 = 0u32
const RESET_VALUE: u32 = 0u32
Reset value of the register.
Source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
Source§impl Writable for TIMER1_SPEC
write(|w| ..)
method takes timer1::W
writer structure
impl Writable for TIMER1_SPEC
write(|w| ..)
method takes timer1::W
writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
Specifies the register bits that are not changed if you pass
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
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1
impl Readable for TIMER1_SPEC
read()
method returns timer1::R
reader structure
Auto Trait Implementations§
impl Freeze for TIMER1_SPEC
impl RefUnwindSafe for TIMER1_SPEC
impl Send for TIMER1_SPEC
impl Sync for TIMER1_SPEC
impl Unpin for TIMER1_SPEC
impl UnwindSafe for TIMER1_SPEC
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more