HAL for the ATSAM4 series of microcontrollers
This is an implementation of the
embedded-hal traits for the ATSAM4 microcontrollers
This crate requires
arm-none-eabi-gcc to be installed and available in
$PATH to build.
To build applications (binary crates) using this crate follow the cortex-m-quickstart instructions and add this crate as a dependency in step number 5 and make sure you enable the "rt" Cargo feature of this crate.
General Purpose Input / Output
If you can read and write the output state, a pin is toggleable by software.
Single digital input pin
Single digital push-pull output pin
Push-pull output pin that can read its output state
Output pin that can be toggled