[s1mp3-dev] who can tell me how to set reg about lcd

Gary Tait taitg at hurontel.on.ca
Tue Jun 6 10:17:49 CDT 2006


robert wrote:
>  
> i see some define below about 2051,but i dont know why this set,who can 
> help me ,thank.
>  
> #define RES_GIO_EN_REGISTER     0x7d        //GIOC2

Sets bit 3 low, on that GPIO port, to put the LCD in command register mode

> #define RES_GIO_DATA_REGISTER   0x7f

Sets bit 3 high, on that GPIO port, to put the LCD in data register mode

> #define RES_SET_BIT             0x04

Command to set bit (Guess)

> #define RES_CLEAR_BIT           0xfb
>  
>  
Command to clear bit (guess)



More information about the s1mp3-dev mailing list