Struct rp2040_pac2::dma::regs::Timer [−][src]
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.
Implementations
impl Timer[src]
pub const fn x(&self) -> u16[src]
Pacing Timer Dividend. Specifies the X value for the (X/Y) fractional timer.
pub fn set_x(&mut self, val: u16)[src]
Pacing Timer Dividend. Specifies the X value for the (X/Y) fractional timer.
pub const fn y(&self) -> u16[src]
Pacing Timer Divisor. Specifies the Y value for the (X/Y) fractional timer.
pub fn set_y(&mut self, val: u16)[src]
Pacing Timer Divisor. Specifies the Y value for the (X/Y) fractional timer.
Trait Implementations
impl Clone for Timer[src]
fn clone(&self) -> Timer[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for Timer[src]
impl Default for Timer[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,