diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-06-11 01:55:43 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-06-11 01:55:43 +0000 |
commit | f697e5bf7e8cb0c9795fcaa469d9f26e2b558f00 (patch) | |
tree | 981e8123832a6b1911989a59f9fa356e6ba85d8b /nuttx/arch/arm/src/lpc17xx/lpc17_internal.h | |
parent | cc84cc1568935def0f81a23c3df168e5d6588599 (diff) | |
download | px4-nuttx-f697e5bf7e8cb0c9795fcaa469d9f26e2b558f00.tar.gz px4-nuttx-f697e5bf7e8cb0c9795fcaa469d9f26e2b558f00.tar.bz2 px4-nuttx-f697e5bf7e8cb0c9795fcaa469d9f26e2b558f00.zip |
Finish serial drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2738 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx/lpc17_internal.h')
-rwxr-xr-x | nuttx/arch/arm/src/lpc17xx/lpc17_internal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_internal.h b/nuttx/arch/arm/src/lpc17xx/lpc17_internal.h index b6e9ce3b0..e5321acef 100755 --- a/nuttx/arch/arm/src/lpc17xx/lpc17_internal.h +++ b/nuttx/arch/arm/src/lpc17xx/lpc17_internal.h @@ -169,6 +169,15 @@ #define GPIO_PIN31 (31 << GPIO_PIN_SHIFT) /* GPIO pin definitions *************************************************************/ +/* NOTE that functions have a alternate pins that can be selected. These alternates + * are identified with a numerica suffix like _1, _2, or _3. Your board.h file + * should select the correct alternative for your board by including definitions + * such as: + * + * #define GPIO_UART1_RXD GPIO_UART1_RXD_1 + * + * (without the suffix) + */ #define GPIO_CAN1_RD_1 (GPIO_ALT1 | GPIO_PULLUP | GPIO_PORT0 | GPIO_PIN0) #define GPIO_UART3_TXD_1 (GPIO_ALT2 | GPIO_PULLUP | GPIO_PORT0 | GPIO_PIN0) |