Struct lpc55_hal::Peripherals[][src]

pub struct Peripherals {
Show fields pub adc: Adc, pub anactrl: Anactrl, pub casper: Casper, pub ctimer: Ctimers, pub dma: Dma, pub flash: Flash, pub flexcomm: Flexcomm, pub gint: Gint, pub gpio: Gpio, pub hashcrypt: Hashcrypt, pub inputmux: InputMux, pub iocon: Iocon, pub pint: Pint, pub pfr: Pfr, pub pmc: Pmc, pub prince: Prince, pub rng: Rng, pub rtc: Rtc, pub syscon: Syscon, pub usbfs: Usbfs, pub usbhs: Usbhs, pub utick: Utick, pub CRC_ENGINE: CRC_ENGINE, pub FLASH_CMPA: FLASH_CMPA, pub FLASH_CFPA0: FLASH_CFPA0, pub SCT0: SCT0, pub SAU: SAU, pub AHB_SECURE_CTRL: AHB_SECURE_CTRL, pub CPUID: CPUID, pub DCB: DCB, pub DWT: DWT, pub MPU: MPU, pub NVIC: NVIC, pub SCB: SCB, pub SYST: SYST,
}
Expand description

This is the entry point to the HAL API.

Before you can do anything else, you need to get an instance of this struct, via hal::new or hal::steal.

Fields

adc: Adc

Analog-to-Digital Converter (ADC)

anactrl: Anactrl

Analog control

casper: Casper

Cryptographic Accelerator and Signal Processing Engine with RAM sharing

ctimer: Ctimers

Standard counter/timer (CTIMER)

dma: Dma

Direct memory access

flash: Flash

Flash

flexcomm: Flexcomm

Flexcomm Interface Serial Communication

gint: Gint

Group GPIO Input Interrupt

gpio: Gpio

General-purpose I/O (GPIO)

hashcrypt: Hashcrypt

SHA and AES Engine

inputmux: InputMux

Input multiplexer

iocon: Iocon

I/O configuration

pint: Pint

Pin Interrupt and Pattern Match

pfr: Pfr

Protect flash region controller

pmc: Pmc

Power configuration

prince: Princerng: Rng

Random number generator

rtc: Rtc

Real time clock

syscon: Syscon

System configuration

usbfs: Usbfs

USB full-speed device or, not implemented, host

usbhs: Usbhs

USB high-speed device or, not implemented, host

utick: Utick

Micro-Tick Timer

CRC_ENGINE: CRC_ENGINE

CRC engine - not HAL-ified.

FLASH_CMPA: FLASH_CMPAFLASH_CFPA0: FLASH_CFPA0SCT0: SCT0

Stateful counter/timer (SCTIMER) - not HAL-ified.

SAU: SAU

SAU - not HAL-ified.

AHB_SECURE_CTRL: AHB_SECURE_CTRL

AHB_SECURE_CTRL - not HAL-ified.

CPUID: CPUID

CPUID - core peripheral

DCB: DCB

Debug Control Block (DCB) - core peripheral

DWT: DWT

Data Watchpoint and Trace unit (DWT) - core peripheral

MPU: MPU

Memory Protection Unit (MPU) - core peripheral

NVIC: NVIC

Nested Vector Interrupt Controller (NVIC) - core peripheral

SCB: SCB

System Control Block (SCB) - core peripheral

SYST: SYST

SysTick: System Timer - core peripheral

Implementations

Trait Implementations

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

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.