| | |
Keil board MCBSTR9
![]() |
•
•
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 bitmap business c++ c/c++ char class classes code coding commentinghelp compile console conversion count decide delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez graph guess gui homeworkhelp homeworkhelper iamthwee ifpug ifstream incrementoperators infinite input int integer java lib linkedlist linker loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem proficiency program programming project python random read recursion reference rpg string strings temperature template templates test text text-file tree url variable vector video win32 windows winsock word wordfrequency wxwidgets





