USB Host Shield 2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions | Variables
message.h File Reference
#include <inttypes.h>
#include <avr/pgmspace.h>
#include "printhex.h"
#include "hexdump.h"
Include dependency graph for message.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define USB_HOST_SERIAL   Serial
 
#define Notify(...)   ((void)0)
 
#define NotifyStr(...)   ((void)0)
 
#define Notifyc(...)   ((void)0)
 
#define NotifyFailGetDevDescr(...)   ((void)0)
 
#define NotifyFailSetDevTblEntry(...)   ((void)0)
 
#define NotifyFailGetConfDescr(...)   ((void)0)
 
#define NotifyFailGetDevDescr(...)   ((void)0)
 
#define NotifyFailSetDevTblEntry(...)   ((void)0)
 
#define NotifyFailGetConfDescr(...)   ((void)0)
 
#define NotifyFailSetConfDescr(...)   ((void)0)
 
#define NotifyFailUnknownDevice(...)   ((void)0)
 
#define NotifyFail(...)   ((void)0)
 

Functions

void E_Notify (char const *msg, int lvl)
 
void E_Notify (uint8_t b, int lvl)
 
void E_NotifyStr (char const *msg, int lvl)
 
void E_Notifyc (char c, int lvl)
 
template<class ERROR_TYPE >
void ErrorMessage (uint8_t level, char const *msg, ERROR_TYPE rcode=0)
 
template<class ERROR_TYPE >
void ErrorMessage (char const *msg, ERROR_TYPE rcode=0)
 

Variables

int UsbDEBUGlvl
 

Macro Definition Documentation

#define USB_HOST_SERIAL   Serial

Definition at line 25 of file message.h.

#define Notify (   ...)    ((void)0)

Definition at line 54 of file message.h.

#define NotifyStr (   ...)    ((void)0)

Definition at line 55 of file message.h.

#define Notifyc (   ...)    ((void)0)

Definition at line 56 of file message.h.

#define NotifyFailGetDevDescr (   ...)    ((void)0)

Definition at line 60 of file message.h.

#define NotifyFailSetDevTblEntry (   ...)    ((void)0)

Definition at line 61 of file message.h.

#define NotifyFailGetConfDescr (   ...)    ((void)0)

Definition at line 62 of file message.h.

#define NotifyFailGetDevDescr (   ...)    ((void)0)

Definition at line 60 of file message.h.

#define NotifyFailSetDevTblEntry (   ...)    ((void)0)

Definition at line 61 of file message.h.

#define NotifyFailGetConfDescr (   ...)    ((void)0)

Definition at line 62 of file message.h.

#define NotifyFailSetConfDescr (   ...)    ((void)0)

Definition at line 63 of file message.h.

#define NotifyFailUnknownDevice (   ...)    ((void)0)

Definition at line 64 of file message.h.

#define NotifyFail (   ...)    ((void)0)

Definition at line 65 of file message.h.

Function Documentation

void E_Notify ( char const *  msg,
int  lvl 
)

Definition at line 34 of file message.cpp.

void E_Notify ( uint8_t  b,
int  lvl 
)

Definition at line 50 of file message.cpp.

void E_NotifyStr ( char const *  msg,
int  lvl 
)

Definition at line 42 of file message.cpp.

void E_Notifyc ( char  c,
int  lvl 
)

Definition at line 24 of file message.cpp.

template<class ERROR_TYPE >
void ErrorMessage ( uint8_t  level,
char const *  msg,
ERROR_TYPE  rcode = 0 
)

Definition at line 69 of file message.h.

template<class ERROR_TYPE >
void ErrorMessage ( char const *  msg,
ERROR_TYPE  rcode = 0 
)

Definition at line 79 of file message.h.

Variable Documentation

int UsbDEBUGlvl

Definition at line 22 of file message.cpp.