pub struct Apollo3DefaultPeripherals {Show 13 fields
pub stimer: STimer<'static>,
pub uart0: Uart<'static>,
pub uart1: Uart<'static>,
pub gpio_port: Port<'static>,
pub iom0: Iom<'static>,
pub iom1: Iom<'static>,
pub iom2: Iom<'static>,
pub iom3: Iom<'static>,
pub iom4: Iom<'static>,
pub iom5: Iom<'static>,
pub ios: Ios<'static>,
pub ble: Ble<'static>,
pub flash_ctrl: FlashCtrl<'static>,
}
Expand description
This struct, when initialized, instantiates all peripheral drivers for the apollo3.
If a board wishes to use only a subset of these peripherals, this should not be used or imported, and a modified version should be constructed manually in main.rs.
Fields§
§stimer: STimer<'static>
§uart0: Uart<'static>
§uart1: Uart<'static>
§gpio_port: Port<'static>
§iom0: Iom<'static>
§iom1: Iom<'static>
§iom2: Iom<'static>
§iom3: Iom<'static>
§iom4: Iom<'static>
§iom5: Iom<'static>
§ios: Ios<'static>
§ble: Ble<'static>
§flash_ctrl: FlashCtrl<'static>
Implementations§
Trait Implementations§
Source§impl InterruptService for Apollo3DefaultPeripherals
impl InterruptService for Apollo3DefaultPeripherals
Source§unsafe fn service_interrupt(&self, interrupt: u32) -> bool
unsafe fn service_interrupt(&self, interrupt: u32) -> bool
Service an interrupt, if supported by this chip. If this interrupt
number is not supported, return false.
Auto Trait Implementations§
impl !Freeze for Apollo3DefaultPeripherals
impl !RefUnwindSafe for Apollo3DefaultPeripherals
impl !Send for Apollo3DefaultPeripherals
impl !Sync for Apollo3DefaultPeripherals
impl Unpin for Apollo3DefaultPeripherals
impl !UnwindSafe for Apollo3DefaultPeripherals
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