27 #define MCU_IOC_BASE           (0x40081000)  
   39 #define IOC ((cc26x0_ioc_regs_t *)(MCU_IOC_BASE))  
   45 #define IOCFG_PORTID_GPIO               0x00000000   
   48 #define IOCFG_PORTID_AON_SCS            0x00000001   
   49 #define IOCFG_PORTID_AON_SCK            0x00000002   
   50 #define IOCFG_PORTID_AON_SDI            0x00000003   
   51 #define IOCFG_PORTID_AON_SDO            0x00000004   
   54 #define IOCFG_PORTID_AON_CLK32K         0x00000007   
   55 #define IOCFG_PORTID_AUX_IO             0x00000008   
   56 #define IOCFG_PORTID_SSI0_RX            0x00000009   
   57 #define IOCFG_PORTID_SSI0_TX            0x0000000A   
   58 #define IOCFG_PORTID_SSI0_FSS           0x0000000B   
   59 #define IOCFG_PORTID_SSI0_CLK           0x0000000C   
   60 #define IOCFG_PORTID_I2C_MSSDA          0x0000000D   
   61 #define IOCFG_PORTID_I2C_MSSCL          0x0000000E   
   62 #define IOCFG_PORTID_UART0_RX           0x0000000F   
   63 #define IOCFG_PORTID_UART0_TX           0x00000010   
   64 #define IOCFG_PORTID_UART0_CTS          0x00000011   
   65 #define IOCFG_PORTID_UART0_RTS          0x00000012   
   68 #define IOCFG_PORTID_UART1_RX           0x00000013   
   69 #define IOCFG_PORTID_UART1_TX           0x00000014   
   70 #define IOCFG_PORTID_UART1_CTS          0x00000015   
   71 #define IOCFG_PORTID_UART1_RTS          0x00000016   
   74 #define IOCFG_PORTID_PORT_EVT0          0x00000017   
   75 #define IOCFG_PORTID_PORT_EVT1          0x00000018   
   76 #define IOCFG_PORTID_PORT_EVT2          0x00000019   
   77 #define IOCFG_PORTID_PORT_EVT3          0x0000001A   
   78 #define IOCFG_PORTID_PORT_EVT4          0x0000001B   
   79 #define IOCFG_PORTID_PORT_EVT5          0x0000001C   
   80 #define IOCFG_PORTID_PORT_EVT6          0x0000001D   
   81 #define IOCFG_PORTID_PORT_EVT7          0x0000001E   
   82 #define IOCFG_PORTID_SWV                0x00000020   
   83 #define IOCFG_PORTID_SSI1_RX            0x00000021   
   84 #define IOCFG_PORTID_SSI1_TX            0x00000022   
   85 #define IOCFG_PORTID_SSI1_FSS           0x00000023   
   86 #define IOCFG_PORTID_SSI1_CLK           0x00000024   
   87 #define IOCFG_PORTID_I2S_AD0            0x00000025   
   88 #define IOCFG_PORTID_I2S_AD1            0x00000026   
   89 #define IOCFG_PORTID_I2S_WCLK           0x00000027   
   90 #define IOCFG_PORTID_I2S_BCLK           0x00000028   
   91 #define IOCFG_PORTID_I2S_MCLK           0x00000029   
   92 #define IOCFG_PORTID_RFC_TRC            0x0000002E   
   93 #define IOCFG_PORTID_RFC_GPO0           0x0000002F   
   94 #define IOCFG_PORTID_RFC_GPO1           0x00000030   
   95 #define IOCFG_PORTID_RFC_GPO2           0x00000031   
   96 #define IOCFG_PORTID_RFC_GPO3           0x00000032   
   97 #define IOCFG_PORTID_RFC_GPI0           0x00000033   
   98 #define IOCFG_PORTID_RFC_GPI1           0x00000034   
   99 #define IOCFG_PORTID_RFC_SMI_DL_OUT     0x00000035   
  100 #define IOCFG_PORTID_RFC_SMI_DL_IN      0x00000036   
  101 #define IOCFG_PORTID_RFC_SMI_CMD_OUT    0x00000037   
  102 #define IOCFG_PORTID_RFC_SMI_CMD_IN     0x00000038   
  104 #define IOCFG_IOSTR_AUTO                0x00000000   
  105 #define IOCFG_IOSTR_MAX                 0x00000300   
  106 #define IOCFG_IOSTR_MED                 0x00000200   
  107 #define IOCFG_IOSTR_MIN                 0x00000100   
  109 #define IOCFG_IOCURR_2MA                0x00000000   
  110 #define IOCFG_IOCURR_4MA                0x00000400   
  111 #define IOCFG_IOCURR_8MA                0x00000800   
  112 #define IOCFG_IOCURR_16MA               0x00000C00   
  114 #define IOCFG_SLEW_RED                  0x00001000   
  116 #define IOCFG_PULLCTL_OFF               0x00006000   
  117 #define IOCFG_PULLCTL_UP                0x00004000   
  118 #define IOCFG_PULLCTL_DOWN              0x00002000   
  120 #define IOCFG_EDGEDET_FALLING           0x00010000   
  121 #define IOCFG_EDGEDET_RISING            0x00020000   
  122 #define IOCFG_EDGEDET_BOTH              0x00030000   
  123 #define IOCFG_EDGEIRQ_ENABLE            0x00040000   
  126 #define IOCFG_IOMODE_INV                0x01000000   
  127 #define IOCFG_IOMODE_OPEN_DRAIN         0x04000000   
  128 #define IOCFG_IOMODE_OPEN_SRC           0x06000000   
  131 #define IOCFG_WUCFG_LOW                 0x10000000 
  132 #define IOCFG_WUCFG_HIGH                0x18000000 
  135 #define IOCFG_INPUT_ENABLE              0x20000000 
  137 #define IOCFG_HYST_ENABLE               0x40000000 
  149 #ifdef CPU_VARIANT_X2 
  158 #define AON_IOC_IOCLATCH_EN   0x00000001 
  159 #define AON_IOC_CLK32KCTL_OEN 0x00000001 
  169 #define AON_IOC_BASE         (PERIPH_BASE + 0x94000) 
  175 #define AON_IOC              ((aon_ioc_regs_t *) (AON_IOC_BASE)) 
CC26xx, CC13xx definitions.
 
volatile uint32_t reg32_t
Unsigned 32-bit register type.
 
reg32_t IOSTRMIN
IO Drive Strength Minimum.
 
reg32_t IOCLATCH
IO Latch Control.
 
reg32_t CLK32KCTL
SCLK_LF External Output Control.
 
reg32_t IOSTRMAX
IO Drive Strength Maximum.
 
reg32_t IOSTRMED
IO Drive Strength Medium.
 
obtain IOCFG-register for a DIO