Struct stm32f412g::gpio::GpioPorts
source · pub struct GpioPorts<'a> {
pub pins: [[Option<Pin<'a>>; 16]; 8],
/* private fields */
}
Fields§
§pins: [[Option<Pin<'a>>; 16]; 8]
Implementations§
source§impl<'a> GpioPorts<'a>
impl<'a> GpioPorts<'a>
pub fn new(clocks: &'a dyn Stm32f4Clocks, exti: &'a Exti<'a>) -> GpioPorts<'a>
pub fn setup_circular_deps(&'a self)
Auto Trait Implementations§
impl<'a> !Freeze for GpioPorts<'a>
impl<'a> !RefUnwindSafe for GpioPorts<'a>
impl<'a> !Send for GpioPorts<'a>
impl<'a> !Sync for GpioPorts<'a>
impl<'a> Unpin for GpioPorts<'a>
impl<'a> !UnwindSafe for GpioPorts<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more