Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications. The fork has the documentation converted to Doxygen format
Fork of mbed by
Diff: PinNames.h
- Revision:
- 28:667d61c9177b
- Parent:
- 27:7110ebee3484
diff -r 7110ebee3484 -r 667d61c9177b PinNames.h --- a/PinNames.h Tue Nov 29 14:59:27 2011 +0000 +++ b/PinNames.h Thu Dec 08 12:04:01 2011 +0000 @@ -96,6 +96,19 @@ }; typedef enum PinMode PinMode; +// version of PINCON_TypeDef using register arrays +typedef struct { + __IO uint32_t PINSEL[11]; + uint32_t RESERVED0[5]; + __IO uint32_t PINMODE[10]; +#ifndef TARGET_LPC2368 +// Open drain mode is not available on LPC2368 + __IO uint32_t PINMODE_OD[5]; +#endif +} PINCONARRAY_TypeDef; + +#define PINCONARRAY ((PINCONARRAY_TypeDef *)LPC_PINCON_BASE) + #elif defined(TARGET_LPC11U24) @@ -126,6 +139,10 @@ , P0_21 = 21 , P0_22 = 22 , P0_23 = 23 + , P0_24 = 24 + , P0_25 = 25 + , P0_26 = 26 + , P0_27 = 27 , P1_0 = 32 , P1_1 = 33