Skip to main content

Crate msp430fr5969_hal

Crate msp430fr5969_hal 

Source

Re-exports§

pub use embedded_hal;
pub use embedded_hal_nb;
pub use embedded_io;
pub use embedded_storage;
pub use pac;

Modules§

adc
ADC12_B — the 12-bit successive-approximation analog-to-digital converter.
aes
AES256 hardware accelerator (AES-128/-192/-256 encrypt/decrypt).
capture
Timer_A input capture — hardware timestamps of signal edges.
clocks
Clock System (CS) configuration and the resulting clock frequencies.
comp_e
Comp_E — the analog comparator.
crc
CRC16 hardware module (CRC-CCITT, polynomial 0x1021).
delay
Blocking delays via a software cycle-counting busy-wait.
dma
DMA controller driver: three channels moving bytes/words without the CPU.
fram
Non-volatile storage in the MSP430FR5969’s FRAM.
gpio
i2c
eUSCI_B0 I2C driver: master (embedded_hal::i2c::I2c) and slave.
interrupt
Interrupt vector names for use with msp430-rt’s #[interrupt] attribute.
mpu
FRAM Memory Protection Unit — hardware read/write/execute fences inside the FRAM, because on this part “flash-like” memory is writable by any stray MOV.
power
Low-power mode (LPMx) entry.
pwm
Timer_B0 and Timer_A pulse-width modulation (embedded_hal::pwm::SetDutyCycle).
ref_a
REF_A — the shared voltage-reference module.
rtc
RTC_B real-time clock — a battery-/supercap-backed calendar in hardware.
rx_queue
serial
UART (asynchronous serial) driver for the MSP430FR5969 eUSCI_A modules.
spi
SPI master driver for the eUSCI modules (embedded_hal::spi::SpiBus).
sys
SYS-module services — chip-level odds and ends, starting with why did we just reboot?
timer
Free-running counter for measuring elapsed time (durations / intervals).
tlv
TLV — the factory device-descriptor table, and the ADC/REF calibration constants stored in it.
watchdog
WDT_A watchdog timer — the countdown that resets the chip unless software keeps proving it is alive.

Functions§

init
Boot front door: optionally stop the watchdog, then take the PAC peripherals — in that order, guaranteed by construction.