[][src]Crate msp430fr2x5x_hal

Implementation of embedded_hal traits for MSP430FR2x5x family of microcontrollers. Here are the datasheet and User's guide for reference.

As of this writing, the only supported board is the MSP430FR2355.

Usage

Requires msp430-elf-gcc installed and in $PATH to build

When using this crate as a dependency, make sure you include the appropriate memory.x file for your microcontroller.

Examples

The examples/ directory contains binary code examples using the HAL abstractions. To flash the examples, make sure you have mspdebug with tilib support installed and in $PATH. Invoke xargo run --example whatever with the board plugged and the scripts should do the trick, assuming your host is Linux and you are connected via Launchpad.

Re-exports

pub use msp430fr2355 as pac;

Modules

batch_gpio

GPIO batch configuration.

capture

Capture ports

clock

Clock system for configuration of MCLK, SMCLK, and ACLK.

fram

FRAM controller

gpio

GPIO abstractions for configuring and controlling individual GPIO pins.

pmm

Power management module

prelude

Prelude

pwm

PWM ports

rtc

Real time counter

serial

Serial UART

timer

Countdown timers

watchdog

Watchdog timer, configurable as either a traditional watchdog or a 16-bit timer.