Type Alias D6

Source
pub type D6 = PD6;
Expand description

D6

  • PWM: [atmega328p_hal::timer::Timer3Pwm]
  • AIN0 (analog comparator positive input)
  • OC0A (Timer/Counter0 output compare match A output)
  • PCINT22 (pin change interrupt 22)

Aliased Type§

struct D6 { /* private fields */ }

Trait Implementations

Source§

impl PinOps for PD6

Source§

type Dynamic = Dynamic

Source§

fn into_dynamic(self) -> <PD6 as PinOps>::Dynamic

Source§

unsafe fn out_set(&mut self)

Source§

unsafe fn out_clear(&mut self)

Source§

unsafe fn out_toggle(&mut self)

Source§

unsafe fn out_get(&self) -> bool

Source§

unsafe fn in_get(&self) -> bool

Source§

unsafe fn make_output(&mut self)

Source§

unsafe fn make_input(&mut self, pull_up: bool)

Source§

impl PwmPinOps<Timer0Pwm> for PD6

Source§

type Duty = u8

Source§

fn enable(&mut self)

Source§

fn disable(&mut self)

Source§

fn get_duty(&self) -> <PD6 as PwmPinOps<Timer0Pwm>>::Duty

Source§

fn get_max_duty(&self) -> <PD6 as PwmPinOps<Timer0Pwm>>::Duty

Source§

fn set_duty(&mut self, duty: <PD6 as PwmPinOps<Timer0Pwm>>::Duty)