| | |
Keil board MCBSTR9
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Mar 2008
Posts: 30
Reputation:
Solved Threads: 0
erm... anyone know what is this declaration mean?
C++ Syntax (Toggle Plain Text)
#define LCD_DATA GPIO8->DR[0xFF<<2] /* Data bits D0 = P8.0 .. DB7 = P8.7 */ #define LCD_E GPIO9->DR[0x01<<2] /* Enable control */ #define LCD_RW GPIO9->DR[0x02<<2] /* Read/Write control */ #define LCD_RS GPIO9->DR[0x04<<2] /* Data/Instruction control */ #define LCD_CTRL GPIO9->DR[0x07<<2] /* All 3 control lines (E/RW/RS) */ #define E_ENA 0x01 #define E_DIS 0x00 #define RW_READ 0x02 #define RW_WRITE 0x00 #define RS_DATA 0x04 #define RS_INST 0x00
![]() |
Other Threads in the C++ Forum
- Previous Thread: Q about Files, EOF, reading marker... help
- Next Thread: convert char** (c string array) to std::string[]
| Thread Tools | Search this Thread |
api array based binary c++ c/c++ calculator char char* class classes code coding compile console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock wordfrequency wxwidgets





