pub struct Peripherals {Show 22 fields
pub DMA: DMA,
pub MSC: MSC,
pub EMU: EMU,
pub RMU: RMU,
pub CMU: CMU,
pub TIMER0: TIMER0,
pub TIMER1: TIMER1,
pub USART0: USART0,
pub USART1: USART1,
pub LEUART0: LEUART0,
pub RTC: RTC,
pub LETIMER0: LETIMER0,
pub PCNT0: PCNT0,
pub ACMP0: ACMP0,
pub ACMP1: ACMP1,
pub PRS: PRS,
pub DAC0: DAC0,
pub GPIO: GPIO,
pub VCMP: VCMP,
pub ADC0: ADC0,
pub I2C0: I2C0,
pub WDOG: WDOG,
}Expand description
All the peripherals
Fields§
§DMA: DMADMA
MSC: MSCMSC
EMU: EMUEMU
RMU: RMURMU
CMU: CMUCMU
TIMER0: TIMER0TIMER0
TIMER1: TIMER1TIMER1
USART0: USART0USART0
USART1: USART1USART1
LEUART0: LEUART0LEUART0
RTC: RTCRTC
LETIMER0: LETIMER0LETIMER0
PCNT0: PCNT0PCNT0
ACMP0: ACMP0ACMP0
ACMP1: ACMP1ACMP1
PRS: PRSPRS
DAC0: DAC0DAC0
GPIO: GPIOGPIO
VCMP: VCMPVCMP
ADC0: ADC0ADC0
I2C0: I2C0I2C0
WDOG: WDOGWDOG
Implementations§
Auto Trait Implementations§
impl Freeze for Peripherals
impl RefUnwindSafe for Peripherals
impl Send for Peripherals
impl !Sync for Peripherals
impl Unpin for Peripherals
impl UnwindSafe for Peripherals
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