diff options
| author | Markus Mittendrein <git@maxmitti.at> | 2025-02-25 23:37:17 +0100 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.at> | 2025-02-25 23:39:45 +0100 |
| commit | 1b3d654c764b25cdd979acca0c956564cfe8358d (patch) | |
| tree | 25b08bca9fb82d4bc7b293d273dc095207e9d0d8 /device/MSP432P401R/device.cpp | |
| download | msp432_test-1b3d654c764b25cdd979acca0c956564cfe8358d.tar.gz msp432_test-1b3d654c764b25cdd979acca0c956564cfe8358d.zip | |
Diffstat (limited to 'device/MSP432P401R/device.cpp')
| -rw-r--r-- | device/MSP432P401R/device.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/device/MSP432P401R/device.cpp b/device/MSP432P401R/device.cpp new file mode 100644 index 0000000..d1753d6 --- /dev/null +++ b/device/MSP432P401R/device.cpp @@ -0,0 +1,8 @@ +#include <device.hpp> + +#include <ti/devices/msp432p4xx/inc/msp432p401r.h> + +void hardwareInit() +{ + WDT_A->CTL = WDT_A_CTL_PW | WDT_A_CTL_HOLD; +} |
