Type Alias W

Source
pub type W = W<GTCCR_SPEC>;
Expand description

Register GTCCR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn psr1(&mut self) -> PSR1_W<'_, GTCCR_SPEC>

Bit 1 - Prescaler Reset Timer/Counter1

Source

pub fn foc1a(&mut self) -> FOC1A_W<'_, GTCCR_SPEC>

Bit 2 - Force Output Compare 1A

Source

pub fn foc1b(&mut self) -> FOC1B_W<'_, GTCCR_SPEC>

Bit 3 - Force Output Compare Match 1B

Source

pub fn com1b(&mut self) -> COM1B_W<'_, GTCCR_SPEC>

Bits 4:5 - Comparator B Output Mode

Source

pub fn pwm1b(&mut self) -> PWM1B_W<'_, GTCCR_SPEC>

Bit 6 - Pulse Width Modulator B Enable