Filip Jagodzinski
57420fc2f5
HAL: ResetReason: Add the get_capabilities function
...
Add the hal_reset_reason_get_capabilities() to ResetReason HAL API.
Add a default, weak implementation, that every target can override.
2020-01-03 12:11:44 +01:00
Amanda Butler
bd5de8d769
Edit reset_reason_api.h
...
Edit file, mostly for correct grammar.
2019-06-27 09:23:45 +01:00
Filip Jagodzinski
f084bd5a9d
HAL: ResetReason: Update the header file
...
Add defined & undefined behavior.
Minor doxygen fixes.
2019-06-26 09:58:18 +01:00
Martin Kojtal
e40a76575f
watchdog: fix copyright
2019-06-26 09:43:21 +01:00
Donatien Garnier
91ef36809f
Apply new astyle config style
2019-05-24 12:23:36 +02:00
Bartek Szatkowski
f3c6c569d1
Document reset reason enum
2019-05-24 11:35:31 +02:00
Bartek Szatkowski
808ccaf12e
Add definition of reset reason and watchdog doxy groups
2019-05-24 11:35:25 +02:00
Steven Cartmell
3c18dcb882
Amend reset reason driver API
...
- Change API to match C++ API throughout drivers
- Amend HAL API documentation to be more specific
2019-05-24 11:20:26 +02:00
Steven Cartmell
6b3d790fc1
Add function to fetch platform specific reset reason register values
2019-05-24 11:20:24 +02:00
Steven Cartmell
41878bc3de
Add Reset Reason platform API
2019-05-24 11:20:23 +02:00
Steven Cartmell
8a97101988
Fix watchdog API issues
...
- Fix typo in module comment
- Redefine the default system behaviour in sleep mode
- Guard K64F enableWait flag
- Remove bit shifts from reset reason enum
2019-05-24 11:20:22 +02:00
Steven Cartmell
7fe3a387e3
Add Watchdog HAL API specification headers
...
HAL watchdog functionality will be implemented as two separate APIs. The reset
reason API allows a user to detect the last system reset reason to identify if
a Watchdog was triggered. The Watchdog API allows configuring and updating
Watchdog timers on all boards. This commit defines the headers.
2019-05-24 11:20:20 +02:00