Trait avr_oxide::hal::generic::port::PinToPort

source ·
pub trait PinToPort {
    // Required method
    fn get_port(&self) -> &'static mut dyn AtmelPortControl;
}
Expand description

Trait for getting a reference to the Port associated with a pin.

This will be implemented by the device-specific implementation to map PinInternalIds to their corresponding ports.

Required Methods§

source

fn get_port(&self) -> &'static mut dyn AtmelPortControl

Implementors§