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 FastIO by
Diff: FastIO_LPC1768.h
- Revision:
- 2:1a6ed4b84590
- Parent:
- 0:d394ebd01052
diff -r 85a4a54f15e3 -r 1a6ed4b84590 FastIO_LPC1768.h --- a/FastIO_LPC1768.h Wed Jul 02 06:01:51 2014 +0000 +++ b/FastIO_LPC1768.h Fri Jul 04 17:28:45 2014 +0000 @@ -14,6 +14,7 @@ #define PINSELMASK (0x03 << (((pin - P0_0)%16)*2) ) #define INIT_PIN container.mask = PINMASK; (PINSELREG &= ~PINSELMASK) +#define DESTROY_PIN #define SET_DIR_INPUT (LPC_GPIO->FIODIR &= ~PINMASK) #define SET_DIR_OUTPUT (LPC_GPIO->FIODIR |= PINMASK)
