Type Alias D10

Source
pub type D10 = PB2;
Expand description

D10

  • PWM: [atmega328p_hal::timer::Timer3Pwm]
  • SS (SPI bus master slave select)
  • OC1B (Timer/Counter1 output compare match B output)
  • PCINT2 (pin change interrupt 2)

Aliased Type§

struct D10 { /* private fields */ }

Trait Implementations

Source§

impl PinOps for PB2

Source§

type Dynamic = Dynamic

Source§

fn into_dynamic(self) -> <PB2 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<Timer1Pwm> for PB2

Source§

type Duty = u8

Source§

fn enable(&mut self)

Source§

fn disable(&mut self)

Source§

fn get_duty(&self) -> <PB2 as PwmPinOps<Timer1Pwm>>::Duty

Source§

fn get_max_duty(&self) -> <PB2 as PwmPinOps<Timer1Pwm>>::Duty

Source§

fn set_duty(&mut self, duty: <PB2 as PwmPinOps<Timer1Pwm>>::Duty)