pub struct Esp32C3DefaultPeripherals<'a> {
pub uart0: Uart<'a>,
pub timg0: TimG<'a>,
pub timg1: TimG<'a>,
pub gpio: Port<'a>,
pub rtc_cntl: RtcCntl,
pub sysreg: SysReg,
pub rng: Rng<'a>,
}
Fields§
§uart0: Uart<'a>
§timg0: TimG<'a>
§timg1: TimG<'a>
§gpio: Port<'a>
§rtc_cntl: RtcCntl
§sysreg: SysReg
§rng: Rng<'a>
Implementations§
Trait Implementations§
Source§impl InterruptService for Esp32C3DefaultPeripherals<'_>
impl InterruptService for Esp32C3DefaultPeripherals<'_>
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 Esp32C3DefaultPeripherals<'a>
impl<'a> !RefUnwindSafe for Esp32C3DefaultPeripherals<'a>
impl<'a> !Send for Esp32C3DefaultPeripherals<'a>
impl<'a> !Sync for Esp32C3DefaultPeripherals<'a>
impl<'a> Unpin for Esp32C3DefaultPeripherals<'a>
impl<'a> !UnwindSafe for Esp32C3DefaultPeripherals<'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