mbed library sources. Supersedes mbed-src.

Fork of mbed by teralytic

Committer:
mbed_official
Date:
Fri Apr 29 01:15:11 2016 +0100
Revision:
119:3921aeca8633
Synchronized with git revision fe9720f24b1adc71ab6962506ec51290f6afd270

Full URL: https://github.com/mbedmicro/mbed/commit/fe9720f24b1adc71ab6962506ec51290f6afd270/

[Renesas RZ/A1H] Enable asynchronous communications

Who changed what in which revision?

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