Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed by
Diff: PinNames.h
- Revision:
- 28:667d61c9177b
- Parent:
- 27:7110ebee3484
--- 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
