R

Type Alias R 

pub type R = R<ScSpec>;
Expand description

Register SC reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

§

impl R

pub fn ps(&self) -> PsR

Bits 0:2 - Prescale Factor Selection

pub fn clks(&self) -> ClksR

Bits 3:4 - Clock Source Selection

pub fn cpwms(&self) -> CpwmsR

Bit 5 - Center-Aligned PWM Select

pub fn rie(&self) -> RieR

Bit 6 - Reload Point Interrupt Enable

pub fn rf(&self) -> RfR

Bit 7 - Reload Flag

pub fn toie(&self) -> ToieR

Bit 8 - Timer Overflow Interrupt Enable

pub fn tof(&self) -> TofR

Bit 9 - Timer Overflow Flag

pub fn pwmen0(&self) -> Pwmen0R

Bit 16 - Channel 0 PWM enable bit

pub fn pwmen1(&self) -> Pwmen1R

Bit 17 - Channel 1 PWM enable bit

pub fn pwmen2(&self) -> Pwmen2R

Bit 18 - Channel 2 PWM enable bit

pub fn pwmen3(&self) -> Pwmen3R

Bit 19 - Channel 3 PWM enable bit

pub fn pwmen4(&self) -> Pwmen4R

Bit 20 - Channel 4 PWM enable bit

pub fn pwmen5(&self) -> Pwmen5R

Bit 21 - Channel 5 PWM enable bit

pub fn pwmen6(&self) -> Pwmen6R

Bit 22 - Channel 6 PWM enable bit

pub fn pwmen7(&self) -> Pwmen7R

Bit 23 - Channel 7 PWM enable bit

pub fn fltps(&self) -> FltpsR

Bits 24:27 - Filter Prescaler