Type Alias rp2040_pac::dma::timer2::R

source ·
pub type R = R<TIMER2_SPEC>;
Expand description

Register TIMER2 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn y(&self) -> Y_R

Bits 0:15 - Pacing Timer Divisor. Specifies the Y value for the (X/Y) fractional timer.

source

pub fn x(&self) -> X_R

Bits 16:31 - Pacing Timer Dividend. Specifies the X value for the (X/Y) fractional timer.