From 6fbdfa8660b49da4cfdf5e39cc291f613f8c9c5f Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 25 Apr 2012 02:10:42 +0000 Subject: Turn PIC32MXMMB backlight off git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4653 42af7a65-404d-4744-a932-0658087f49c3 --- .../configs/pic32mx7mmb/src/pic32mx7mmb_internal.h | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'nuttx/configs/pic32mx7mmb/src/pic32mx7mmb_internal.h') diff --git a/nuttx/configs/pic32mx7mmb/src/pic32mx7mmb_internal.h b/nuttx/configs/pic32mx7mmb/src/pic32mx7mmb_internal.h index dceb3c070..db523b67f 100644 --- a/nuttx/configs/pic32mx7mmb/src/pic32mx7mmb_internal.h +++ b/nuttx/configs/pic32mx7mmb/src/pic32mx7mmb_internal.h @@ -55,8 +55,12 @@ * RA0 LED0 Pulled-up, low value illuminates * RA1 LED1 Pulled-up, low value illuminates * RD9 LED2 Pulled-up, low value illuminates - * --- LED4 Not controllable by software, indicates MMC/SD activity + * RA9 LED4 Not available for general use*, indicates MMC/SD activity * --- LED5 Not controllable by software, indicates power-on + * + * * RA9 is also the SD chip select. It will illuminate whenever the SD card + * is selected. If SD is not used, then LED4 could also be used as a user- + * controlled LED. */ /* The Mikroelektronika PIC32MX7 MMB has a joystick: @@ -71,6 +75,14 @@ * RA10 JOY-CP Joystick CP, HDR1 pin 25 Pulled up, low value when closed */ +/* LCD + * + * ------ -------- ------------------------- -------------------------------- + * GPIO SIGNAL BOARD CONNECTION NOTES + * ------ -------- ------------------------- -------------------------------- + * RD2 LCD-BLED Backlight Light Low value turns off + */ + /**************************************************************************** * Public Types ****************************************************************************/ @@ -116,6 +128,18 @@ EXTERN void weak_function pic32mx_spiinitialize(void); EXTERN void pic32mx_ledinit(void); #endif +/**************************************************************************** + * Name: pic32mx_lcdinitialize + * + * Description: + * Initialize the LCD. This function should be called early in the boot + * sequence -- even if the LCD is not enabled. In that case we should + * at a minimum at least disable the LCD backlight. + * + ****************************************************************************/ + +EXTERN void pic32mx_lcdinitialize(void); + #undef EXTERN #ifdef __cplusplus } -- cgit v1.2.3