A collection of common MSP430 peripheral drivers to promote code reuse.
This library assumes you have access to msp430.h in your project (e.g. a Code Composer Studio project) and relies on C++14 features.
Copy the hal/ folder into your project. To use the files simply do #include "hal/gpio.hpp", for example.
Any files that include these HAL files should have .cpp and .hpp extensions (rather than .c and .h), but should otherwise require no technical changes.
Examples and documentation on how to use the various drivers can be found inside the examples/ folder.
The example programs assume that the library is placed in a subfolder called hal/.