Struct w806_pac::Peripherals
source · [−]pub struct Peripherals {Show 20 fields
pub DMA: DMA,
pub PMU: PMU,
pub RCC: RCC,
pub I2C: I2C,
pub SPI: SPI,
pub UART0: UART0,
pub UART1: UART1,
pub UART2: UART2,
pub UART3: UART3,
pub UART4: UART4,
pub UART5: UART5,
pub TIMER: TIMER,
pub WDOG: WDOG,
pub PWM: PWM,
pub FLASH: FLASH,
pub RSA: RSA,
pub ADC: ADC,
pub GPIOA: GPIOA,
pub GPIOB: GPIOB,
pub TOUCH: TOUCH,
}Expand description
All the peripherals
Fields
DMA: DMADMA
PMU: PMUPMU
RCC: RCCRCC
I2C: I2CI2C
SPI: SPISPI
UART0: UART0UART0
UART1: UART1UART1
UART2: UART2UART2
UART3: UART3UART3
UART4: UART4UART4
UART5: UART5UART5
TIMER: TIMERTIMER
WDOG: WDOGWDOG
PWM: PWMPWM
FLASH: FLASHFLASH
RSA: RSARSA
ADC: ADCADC
GPIOA: GPIOAGPIOA
GPIOB: GPIOBGPIOB
TOUCH: TOUCHTOUCH
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Peripherals
impl Send for Peripherals
impl !Sync for Peripherals
impl Unpin for Peripherals
impl UnwindSafe for Peripherals
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more