The friendly Operating System for the Internet of Things

CC2538 I/O Control driver. More...

Detailed Description

Header file with declarations for the I/O Control module

Author
Ian Martin ian@l.nosp@m.ocic.nosp@m.ontro.nosp@m.ls.c.nosp@m.om

Definition in file cc2538_ioc.h.

#include <stdint.h>
#include "cc2538.h"
+ Include dependency graph for cc2538_ioc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

Port control register addresses
#define IOC_PXX_SEL   ( (cc2538_reg_t*)0x400d4000 )
 
#define IOC_PXX_OVER   ( (cc2538_reg_t*)0x400d4080 )
 
Values for IOC_PXX_OVER
#define IOC_OVERRIDE_OE   0x00000008
 Output Enable.
 
#define IOC_OVERRIDE_PUE   0x00000004
 Pull Up Enable.
 
#define IOC_OVERRIDE_PDE   0x00000002
 Pull Down Enable.
 
#define IOC_OVERRIDE_ANA   0x00000001
 Analog Enable.
 
#define IOC_OVERRIDE_DIS   0x00000000
 Override Disabled.
 

Enumerations

Peripheral Signal Select Values (for IOC_Pxx_SEL registers)
enum  {
  UART0_TXD = 0, UART1_RTS = 1, UART1_TXD = 2, SSI0_TXD = 3,
  SSI0_CLKOUT = 4, SSI0_FSSOUT = 5, SSI0_STXSER_EN = 6, SSI1_TXD = 7,
  SSI1_CLKOUT = 8, SSI1_FSSOUT = 9, SSI1_STXSER_EN = 10, I2C_CMSSDA = 11,
  I2C_CMSSCL = 12, GPT0_ICP1 = 13, GPT0_ICP2 = 14, GPT1_ICP1 = 15,
  GPT1_ICP2 = 16, GPT2_ICP1 = 17, GPT2_ICP2 = 18, GPT3_ICP1 = 19,
  GPT3_ICP2 = 20
}