pub struct E310xDefaultPeripherals<'a> {
pub uart0: Uart<'a>,
pub uart1: Uart<'a>,
pub gpio_port: Port<'a>,
pub prci: Prci,
pub pwm0: Pwm,
pub pwm1: Pwm,
pub pwm2: Pwm,
pub rtc: Rtc,
pub watchdog: Watchdog,
}
Fields§
§uart0: Uart<'a>
§uart1: Uart<'a>
§gpio_port: Port<'a>
§prci: Prci
§pwm0: Pwm
§pwm1: Pwm
§pwm2: Pwm
§rtc: Rtc
§watchdog: Watchdog
Implementations§
Trait Implementations§
Source§impl InterruptService for E310xDefaultPeripherals<'_>
impl InterruptService for E310xDefaultPeripherals<'_>
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<'a> !Freeze for E310xDefaultPeripherals<'a>
impl<'a> !RefUnwindSafe for E310xDefaultPeripherals<'a>
impl<'a> !Send for E310xDefaultPeripherals<'a>
impl<'a> !Sync for E310xDefaultPeripherals<'a>
impl<'a> Unpin for E310xDefaultPeripherals<'a>
impl<'a> !UnwindSafe for E310xDefaultPeripherals<'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