sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
General_Stuff.h File Reference

Go to the source code of this file.

Macros

#define NUMITEMS(arg)   ((unsigned int) (sizeof (arg) / sizeof (arg [0])))
 
#define xstr(s)   str(s)
 
#define str(s)   #s
 

Functions

void showHex (const byte b, const boolean newline=false, const boolean show0x=true)
 
void showYesNo (const boolean b, const boolean newline=false)
 
void commitPage (unsigned long addr, bool showMessage=false)
 

Variables

unsigned long pagesize
 
unsigned long pagemask
 
unsigned long oldPage
 
unsigned int errors
 
const unsigned long NO_PAGE = 0xFFFFFFFF
 
unsigned int progressBarCount
 
int foundSig = -1
 
byte lastAddressMSB = 0
 
signatureType currentSignature
 

Macro Definition Documentation

#define NUMITEMS (   arg)    ((unsigned int) (sizeof (arg) / sizeof (arg [0])))
#define str (   s)    #s
#define xstr (   s)    str(s)

Function Documentation

void commitPage ( unsigned long  addr,
bool  showMessage = false 
)
void showHex ( const byte  b,
const boolean  newline = false,
const boolean  show0x = true 
)
void showYesNo ( const boolean  b,
const boolean  newline = false 
)

Variable Documentation

signatureType currentSignature
unsigned int errors
int foundSig = -1
byte lastAddressMSB = 0
const unsigned long NO_PAGE = 0xFFFFFFFF
unsigned long oldPage
unsigned long pagemask
unsigned long pagesize
unsigned int progressBarCount