USB_Host_Shield_2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pgmstrings.h
Go to the documentation of this file.
1 #if !defined(__PGMSTRINGS_H__)
2 #define __PGMSTRINGS_H__
3 
4 #define LOBYTE(x) ((char*)(&(x)))[0]
5 #define HIBYTE(x) ((char*)(&(x)))[1]
6 #define BUFSIZE 256 //buffer size
7 
8 
9 /* Print strings in Program Memory */
10 const char Gen_Error_str[] PROGMEM = "\r\nRequest error. Error code:\t";
11 const char Dev_Header_str[] PROGMEM ="\r\nDevice descriptor: ";
12 const char Dev_Length_str[] PROGMEM ="\r\nDescriptor Length:\t";
13 const char Dev_Type_str[] PROGMEM ="\r\nDescriptor type:\t";
14 const char Dev_Version_str[] PROGMEM ="\r\nUSB version:\t\t";
15 const char Dev_Class_str[] PROGMEM ="\r\nDevice class:\t\t";
16 const char Dev_Subclass_str[] PROGMEM ="\r\nDevice Subclass:\t";
17 const char Dev_Protocol_str[] PROGMEM ="\r\nDevice Protocol:\t";
18 const char Dev_Pktsize_str[] PROGMEM ="\r\nMax.packet size:\t";
19 const char Dev_Vendor_str[] PROGMEM ="\r\nVendor ID:\t\t";
20 const char Dev_Product_str[] PROGMEM ="\r\nProduct ID:\t\t";
21 const char Dev_Revision_str[] PROGMEM ="\r\nRevision ID:\t\t";
22 const char Dev_Mfg_str[] PROGMEM ="\r\nMfg.string index:\t";
23 const char Dev_Prod_str[] PROGMEM ="\r\nProd.string index:\t";
24 const char Dev_Serial_str[] PROGMEM ="\r\nSerial number index:\t";
25 const char Dev_Nconf_str[] PROGMEM ="\r\nNumber of conf.:\t";
26 const char Conf_Trunc_str[] PROGMEM ="Total length truncated to 256 bytes";
27 const char Conf_Header_str[] PROGMEM ="\r\nConfiguration descriptor:";
28 const char Conf_Totlen_str[] PROGMEM ="\r\nTotal length:\t\t";
29 const char Conf_Nint_str[] PROGMEM ="\r\nNum.intf:\t\t";
30 const char Conf_Value_str[] PROGMEM ="\r\nConf.value:\t\t";
31 const char Conf_String_str[] PROGMEM ="\r\nConf.string:\t\t";
32 const char Conf_Attr_str[] PROGMEM ="\r\nAttr.:\t\t\t";
33 const char Conf_Pwr_str[] PROGMEM ="\r\nMax.pwr:\t\t";
34 const char Int_Header_str[] PROGMEM ="\r\n\r\nInterface descriptor:";
35 const char Int_Number_str[] PROGMEM ="\r\nIntf.number:\t\t";
36 const char Int_Alt_str[] PROGMEM ="\r\nAlt.:\t\t\t";
37 const char Int_Endpoints_str[] PROGMEM ="\r\nEndpoints:\t\t";
38 const char Int_Class_str[] PROGMEM ="\r\nIntf. Class:\t\t";
39 const char Int_Subclass_str[] PROGMEM ="\r\nIntf. Subclass:\t\t";
40 const char Int_Protocol_str[] PROGMEM ="\r\nIntf. Protocol:\t\t";
41 const char Int_String_str[] PROGMEM ="\r\nIntf.string:\t\t";
42 const char End_Header_str[] PROGMEM ="\r\n\r\nEndpoint descriptor:";
43 const char End_Address_str[] PROGMEM ="\r\nEndpoint address:\t";
44 const char End_Attr_str[] PROGMEM ="\r\nAttr.:\t\t\t";
45 const char End_Pktsize_str[] PROGMEM ="\r\nMax.pkt size:\t\t";
46 const char End_Interval_str[] PROGMEM ="\r\nPolling interval:\t";
47 const char Unk_Header_str[] PROGMEM = "\r\nUnknown descriptor:";
48 const char Unk_Length_str[] PROGMEM ="\r\nLength:\t\t";
49 const char Unk_Type_str[] PROGMEM ="\r\nType:\t\t";
50 const char Unk_Contents_str[] PROGMEM ="\r\nContents:\t";
51 
52 #endif // __PGMSTRINGS_H__