Loading...
Searching...
No Matches
cc26xx_cc13xx_ioc.h File Reference

CC26xx/CC13xx MCU I/O register definitions. More...

Detailed Description

CC26xx/CC13xx MCU I/O register definitions.

Author
Leon George leon@.nosp@m.geor.nosp@m.gemai.nosp@m.l.eu

Definition in file cc26xx_cc13xx_ioc.h.

#include "cc26xx_cc13xx.h"
+ Include dependency graph for cc26xx_cc13xx_ioc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cc26x0_ioc_regs_t
 obtain IOCFG-register for a DIO More...
 
struct  aon_ioc_regs_t
 AON_IOC registers. More...
 

Macros

#define IOC   ((cc26x0_ioc_regs_t *)(MCU_IOC_BASE))
 IOC register banks.
 
#define AON_IOC   ((aon_ioc_regs_t *) (AON_IOC_BASE))
 AON_IOC register bank.
 
#define MCU_IOC_BASE   (0x40081000)
 IOC (MCU) base address.
 

values for IOCFG

#define IOCFG_PORTID_GPIO   0x00000000
 GPIO.
 
#define IOCFG_PORTID_AON_CLK32K   0x00000007
 AON external 32kHz clock.
 
#define IOCFG_PORTID_AUX_IO   0x00000008
 AUX IO.
 
#define IOCFG_PORTID_SSI0_RX   0x00000009
 SSI0 receive.
 
#define IOCFG_PORTID_SSI0_TX   0x0000000A
 SSI0 transmit.
 
#define IOCFG_PORTID_SSI0_FSS   0x0000000B
 SSI0 FSS.
 
#define IOCFG_PORTID_SSI0_CLK   0x0000000C
 SSI0 clock.
 
#define IOCFG_PORTID_I2C_MSSDA   0x0000000D
 I2C data.
 
#define IOCFG_PORTID_I2C_MSSCL   0x0000000E
 I2C clock.
 
#define IOCFG_PORTID_UART0_RX   0x0000000F
 UART0 receive.
 
#define IOCFG_PORTID_UART0_TX   0x00000010
 UART0 transmit.
 
#define IOCFG_PORTID_UART0_CTS   0x00000011
 UART0 clear to send.
 
#define IOCFG_PORTID_UART0_RTS   0x00000012
 UART0 request to send.
 
#define IOCFG_PORTID_PORT_EVT0   0x00000017
 PORT EVENT 0.
 
#define IOCFG_PORTID_PORT_EVT1   0x00000018
 PORT EVENT 1.
 
#define IOCFG_PORTID_PORT_EVT2   0x00000019
 PORT EVENT 2.
 
#define IOCFG_PORTID_PORT_EVT3   0x0000001A
 PORT EVENT 3.
 
#define IOCFG_PORTID_PORT_EVT4   0x0000001B
 PORT EVENT 4.
 
#define IOCFG_PORTID_PORT_EVT5   0x0000001C
 PORT EVENT 5.
 
#define IOCFG_PORTID_PORT_EVT6   0x0000001D
 PORT EVENT 6.
 
#define IOCFG_PORTID_PORT_EVT7   0x0000001E
 PORT EVENT 7.
 
#define IOCFG_PORTID_SWV   0x00000020
 serial wire viewer
 
#define IOCFG_PORTID_SSI1_RX   0x00000021
 SSI1 receive.
 
#define IOCFG_PORTID_SSI1_TX   0x00000022
 SSI1 transmit.
 
#define IOCFG_PORTID_SSI1_FSS   0x00000023
 SSI1 FSS.
 
#define IOCFG_PORTID_SSI1_CLK   0x00000024
 SSI1 clock.
 
#define IOCFG_PORTID_I2S_AD0   0x00000025
 I2S data 0.
 
#define IOCFG_PORTID_I2S_AD1   0x00000026
 I2S data 1.
 
#define IOCFG_PORTID_I2S_WCLK   0x00000027
 I2S frame/word clock.
 
#define IOCFG_PORTID_I2S_BCLK   0x00000028
 I2S bit clock.
 
#define IOCFG_PORTID_I2S_MCLK   0x00000029
 I2S master clock 2.
 
#define IOCFG_PORTID_RFC_TRC   0x0000002E
 RF core trace.
 
#define IOCFG_PORTID_RFC_GPO0   0x0000002F
 RC core data out 0.
 
#define IOCFG_PORTID_RFC_GPO1   0x00000030
 RC core data out 1.
 
#define IOCFG_PORTID_RFC_GPO2   0x00000031
 RC core data out 2.
 
#define IOCFG_PORTID_RFC_GPO3   0x00000032
 RC core data out 3.
 
#define IOCFG_PORTID_RFC_GPI0   0x00000033
 RC core data in 0.
 
#define IOCFG_PORTID_RFC_GPI1   0x00000034
 RC core data in 1.
 
#define IOCFG_PORTID_RFC_SMI_DL_OUT   0x00000035
 RF core SMI data link out.
 
#define IOCFG_PORTID_RFC_SMI_DL_IN   0x00000036
 RF core SMI data link in.
 
#define IOCFG_PORTID_RFC_SMI_CMD_OUT   0x00000037
 RF core SMI command link out.
 
#define IOCFG_PORTID_RFC_SMI_CMD_IN   0x00000038
 RF core SMI command link in.
 
#define IOCFG_IOSTR_AUTO   0x00000000
 automatic drive strength (2/4/8 mA @ VVDS)
 
#define IOCFG_IOSTR_MAX   0x00000300
 maximum drive strength (2/4/8 mA @ 1.8V)
 
#define IOCFG_IOSTR_MED   0x00000200
 medium drive strength (2/4/8 mA @ 2.5V)
 
#define IOCFG_IOSTR_MIN   0x00000100
 minimum drive strength (2/4/8 mA @ 3.3V)
 
#define IOCFG_IOCURR_2MA   0x00000000
 2mA drive strength
 
#define IOCFG_IOCURR_4MA   0x00000400
 4mA drive strength
 
#define IOCFG_IOCURR_8MA   0x00000800
 4 or 8mA drive strength
 
#define IOCFG_IOCURR_16MA   0x00000C00
 Up to 16mA drive strength.
 
#define IOCFG_SLEW_RED   0x00001000
 reduced slew rate
 
#define IOCFG_PULLCTL_OFF   0x00006000
 no IO pull
 
#define IOCFG_PULLCTL_UP   0x00004000
 pull up
 
#define IOCFG_PULLCTL_DOWN   0x00002000
 pull down
 
#define IOCFG_EDGEDET_FALLING   0x00010000
 edge detection on falling edge
 
#define IOCFG_EDGEDET_RISING   0x00020000
 edge detection on rising edge
 
#define IOCFG_EDGEDET_BOTH   0x00030000
 edge detection on both edges
 
#define IOCFG_EDGEIRQ_ENABLE   0x00040000
 enable interrupt on edge detect
 
#define IOCFG_IOMODE_INV   0x01000000
 inverted I/O
 
#define IOCFG_IOMODE_OPEN_DRAIN   0x04000000
 open drain
 
#define IOCFG_IOMODE_OPEN_SRC   0x06000000
 open source
 
#define IOCFG_WUCFG_LOW   0x10000000
 
#define IOCFG_WUCFG_HIGH   0x18000000
 
#define IOCFG_INPUT_ENABLE   0x20000000
 
#define IOCFG_HYST_ENABLE   0x40000000
 
#define AON_IOC_IOCLATCH_EN   0x00000001
 AON_IOC register values.
 
#define AON_IOC_CLK32KCTL_OEN   0x00000001
 
#define AON_IOC_BASE   (PERIPH_BASE + 0x94000)
 AON_IOC base address.
 

Macro Definition Documentation

◆ AON_IOC

#define AON_IOC   ((aon_ioc_regs_t *) (AON_IOC_BASE))

AON_IOC register bank.

Definition at line 179 of file cc26xx_cc13xx_ioc.h.

◆ AON_IOC_CLK32KCTL_OEN

#define AON_IOC_CLK32KCTL_OEN   0x00000001

Definition at line 163 of file cc26xx_cc13xx_ioc.h.

◆ AON_IOC_IOCLATCH_EN

#define AON_IOC_IOCLATCH_EN   0x00000001

AON_IOC register values.

Definition at line 162 of file cc26xx_cc13xx_ioc.h.

◆ IOC

#define IOC   ((cc26x0_ioc_regs_t *)(MCU_IOC_BASE))

IOC register banks.

Definition at line 43 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_EDGEDET_BOTH

#define IOCFG_EDGEDET_BOTH   0x00030000

edge detection on both edges

Definition at line 126 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_EDGEDET_FALLING

#define IOCFG_EDGEDET_FALLING   0x00010000

edge detection on falling edge

Definition at line 124 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_EDGEDET_RISING

#define IOCFG_EDGEDET_RISING   0x00020000

edge detection on rising edge

Definition at line 125 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_EDGEIRQ_ENABLE

#define IOCFG_EDGEIRQ_ENABLE   0x00040000

enable interrupt on edge detect

Definition at line 127 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_HYST_ENABLE

#define IOCFG_HYST_ENABLE   0x40000000

Definition at line 141 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_INPUT_ENABLE

#define IOCFG_INPUT_ENABLE   0x20000000

Definition at line 139 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_IOCURR_16MA

#define IOCFG_IOCURR_16MA   0x00000C00

Up to 16mA drive strength.

Definition at line 116 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_IOCURR_2MA

#define IOCFG_IOCURR_2MA   0x00000000

2mA drive strength

Definition at line 113 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_IOCURR_4MA

#define IOCFG_IOCURR_4MA   0x00000400

4mA drive strength

Definition at line 114 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_IOCURR_8MA

#define IOCFG_IOCURR_8MA   0x00000800

4 or 8mA drive strength

Definition at line 115 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_IOMODE_INV

#define IOCFG_IOMODE_INV   0x01000000

inverted I/O

Definition at line 130 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_IOMODE_OPEN_DRAIN

#define IOCFG_IOMODE_OPEN_DRAIN   0x04000000

open drain

Definition at line 131 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_IOMODE_OPEN_SRC

#define IOCFG_IOMODE_OPEN_SRC   0x06000000

open source

Definition at line 132 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_IOSTR_AUTO

#define IOCFG_IOSTR_AUTO   0x00000000

automatic drive strength (2/4/8 mA @ VVDS)

Definition at line 108 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_IOSTR_MAX

#define IOCFG_IOSTR_MAX   0x00000300

maximum drive strength (2/4/8 mA @ 1.8V)

Definition at line 109 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_IOSTR_MED

#define IOCFG_IOSTR_MED   0x00000200

medium drive strength (2/4/8 mA @ 2.5V)

Definition at line 110 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_IOSTR_MIN

#define IOCFG_IOSTR_MIN   0x00000100

minimum drive strength (2/4/8 mA @ 3.3V)

Definition at line 111 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_AON_CLK32K

#define IOCFG_PORTID_AON_CLK32K   0x00000007

AON external 32kHz clock.

Definition at line 58 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_AUX_IO

#define IOCFG_PORTID_AUX_IO   0x00000008

AUX IO.

Definition at line 59 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_GPIO

#define IOCFG_PORTID_GPIO   0x00000000

GPIO.

Definition at line 49 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_I2C_MSSCL

#define IOCFG_PORTID_I2C_MSSCL   0x0000000E

I2C clock.

Definition at line 65 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_I2C_MSSDA

#define IOCFG_PORTID_I2C_MSSDA   0x0000000D

I2C data.

Definition at line 64 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_I2S_AD0

#define IOCFG_PORTID_I2S_AD0   0x00000025

I2S data 0.

Definition at line 91 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_I2S_AD1

#define IOCFG_PORTID_I2S_AD1   0x00000026

I2S data 1.

Definition at line 92 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_I2S_BCLK

#define IOCFG_PORTID_I2S_BCLK   0x00000028

I2S bit clock.

Definition at line 94 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_I2S_MCLK

#define IOCFG_PORTID_I2S_MCLK   0x00000029

I2S master clock 2.

Definition at line 95 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_I2S_WCLK

#define IOCFG_PORTID_I2S_WCLK   0x00000027

I2S frame/word clock.

Definition at line 93 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_PORT_EVT0

#define IOCFG_PORTID_PORT_EVT0   0x00000017

PORT EVENT 0.

Definition at line 78 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_PORT_EVT1

#define IOCFG_PORTID_PORT_EVT1   0x00000018

PORT EVENT 1.

Definition at line 79 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_PORT_EVT2

#define IOCFG_PORTID_PORT_EVT2   0x00000019

PORT EVENT 2.

Definition at line 80 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_PORT_EVT3

#define IOCFG_PORTID_PORT_EVT3   0x0000001A

PORT EVENT 3.

Definition at line 81 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_PORT_EVT4

#define IOCFG_PORTID_PORT_EVT4   0x0000001B

PORT EVENT 4.

Definition at line 82 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_PORT_EVT5

#define IOCFG_PORTID_PORT_EVT5   0x0000001C

PORT EVENT 5.

Definition at line 83 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_PORT_EVT6

#define IOCFG_PORTID_PORT_EVT6   0x0000001D

PORT EVENT 6.

Definition at line 84 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_PORT_EVT7

#define IOCFG_PORTID_PORT_EVT7   0x0000001E

PORT EVENT 7.

Definition at line 85 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_RFC_GPI0

#define IOCFG_PORTID_RFC_GPI0   0x00000033

RC core data in 0.

Definition at line 101 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_RFC_GPI1

#define IOCFG_PORTID_RFC_GPI1   0x00000034

RC core data in 1.

Definition at line 102 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_RFC_GPO0

#define IOCFG_PORTID_RFC_GPO0   0x0000002F

RC core data out 0.

Definition at line 97 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_RFC_GPO1

#define IOCFG_PORTID_RFC_GPO1   0x00000030

RC core data out 1.

Definition at line 98 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_RFC_GPO2

#define IOCFG_PORTID_RFC_GPO2   0x00000031

RC core data out 2.

Definition at line 99 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_RFC_GPO3

#define IOCFG_PORTID_RFC_GPO3   0x00000032

RC core data out 3.

Definition at line 100 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_RFC_SMI_CMD_IN

#define IOCFG_PORTID_RFC_SMI_CMD_IN   0x00000038

RF core SMI command link in.

Definition at line 106 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_RFC_SMI_CMD_OUT

#define IOCFG_PORTID_RFC_SMI_CMD_OUT   0x00000037

RF core SMI command link out.

Definition at line 105 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_RFC_SMI_DL_IN

#define IOCFG_PORTID_RFC_SMI_DL_IN   0x00000036

RF core SMI data link in.

Definition at line 104 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_RFC_SMI_DL_OUT

#define IOCFG_PORTID_RFC_SMI_DL_OUT   0x00000035

RF core SMI data link out.

Definition at line 103 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_RFC_TRC

#define IOCFG_PORTID_RFC_TRC   0x0000002E

RF core trace.

Definition at line 96 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_SSI0_CLK

#define IOCFG_PORTID_SSI0_CLK   0x0000000C

SSI0 clock.

Definition at line 63 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_SSI0_FSS

#define IOCFG_PORTID_SSI0_FSS   0x0000000B

SSI0 FSS.

Definition at line 62 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_SSI0_RX

#define IOCFG_PORTID_SSI0_RX   0x00000009

SSI0 receive.

Definition at line 60 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_SSI0_TX

#define IOCFG_PORTID_SSI0_TX   0x0000000A

SSI0 transmit.

Definition at line 61 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_SSI1_CLK

#define IOCFG_PORTID_SSI1_CLK   0x00000024

SSI1 clock.

Definition at line 90 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_SSI1_FSS

#define IOCFG_PORTID_SSI1_FSS   0x00000023

SSI1 FSS.

Definition at line 89 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_SSI1_RX

#define IOCFG_PORTID_SSI1_RX   0x00000021

SSI1 receive.

Definition at line 87 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_SSI1_TX

#define IOCFG_PORTID_SSI1_TX   0x00000022

SSI1 transmit.

Definition at line 88 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_SWV

#define IOCFG_PORTID_SWV   0x00000020

serial wire viewer

Definition at line 86 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_UART0_CTS

#define IOCFG_PORTID_UART0_CTS   0x00000011

UART0 clear to send.

Definition at line 68 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_UART0_RTS

#define IOCFG_PORTID_UART0_RTS   0x00000012

UART0 request to send.

Definition at line 69 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_UART0_RX

#define IOCFG_PORTID_UART0_RX   0x0000000F

UART0 receive.

Definition at line 66 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PORTID_UART0_TX

#define IOCFG_PORTID_UART0_TX   0x00000010

UART0 transmit.

Definition at line 67 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PULLCTL_DOWN

#define IOCFG_PULLCTL_DOWN   0x00002000

pull down

Definition at line 122 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PULLCTL_OFF

#define IOCFG_PULLCTL_OFF   0x00006000

no IO pull

Definition at line 120 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_PULLCTL_UP

#define IOCFG_PULLCTL_UP   0x00004000

pull up

Definition at line 121 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_SLEW_RED

#define IOCFG_SLEW_RED   0x00001000

reduced slew rate

Definition at line 118 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_WUCFG_HIGH

#define IOCFG_WUCFG_HIGH   0x18000000

Definition at line 136 of file cc26xx_cc13xx_ioc.h.

◆ IOCFG_WUCFG_LOW

#define IOCFG_WUCFG_LOW   0x10000000

Definition at line 135 of file cc26xx_cc13xx_ioc.h.