Type Alias D11

Source
pub type D11 = PB3;
Expand description

D11

  • PWM: [atmega328p_hal::timer::Timer3Pwm]
  • MOSI (SPI bus master/slave input)
  • OC2A (Timer/Counter2 output compare match A output)
  • PCINT3 (pin change interrupt 3)

Aliased Type§

struct D11 { /* private fields */ }

Trait Implementations

Source§

impl PinOps for PB3

Source§

type Dynamic = Dynamic

Source§

fn into_dynamic(self) -> <PB3 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<Timer2Pwm> for PB3

Source§

type Duty = u8

Source§

fn enable(&mut self)

Source§

fn disable(&mut self)

Source§

fn get_duty(&self) -> <PB3 as PwmPinOps<Timer2Pwm>>::Duty

Source§

fn get_max_duty(&self) -> <PB3 as PwmPinOps<Timer2Pwm>>::Duty

Source§

fn set_duty(&mut self, duty: <PB3 as PwmPinOps<Timer2Pwm>>::Duty)