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.