pub trait Trait {
// Required methods
fn port(&self) -> u8;
fn id(&self) -> u8;
fn mask(&self) -> u32;
}Expand description
Implemented by types that identify pins
This trait is an internal implementation detail and should neither be implemented nor used outside of LPC8xx HAL. Any changes to this trait won’t be considered breaking changes.
Please refer to Pin for the public API used to control pins.