Module lpc55_hal::peripherals[][src]

Expand description

HAL wrappers around raw PAC peripherals.

The APIs presented only implement basic functionality. For more complex things, consult hal::drivers.

In an RTIC setup, RTIC owns Peripherals and CorePeripherals, so here use

use lpc55_hal as hal;

let syscon = hal::Syscon::from(device::SYSCON);

In a non-RTIC setup, to use a fully HAL-driven approach:

use lpc55_hal as hal;

let hal = hal::new()
let syscon = hal.syscon;

Modules

adc
anactrl

API for analog control (ANACTRL) - always on

casper
ctimer
dma
flash
flexcomm
gint
gpio
hashcrypt
inputmux
iocon
pfr
pint
pmc

API for power management (PMC) - always on

prince
puf
rng
rtc
syscon

API for system configuration (SYSCON) - always on

usbfs
usbhs
utick

API for the micro-tick timer (UTICK)