/*******************************************************************************
* Project:      Amped'RF Bluetooth
* File name:    GKI_io_Registers.h
* Description:  Definitions for io registers.
*
* Copyright (c) 2013 Amped'RF Inc., AR Technology  All rights reserved.
*******************************************************************************/
#ifndef _GKI_IO_REGISTERS_H_
#define _GKI_IO_REGISTERS_H_

#define PA0     0x00
#define PA1     0x01
#define PA2     0x02
#define PA3     0x03
#define PA4     0x04
#define PA5     0x05
#define PA6     0x06
#define PA7     0x07
#define PA8     0x08
#define PA9     0x09
#define PA10    0x0A
#define PA11    0x0B
#define PA12    0x0C
#define PA13    0x0D
#define PA14    0x0E
#define PA15    0x0F

#define PB0     0x10
#define PB1     0x11
#define PB2     0x12
#define PB3     0x13
#define PB4     0x14
#define PB5     0x15
#define PB6     0x16
#define PB7     0x17
#define PB8     0x18
#define PB9     0x19
#define PB10    0x1A
#define PB11    0x1B
#define PB12    0x1C
#define PB13    0x1D
#define PB14    0x1E
#define PB15    0x1F

#define PC0     0x20
#define PC1     0x21
#define PC2     0x22
#define PC3     0x23
#define PC4     0x24
#define PC5     0x25
#define PC6     0x26
#define PC7     0x27
#define PC8     0x28
#define PC9     0x29
#define PC10    0x2A
#define PC11    0x2B
#define PC12    0x2C
#define PC13    0x2D
#define PC14    0x2E
#define PC15    0x2F

//------------------------------------------------------------------------------
// IO Definitions
//------------------------------------------------------------------------------
#define IO_UART1_TX_PORT    	    PA9
#define IO_UART1_RX_PORT	        PA10
#define IO_UART1_CTS_PORT           PA11
#define IO_UART1_RTS_PORT           PA12

#define IO_UART2_TX_PORT	        PA2
#define IO_UART2_RX_PORT	        PA3
#define IO_UART2_CTS_PORT           PA0
#define IO_UART2_RTS_PORT           PA1

#define IO_UNDEFINED                0xFF


#endif // _GKI_IO_REGISTERS_H_
//------------------------------------------------------------------------------
