mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Fri Sep 11 09:30:09 2015 +0100
Revision:
621:9c82b0f79f3d
Parent:
390:35c2c1cf29cd
Synchronized with git revision 6c1d63e069ab9bd86de92e8296ca783681257538

Full URL: https://github.com/mbedmicro/mbed/commit/6c1d63e069ab9bd86de92e8296ca783681257538/

ignore target files not supported by the yotta module

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 390:35c2c1cf29cd 1 #ifndef __GPIO_ADDRDEFINE__
mbed_official 390:35c2c1cf29cd 2 #define __GPIO_ADDRDEFINE__
mbed_official 390:35c2c1cf29cd 3
mbed_official 390:35c2c1cf29cd 4 #define GPIO_BASE ((long)0xFCFE3000uL) /* GPIO */
mbed_official 390:35c2c1cf29cd 5
mbed_official 390:35c2c1cf29cd 6 #define PORT(n) (volatile unsigned short *)(GPIO_BASE + 0x000 + ((n)*4))
mbed_official 390:35c2c1cf29cd 7 #define PSR(n) (volatile unsigned long *)(GPIO_BASE + 0x100 + ((n)*4))
mbed_official 390:35c2c1cf29cd 8 #define PPR(n) (volatile unsigned short *)(GPIO_BASE + 0x200 + ((n)*4))
mbed_official 390:35c2c1cf29cd 9 #define PM(n) (volatile unsigned short *)(GPIO_BASE + 0x300 + ((n)*4))
mbed_official 390:35c2c1cf29cd 10 #define PMC(n) (volatile unsigned short *)(GPIO_BASE + 0x400 + ((n)*4))
mbed_official 390:35c2c1cf29cd 11 #define PFC(n) (volatile unsigned short *)(GPIO_BASE + 0x500 + ((n)*4))
mbed_official 390:35c2c1cf29cd 12 #define PFCE(n) (volatile unsigned short *)(GPIO_BASE + 0x600 + ((n)*4))
mbed_official 390:35c2c1cf29cd 13 #define PNOT(n) (volatile unsigned short *)(GPIO_BASE + 0x700 + ((n)*4))
mbed_official 390:35c2c1cf29cd 14 #define PMSR(n) (volatile unsigned long *)(GPIO_BASE + 0x800 + ((n)*4))
mbed_official 390:35c2c1cf29cd 15 #define PMCSR(n) (volatile unsigned long *)(GPIO_BASE + 0x900 + ((n)*4))
mbed_official 390:35c2c1cf29cd 16 #define PFCAE(n) (volatile unsigned short *)(GPIO_BASE + 0xa00 + ((n)*4))
mbed_official 390:35c2c1cf29cd 17 #define PIBC(n) (volatile unsigned short *)(GPIO_BASE + 0x4000 +((n)*4))
mbed_official 390:35c2c1cf29cd 18 #define PBDC(n) (volatile unsigned short *)(GPIO_BASE + 0x4100 +((n)*4))
mbed_official 390:35c2c1cf29cd 19 #define PIPC(n) (volatile unsigned short *)(GPIO_BASE + 0x4200 +((n)*4))
mbed_official 390:35c2c1cf29cd 20
mbed_official 390:35c2c1cf29cd 21 #endif/*__GPIO_ADDRDEFINE__*/
mbed_official 390:35c2c1cf29cd 22