W

Type Alias W 

pub type W = W<ScSpec>;
Expand description

Register SC writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

§

impl W

pub fn ps(&mut self) -> PsW<'_, ScSpec>

Bits 0:2 - Prescale Factor Selection

pub fn clks(&mut self) -> ClksW<'_, ScSpec>

Bits 3:4 - Clock Source Selection

pub fn cpwms(&mut self) -> CpwmsW<'_, ScSpec>

Bit 5 - Center-Aligned PWM Select

pub fn rie(&mut self) -> RieW<'_, ScSpec>

Bit 6 - Reload Point Interrupt Enable

pub fn toie(&mut self) -> ToieW<'_, ScSpec>

Bit 8 - Timer Overflow Interrupt Enable

pub fn pwmen0(&mut self) -> Pwmen0W<'_, ScSpec>

Bit 16 - Channel 0 PWM enable bit

pub fn pwmen1(&mut self) -> Pwmen1W<'_, ScSpec>

Bit 17 - Channel 1 PWM enable bit

pub fn pwmen2(&mut self) -> Pwmen2W<'_, ScSpec>

Bit 18 - Channel 2 PWM enable bit

pub fn pwmen3(&mut self) -> Pwmen3W<'_, ScSpec>

Bit 19 - Channel 3 PWM enable bit

pub fn pwmen4(&mut self) -> Pwmen4W<'_, ScSpec>

Bit 20 - Channel 4 PWM enable bit

pub fn pwmen5(&mut self) -> Pwmen5W<'_, ScSpec>

Bit 21 - Channel 5 PWM enable bit

pub fn pwmen6(&mut self) -> Pwmen6W<'_, ScSpec>

Bit 22 - Channel 6 PWM enable bit

pub fn pwmen7(&mut self) -> Pwmen7W<'_, ScSpec>

Bit 23 - Channel 7 PWM enable bit

pub fn fltps(&mut self) -> FltpsW<'_, ScSpec>

Bits 24:27 - Filter Prescaler