d246a71b91
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1784 bbd45198-f89e-11dd-88c7-29a3b14d5316
14 lines
246 B
C
14 lines
246 B
C
#include <rtthread.h>
|
|
|
|
#include "LPC177x_8x.h"
|
|
#include "lpc177x_8x_pinsel.h"
|
|
|
|
/* LCD BL P5_4 */
|
|
void rt_hw_lcd_init(void)
|
|
{
|
|
PINSEL_ConfigPin(5, 4, 0);
|
|
LPC_GPIO5->DIR |= 1<<4;
|
|
LPC_GPIO5->CLR = 1<<4;
|
|
LPC_GPIO5->SET = 1<<4;
|
|
}
|