SingingCat
0
application
include
constants.h
1
#ifndef CONSTANTS_H
2
#define CONSTANTS_H 1
3
#include "main-header.h"
4
typedef
struct
consts
{
5
uint32_t magic;
// 'SCCO'
6
uint32_t crc32;
7
void
* last_return_address;
8
void
* failing_address;
9
uint32_t CFSR;
10
uint32_t SHCSR;
11
uint32_t MMFAR;
12
uint32_t HFSR;
13
uint32_t BFAR;
14
uint32_t reset_counter;
15
uint8_t end_of_checksum;
// last one to be checksummed
16
uint8_t in_user_app;
17
}
_constants
;
18
19
#define CONSTANTS_MAGIC 0x5343434F
20
struct
consts
*constants() __attribute__((no_instrument_function));
21
int
constants_init();
22
void
constants_validate();
23
void
constants_print();
24
#endif
consts
Definition:
constants.h:4
Generated on Tue May 28 2024 19:13:43 for SingingCat by
1.9.4