[LPC1114] remove reset pin name to protect people.

If user set P0_0 as DigitalOut and set it to low, LPC1114 will be in
reset condion. To avoid this situation, p4, xp4 and dp23 was removed
from PinNames.h.
pull/847/head
ytsuboi 2015-01-17 00:41:17 +09:00
parent 542dba531c
commit 7c55ec9590
1 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,7 @@ typedef enum {
P3_5 = (3 << PORT_SHIFT) | (5 << PIN_SHIFT) | 0x48,
// mbed DIP Pin Names (CQ board)
p4 = P0_0,
// p4 = P0_0,
p5 = P0_9,
p6 = P0_8,
p7 = P0_6,
@ -114,7 +114,7 @@ typedef enum {
USBRX = P1_6,
// mbed DIP Pin Names (LPCXpresso LPC1114)
xp4 = P0_0,
// xp4 = P0_0,
xp5 = P0_9,
xp6 = P0_8,
xp7 = P2_11,
@ -173,7 +173,7 @@ typedef enum {
dp16 = P1_7,
dp17 = P1_8,
dp18 = P1_9,
dp23 = P0_0,
// dp23 = P0_0,
dp24 = P0_1,
dp25 = P0_2,
dp26 = P0_3,
@ -194,7 +194,7 @@ typedef enum {
dip16 = P1_7,
dip17 = P1_8,
dip18 = P1_9,
dip23 = P0_0,
// dip23 = P0_0,
dip24 = P0_1,
dip25 = P0_2,
dip26 = P0_3,