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 DEBUG_USB_HOST
 
#define USB_HOST_SERIAL   Serial
 
#define Notify   E_Notify
 
#define NotifyStr   E_NotifyStr
 
#define Notifyc   E_Notifyc
 

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)
 
void NotifyFailGetDevDescr (uint8_t reason)
 
void NotifyFailSetDevTblEntry (uint8_t reason)
 
void NotifyFailGetConfDescr (uint8_t reason)
 
void NotifyFailGetDevDescr (void)
 
void NotifyFailSetDevTblEntry (void)
 
void NotifyFailGetConfDescr (void)
 
void NotifyFailSetConfDescr (void)
 
void NotifyFailUnknownDevice (uint16_t VID, uint16_t PID)
 
void NotifyFail (uint8_t rcode)
 
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 DEBUG_USB_HOST

Definition at line 21 of file message.h.

#define USB_HOST_SERIAL   Serial

Definition at line 25 of file message.h.

#define Notify   E_Notify

Definition at line 40 of file message.h.

#define NotifyStr   E_NotifyStr

Definition at line 41 of file message.h.

#define Notifyc   E_Notifyc

Definition at line 42 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.

void NotifyFailGetDevDescr ( uint8_t  reason)

Definition at line 82 of file message.cpp.

void NotifyFailSetDevTblEntry ( uint8_t  reason)

Definition at line 87 of file message.cpp.

void NotifyFailGetConfDescr ( uint8_t  reason)

Definition at line 93 of file message.cpp.

void NotifyFailGetDevDescr ( void  )

Definition at line 67 of file message.cpp.

void NotifyFailSetDevTblEntry ( void  )

Definition at line 71 of file message.cpp.

void NotifyFailGetConfDescr ( void  )

Definition at line 74 of file message.cpp.

void NotifyFailSetConfDescr ( void  )

Definition at line 78 of file message.cpp.

void NotifyFailUnknownDevice ( uint16_t  VID,
uint16_t  PID 
)

Definition at line 104 of file message.cpp.

void NotifyFail ( uint8_t  rcode)

Definition at line 111 of file message.cpp.

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

Definition at line 68 of file message.h.

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

Definition at line 78 of file message.h.

Variable Documentation

int UsbDEBUGlvl

Definition at line 22 of file message.cpp.