Initialize other pheripherals
This commit is contained in:
parent
ec4df11c61
commit
ffec0e2b57
69 changed files with 25802 additions and 620 deletions
11
lib/fault.h
Normal file
11
lib/fault.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#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 */
|
Loading…
Add table
Add a link
Reference in a new issue