Prusa3d Marlin fork
Functions
SdFatUtil.h File Reference

Useful utility functions. More...

Go to the source code of this file.

Functions

int SdFatUtil::FreeRam ()
 
void SdFatUtil::print_P (PGM_P str)
 
void SdFatUtil::println_P (PGM_P str)
 
void SdFatUtil::SerialPrint_P (PGM_P str)
 
void SdFatUtil::SerialPrintln_P (PGM_P str)
 
void SdFatUtil::set_stack_guard ()
 
bool SdFatUtil::test_stack_integrity ()
 

Function Documentation

◆ FreeRam()

int SdFatUtil::FreeRam ( )

Amount of free RAM

Returns
The number of free bytes.

◆ print_P()

void SdFatUtil::print_P ( PGM_P  str)

Print a string in flash memory.

Parameters
[in]prPrint object for output.
[in]strPointer to string stored in flash memory.

◆ println_P()

void SdFatUtil::println_P ( PGM_P  str)

Print a string in flash memory followed by a CR/LF.

Parameters
[in]prPrint object for output.
[in]strPointer to string stored in flash memory.

◆ SerialPrint_P()

void SdFatUtil::SerialPrint_P ( PGM_P  str)

Print a string in flash memory to Serial.

Parameters
[in]strPointer to string stored in flash memory.

◆ SerialPrintln_P()

void SdFatUtil::SerialPrintln_P ( PGM_P  str)

Print a string in flash memory to Serial followed by a CR/LF.

Parameters
[in]strPointer to string stored in flash memory.