USB Host Shield 2.0
Macros | Functions | Variables
message.h File Reference

Go to the source code of this file.

Macros

#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

◆ Notify

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

Definition at line 51 of file message.h.

◆ NotifyStr

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

Definition at line 52 of file message.h.

◆ Notifyc

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

Definition at line 53 of file message.h.

◆ NotifyFailGetDevDescr [1/2]

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

Definition at line 57 of file message.h.

◆ NotifyFailSetDevTblEntry [1/2]

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

Definition at line 58 of file message.h.

◆ NotifyFailGetConfDescr [1/2]

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

Definition at line 59 of file message.h.

◆ NotifyFailGetDevDescr [2/2]

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

Definition at line 57 of file message.h.

◆ NotifyFailSetDevTblEntry [2/2]

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

Definition at line 58 of file message.h.

◆ NotifyFailGetConfDescr [2/2]

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

Definition at line 59 of file message.h.

◆ NotifyFailSetConfDescr

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

Definition at line 60 of file message.h.

◆ NotifyFailUnknownDevice

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

Definition at line 61 of file message.h.

◆ NotifyFail

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

Definition at line 62 of file message.h.

Function Documentation

◆ E_Notify() [1/2]

void E_Notify ( char const *  msg,
int  lvl 
)

Definition at line 41 of file message.cpp.

◆ E_Notify() [2/2]

void E_Notify ( uint8_t  b,
int  lvl 
)

Definition at line 57 of file message.cpp.

◆ E_NotifyStr()

void E_NotifyStr ( char const *  msg,
int  lvl 
)

Definition at line 49 of file message.cpp.

◆ E_Notifyc()

void E_Notifyc ( char  c,
int  lvl 
)

Definition at line 31 of file message.cpp.

◆ ErrorMessage() [1/2]

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

Definition at line 66 of file message.h.

◆ ErrorMessage() [2/2]

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

Definition at line 76 of file message.h.

Variable Documentation

◆ UsbDEBUGlvl

int UsbDEBUGlvl

Definition at line 29 of file message.cpp.