Soldered SD Card Arduino Library 1.0.0
Easily read and write files to and form the SD card breakout! A fork of the original SDFat library by Bill Greiman.
Loading...
Searching...
No Matches
FreeStack.h File Reference

FreeStack() function. More...

Go to the source code of this file.

Functions

int FreeStack ()
 
char * sbrk (int incr)
 
void FillStack ()
 
int UnusedStack ()
 

Variables

char * __brkval
 
char __bss_end
 
uint8_t _ebss
 

Detailed Description

FreeStack() function.

Function Documentation

◆ FillStack()

void FillStack ( )

Fill stack with 0x55 pattern

◆ FreeStack()

int FreeStack ( )
inline

Amount of free stack space.

Returns
The number of free bytes.

◆ sbrk()

char * sbrk ( int  incr)

◆ UnusedStack()

int UnusedStack ( )

Determine the amount of unused stack.

FillStack() must be called to fill the stack with a 0x55 pattern.

UnusedStack() may fail if malloc() or new is use.

Returns
number of bytes with 0x55 pattern.

Variable Documentation

◆ __brkval

char* __brkval
extern

boundary between stack and heap.

◆ __bss_end

char __bss_end
extern

End of bss section.

◆ _ebss

uint8_t _ebss
extern