|  | Dual Active Bridge Development Board (Part-No. ) |
Content |  |  |  |  |  |

Loading...
Searching...
No Matches
os_reset.h
1
2
3#ifndef OS_RESET_H
4#define OS_RESET_H
5#include "stdbool.h"
6
7 typedef struct
8{
9 bool reset_by_watchdog :1; // Bit 0: 1, if the last reset was caused by the watchdog
10 unsigned : 5; // Bit <3:7> (reserved)
11} OS_RESET_RESETCAUSEBITS_t;
12
13/* OS_RESETTHINGY is not defined and hence a violation is reported */
14/* LDRA_EXCLUDE 337 S */
15#if OS_RESETTHINGY == 1 //ToDo: check with Cormac: not declared as option in the defines
16void OS_Reset_Init(void);
17 OS_RESET_RESETCAUSEBITS_t OS_Reset_GetResetCause(void);
18#endif /* OS_RESETTHINGY */
19
20#endif /* OS_RESET_H */
OS_RESET_RESETCAUSEBITS_t
Definition os_reset.h:8
OS_RESET_RESETCAUSEBITS_t::reset_by_watchdog
bool reset_by_watchdog
Definition os_reset.h:9