Struct ht32f523x2::Peripherals

source ·
pub struct Peripherals {
Show 37 fields 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 AFIO: AFIO, pub EXTI: EXTI, pub ADC: ADC, pub CMP: CMP, pub MCTM0: MCTM0, pub GPTM0: GPTM0, pub GPTM1: GPTM1, pub SCTM0: SCTM0, pub SCTM1: SCTM1, 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,
}
Expand description

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

AFIO: AFIO

AFIO

EXTI: EXTI

EXTI

ADC: ADC

ADC

CMP: CMP

CMP

MCTM0: MCTM0

MCTM0

GPTM0: GPTM0

GPTM0

GPTM1: GPTM1

GPTM1

SCTM0: SCTM0

SCTM0

SCTM1: SCTM1

SCTM1

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

Returns all the peripherals once

Unchecked version of Peripherals::take

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.