11 lines
No EOL
264 B
C
11 lines
No EOL
264 B
C
#ifndef __FAULT_H
|
|
#define __FAULT_H
|
|
|
|
#define FAULT_REASON_HARD_FAULT 1
|
|
#define FAULT_REASON_MEMMANAGE_FAULT 2
|
|
#define FAULT_REASON_BUS_FAULT 3
|
|
#define FAULT_REASON_USAGE_FAULT 4
|
|
|
|
void app_fault_callback(uint32_t reason);
|
|
|
|
#endif /* __FAULT_H */ |