Bar Logo 4kW dsPIC33C PSFB DC-DC DA (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
7typedef 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)
12
13/* OS_RESETTHINGY is not defined and hence a violation is reported */
14/* LDRA_EXCLUDE 337 S */
15#if OS_RESETTHINGY == 1
16void OS_Reset_Init(void);
17OS_RESET_RESETCAUSEBITS_t OS_Reset_GetResetCause(void);
18#endif /* OS_RESETTHINGY */
19
20#endif /* OS_RESET_H */