Define Arduino pins for the LPC812

Define the unconnected Arduino pins to NC so they are all defined.
pull/9593/head
Russ Butler 2019-02-02 10:50:02 -06:00
parent 66b8ca2599
commit ba30a4aa24
1 changed files with 10 additions and 3 deletions

View File

@ -28,6 +28,9 @@ typedef enum {
} PinDirection;
typedef enum {
// Not connected
NC = (int)0xFFFFFFFF,
P0_0 = 0,
P0_1 = 1,
P0_2 = 2,
@ -52,6 +55,8 @@ typedef enum {
D2 = P0_6,
D3 = P0_8,
D4 = P0_9,
D5 = NC,
D6 = NC,
D7 = P0_7,
D8 = P0_17,
@ -63,6 +68,10 @@ typedef enum {
D14 = P0_10,
D15 = P0_11,
A0 = NC,
A1 = NC,
A2 = NC,
A3 = NC,
A4 = P0_10,
A5 = P0_11,
@ -80,9 +89,7 @@ typedef enum {
// Serial to USB pins
USBTX = P0_6,
USBRX = P0_1,
// Not connected
NC = (int)0xFFFFFFFF,
} PinName;
typedef enum {