diff options
author | Stephane D'Alu <sdalu@sdalu.com> | 2016-05-09 21:22:12 +0200 |
---|---|---|
committer | Stephane D'Alu <sdalu@sdalu.com> | 2016-05-09 21:22:12 +0200 |
commit | 4b186ab80ec47d6551f3f8e65aceff98968958ef (patch) | |
tree | 5f5682c4d06385e6b48f3cc23412d298bacf64b6 | |
parent | 0e3e2f02d70ff9ce9fce20cec6198c110ea68537 (diff) | |
download | ChibiOS-Contrib-4b186ab80ec47d6551f3f8e65aceff98968958ef.tar.gz ChibiOS-Contrib-4b186ab80ec47d6551f3f8e65aceff98968958ef.tar.bz2 ChibiOS-Contrib-4b186ab80ec47d6551f3f8e65aceff98968958ef.zip |
Added Analogue Line A0..A5
-rw-r--r-- | os/hal/boards/NRF51-DK/board.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/os/hal/boards/NRF51-DK/board.h b/os/hal/boards/NRF51-DK/board.h index 0f45fce..e47240b 100644 --- a/os/hal/boards/NRF51-DK/board.h +++ b/os/hal/boards/NRF51-DK/board.h @@ -66,6 +66,12 @@ #define IOPORT1_SPI_SS 24U #define IOPORT1_I2C_SCL 7U #define IOPORT1_I2C_SDA 30U +#define IOPORT1_A0 1U +#define IOPORT1_A1 2U +#define IOPORT1_A2 3U +#define IOPORT1_A3 4U +#define IOPORT1_A4 5U +#define IOPORT1_A5 6U /* * IO lines assignments. @@ -88,6 +94,13 @@ #define LINE_SPI_SS PAL_LINE(IOPORT1, IOPORT1_SPI_SS) #define LINE_I2C_SCL PAL_LINE(IOPORT1, IOPORT1_I2C_SCL) #define LINE_I2C_SDA PAL_LINE(IOPORT1, IOPORT1_I2C_SDA) +#define LINE_A0 PAL_LINE(IOPORT1, IOPORT1_A0) +#define LINE_A1 PAL_LINE(IOPORT1, IOPORT1_A1) +#define LINE_A2 PAL_LINE(IOPORT1, IOPORT1_A2) +#define LINE_A3 PAL_LINE(IOPORT1, IOPORT1_A3) +#define LINE_A4 PAL_LINE(IOPORT1, IOPORT1_A4) +#define LINE_A5 PAL_LINE(IOPORT1, IOPORT1_A5) + #if !defined(_FROM_ASM_) #ifdef __cplusplus |