LevelMeter-Display  2.0
An ultrasonic Level Meter for Stormwater Cisterns
stackchk.h
Go to the documentation of this file.
1 /*
2  * stackchk.h
3  *
4  * Created: 15.08.2015 19:26:05
5  * Author: Robert Loos
6  */
7 
8 
9 #ifndef STACKCHK_H_
10 #define STACKCHK_H_
11 
12 #define STACKCHKFILLBYTE (0x5A)
13 
14 typedef struct {
15  uint16_t stackmin;
16  uint16_t heapmax;
18 extern StackchkStruct stackchk;
19 
20 extern void Stackchk(void);
21 
22 #endif /* STACKCHK_H_ */
StackchkStruct stackchk
Stores the results of Stackchk(). Always call Stackchk() before using this values!
Definition: stackchk.c:39
Definition: stackchk.h:14
void Stackchk(void)
Fills the stackchk Struct.
Definition: stackchk.c:75
uint16_t stackmin
Keeps track of the lowest Stack Address being used.
Definition: stackchk.h:15
uint16_t heapmax
Heep grows from __bss_end upwards and reduces stack reserve.
Definition: stackchk.h:16