pub struct Peripherals {Show 28 fields
pub AES: AES,
pub DMA: DMA,
pub MSC: MSC,
pub EMU: EMU,
pub RMU: RMU,
pub CMU: CMU,
pub TIMER0: TIMER0,
pub TIMER1: TIMER1,
pub TIMER2: TIMER2,
pub USART0: USART0,
pub USART1: USART1,
pub USART2: USART2,
pub LEUART0: LEUART0,
pub LEUART1: LEUART1,
pub RTC: RTC,
pub LETIMER0: LETIMER0,
pub PCNT0: PCNT0,
pub PCNT1: PCNT1,
pub PCNT2: PCNT2,
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§
§AES: AESAES
DMA: DMADMA
MSC: MSCMSC
EMU: EMUEMU
RMU: RMURMU
CMU: CMUCMU
TIMER0: TIMER0TIMER0
TIMER1: TIMER1TIMER1
TIMER2: TIMER2TIMER2
USART0: USART0USART0
USART1: USART1USART1
USART2: USART2USART2
LEUART0: LEUART0LEUART0
LEUART1: LEUART1LEUART1
RTC: RTCRTC
LETIMER0: LETIMER0LETIMER0
PCNT0: PCNT0PCNT0
PCNT1: PCNT1PCNT1
PCNT2: PCNT2PCNT2
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