f407ve_hs_uart/Lib/fault.h
2019-11-09 09:25:25 +01:00

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 */