[][src]Struct ht32f1xxxx::ht32f12365_66::Peripherals

pub struct Peripherals {
    pub SYSTICK: SYSTICK,
    pub FAULT_REPORTS: FAULT_REPORTS,
    pub FMC: FMC,
    pub PWRCU: PWRCU,
    pub CKCU: CKCU,
    pub RSTCU: RSTCU,
    pub GPIOA: GPIOA,
    pub GPIOB: GPIOB,
    pub GPIOC: GPIOC,
    pub GPIOD: GPIOD,
    pub GPIOE: GPIOE,
    pub AFIO: AFIO,
    pub EXTI: EXTI,
    pub ADC: ADC,
    pub CMP: CMP,
    pub MCTM0: MCTM0,
    pub MCTM1: MCTM1,
    pub GPTM0: GPTM0,
    pub GPTM1: GPTM1,
    pub BFTM0: BFTM0,
    pub BFTM1: BFTM1,
    pub RTC: RTC,
    pub WDT: WDT,
    pub I2C0: I2C0,
    pub I2C1: I2C1,
    pub SPI0: SPI0,
    pub SPI1: SPI1,
    pub USART0: USART0,
    pub USART1: USART1,
    pub UART0: UART0,
    pub UART1: UART1,
    pub SCI: SCI,
    pub USB: USB,
    pub PDMA: PDMA,
    pub EBI: EBI,
    pub I2S: I2S,
    pub CRC: CRC,
}

All the peripherals

Fields

SYSTICK: SYSTICK

SYSTICK

FAULT_REPORTS: FAULT_REPORTS

FAULT_REPORTS

FMC: FMC

FMC

PWRCU: PWRCU

PWRCU

CKCU: CKCU

CKCU

RSTCU: RSTCU

RSTCU

GPIOA: GPIOA

GPIOA

GPIOB: GPIOB

GPIOB

GPIOC: GPIOC

GPIOC

GPIOD: GPIOD

GPIOD

GPIOE: GPIOE

GPIOE

AFIO: AFIO

AFIO

EXTI: EXTI

EXTI

ADC: ADC

ADC

CMP: CMP

CMP

MCTM0: MCTM0

MCTM0

MCTM1: MCTM1

MCTM1

GPTM0: GPTM0

GPTM0

GPTM1: GPTM1

GPTM1

BFTM0: BFTM0

BFTM0

BFTM1: BFTM1

BFTM1

RTC: RTC

RTC

WDT: WDT

WDT

I2C0: I2C0

I2C0

I2C1: I2C1

I2C1

SPI0: SPI0

SPI0

SPI1: SPI1

SPI1

USART0: USART0

USART0

USART1: USART1

USART1

UART0: UART0

UART0

UART1: UART1

UART1

SCI: SCI

SCI

USB: USB

USB

PDMA: PDMA

PDMA

EBI: EBI

EBI

I2S: I2S

I2S

CRC: CRC

CRC

Implementations

impl Peripherals[src]

pub fn take() -> Option<Self>[src]

Returns all the peripherals once

pub unsafe fn steal() -> Self[src]

Unchecked version of Peripherals::take

Auto Trait Implementations

impl Send for Peripherals

impl !Sync for Peripherals

impl Unpin for Peripherals

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.