Struct nucleo_h7xx::board::Board
source · pub struct Board;
Implementations§
source§impl Board
impl Board
pub fn take() -> Option<Self>
pub unsafe fn steal() -> Self
pub fn freeze_clocks(&self, pwr: Pwr, rcc: Rcc, syscfg: &SYSCFG) -> Ccdr
pub fn freeze_clocks_with( &self, pwr: Pwr, rcc: Rcc, syscfg: &SYSCFG, configure: fn(pwrcfg: PowerConfiguration, rcc: Rcc, syscfg: &SYSCFG) -> Ccdr, ) -> Ccdr
sourcepub fn split_gpios(
&self,
gpioa: Parts,
gpiob: Parts,
gpioc: Parts,
gpiod: Parts,
gpioe: Parts,
gpiof: Parts,
gpiog: Parts,
) -> Pins
pub fn split_gpios( &self, gpioa: Parts, gpiob: Parts, gpioc: Parts, gpiod: Parts, gpioe: Parts, gpiof: Parts, gpiog: Parts, ) -> Pins
Takes the board’s GPIO peripherals and split them into ZST’s representing the individual GPIO pins used by the board.
pub fn split_led_user(&self, pins: Pins) -> UserLeds
Auto Trait Implementations§
impl Freeze for Board
impl RefUnwindSafe for Board
impl Send for Board
impl Sync for Board
impl Unpin for Board
impl UnwindSafe for Board
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