Add initial lpc-p1343/miniblink example (untested).

This is not yet tested on hardware, it probably won't work, yet.
This commit is contained in:
Uwe Hermann
2010-12-30 01:36:16 +01:00
parent b385b7a172
commit b65f3f06d0
5 changed files with 117 additions and 0 deletions

View File

@@ -33,6 +33,13 @@
/* --- GPIO registers ------------------------------------------------------ */
/* GPIO data register (GPIOn_DATA) */
#define GPIO_DATA(port) MMIO32(port + 0x3ffc)
#define GPIO0_DATA GPIO_DATA(GPIO0)
#define GPIO1_DATA GPIO_DATA(GPIO1)
#define GPIO2_DATA GPIO_DATA(GPIO2)
#define GPIO3_DATA GPIO_DATA(GPIO3)
/* GPIO data direction register (GPIOn_DIR) */
#define GPIO_DIR(port) MMIO32(port + 0x00)
#define GPIO0_DIR GPIO_DIR(GPIO0)