cc2538_ioc.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Loci Controls Inc.
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
23 #ifndef CC2538_IOC_H
24 #define CC2538_IOC_H
25 
26 #include <stdint.h>
27 
28 #include "cc2538.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
38 #define IOC_PXX_SEL ( (cc2538_reg_t*)0x400d4000 )
39 #define IOC_PXX_OVER ( (cc2538_reg_t*)0x400d4080 )
40 
45 enum {
46  UART0_TXD = 0,
47  UART1_RTS = 1,
48  UART1_TXD = 2,
49  SSI0_TXD = 3,
53  SSI1_TXD = 7,
57  I2C_CMSSDA = 11,
58  I2C_CMSSCL = 12,
59  GPT0_ICP1 = 13,
60  GPT0_ICP2 = 14,
61  GPT1_ICP1 = 15,
62  GPT1_ICP2 = 16,
63  GPT2_ICP1 = 17,
64  GPT2_ICP2 = 18,
65  GPT3_ICP1 = 19,
66  GPT3_ICP2 = 20,
67 };
74 #define IOC_OVERRIDE_OE 0x00000008
75 #define IOC_OVERRIDE_PUE 0x00000004
76 #define IOC_OVERRIDE_PDE 0x00000002
77 #define IOC_OVERRIDE_ANA 0x00000001
78 #define IOC_OVERRIDE_DIS 0x00000000
81 #ifdef __cplusplus
82 } /* end extern "C" */
83 #endif
84 
85 #endif /* CC2538_IOC_H */
86 
SSI0 CLKOUT.
Definition: cc2538_ioc.h:50
I2C CMSSDA.
Definition: cc2538_ioc.h:57
GPT0 ICP2.
Definition: cc2538_ioc.h:60
GPT1 ICP1.
Definition: cc2538_ioc.h:61
GPT2 ICP2.
Definition: cc2538_ioc.h:64
SSI1 STXSER EN.
Definition: cc2538_ioc.h:56
GPT3 ICP2.
Definition: cc2538_ioc.h:66
SSI0 STXSER EN.
Definition: cc2538_ioc.h:52
CC2538 MCU interrupt and register definitions.
UART1 TXD.
Definition: cc2538_ioc.h:48
SSI1 TXD.
Definition: cc2538_ioc.h:53
SSI0 FSSOUT.
Definition: cc2538_ioc.h:51
SSI0 TXD.
Definition: cc2538_ioc.h:49
SSI1 CLKOUT.
Definition: cc2538_ioc.h:54
UART0 TXD.
Definition: cc2538_ioc.h:46
GPT2 ICP1.
Definition: cc2538_ioc.h:63
I2C CMSSCL.
Definition: cc2538_ioc.h:58
GPT3 ICP1.
Definition: cc2538_ioc.h:65
GPT0 ICP1.
Definition: cc2538_ioc.h:59
SSI1 FSSOUT.
Definition: cc2538_ioc.h:55
GPT1 ICP2.
Definition: cc2538_ioc.h:62
UART1 RTS.
Definition: cc2538_ioc.h:47