Zephyr API Documentation
4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
cc13xx_cc26xx-pinctrl.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015 - 2017, Texas Instruments Incorporated
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef CC13XX_CC26XX_PINCTRL_COMMON_H_
8
#define CC13XX_CC26XX_PINCTRL_COMMON_H_
9
10
/* Adapted from hal/ti/simplelink/source/ti/devices/cc13x2_cc26x2/driverlib/ioc.h */
11
12
/* IOC Peripheral Port Mapping */
13
#define IOC_PORT_GPIO 0x00000000
/* Default general purpose IO usage */
14
#define IOC_PORT_AON_CLK32K 0x00000007
/* AON External 32kHz clock */
15
#define IOC_PORT_AUX_IO 0x00000008
/* AUX IO Pin */
16
#define IOC_PORT_MCU_SSI0_RX 0x00000009
/* MCU SSI0 Receive Pin */
17
#define IOC_PORT_MCU_SSI0_TX 0x0000000A
/* MCU SSI0 Transmit Pin */
18
#define IOC_PORT_MCU_SSI0_FSS 0x0000000B
/* MCU SSI0 FSS Pin */
19
#define IOC_PORT_MCU_SSI0_CLK 0x0000000C
/* MCU SSI0 Clock Pin */
20
#define IOC_PORT_MCU_I2C_MSSDA 0x0000000D
/* MCU I2C Data Pin */
21
#define IOC_PORT_MCU_I2C_MSSCL 0x0000000E
/* MCU I2C Clock Pin */
22
#define IOC_PORT_MCU_UART0_RX 0x0000000F
/* MCU UART0 Receive Pin */
23
#define IOC_PORT_MCU_UART0_TX 0x00000010
/* MCU UART0 Transmit Pin */
24
#define IOC_PORT_MCU_UART0_CTS 0x00000011
/* MCU UART0 Clear To Send Pin */
25
#define IOC_PORT_MCU_UART0_RTS 0x00000012
/* MCU UART0 Request To Send Pin */
26
#define IOC_PORT_MCU_UART1_RX 0x00000013
/* MCU UART1 Receive Pin */
27
#define IOC_PORT_MCU_UART1_TX 0x00000014
/* MCU UART1 Transmit Pin */
28
#define IOC_PORT_MCU_UART1_CTS 0x00000015
/* MCU UART1 Clear To Send Pin */
29
#define IOC_PORT_MCU_UART1_RTS 0x00000016
/* MCU UART1 Request To Send Pin */
30
#define IOC_PORT_MCU_PORT_EVENT0 0x00000017
/* MCU PORT EVENT 0 */
31
#define IOC_PORT_MCU_PORT_EVENT1 0x00000018
/* MCU PORT EVENT 1 */
32
#define IOC_PORT_MCU_PORT_EVENT2 0x00000019
/* MCU PORT EVENT 2 */
33
#define IOC_PORT_MCU_PORT_EVENT3 0x0000001A
/* MCU PORT EVENT 3 */
34
#define IOC_PORT_MCU_PORT_EVENT4 0x0000001B
/* MCU PORT EVENT 4 */
35
#define IOC_PORT_MCU_PORT_EVENT5 0x0000001C
/* MCU PORT EVENT 5 */
36
#define IOC_PORT_MCU_PORT_EVENT6 0x0000001D
/* MCU PORT EVENT 6 */
37
#define IOC_PORT_MCU_PORT_EVENT7 0x0000001E
/* MCU PORT EVENT 7 */
38
#define IOC_PORT_MCU_SWV 0x00000020
/* Serial Wire Viewer */
39
#define IOC_PORT_MCU_SSI1_RX 0x00000021
/* MCU SSI1 Receive Pin */
40
#define IOC_PORT_MCU_SSI1_TX 0x00000022
/* MCU SSI1 Transmit Pin */
41
#define IOC_PORT_MCU_SSI1_FSS 0x00000023
/* MCU SSI1 FSS Pin */
42
#define IOC_PORT_MCU_SSI1_CLK 0x00000024
/* MCU SSI1 Clock Pin */
43
#define IOC_PORT_MCU_I2S_AD0 0x00000025
/* MCU I2S Data Pin 0 */
44
#define IOC_PORT_MCU_I2S_AD1 0x00000026
/* MCU I2S Data Pin 1 */
45
#define IOC_PORT_MCU_I2S_WCLK 0x00000027
/* MCU I2S Frame/Word Clock */
46
#define IOC_PORT_MCU_I2S_BCLK 0x00000028
/* MCU I2S Bit Clock */
47
#define IOC_PORT_MCU_I2S_MCLK 0x00000029
/* MCU I2S Master clock 2 */
48
#define IOC_PORT_RFC_TRC 0x0000002E
/* RF Core Tracer */
49
#define IOC_PORT_RFC_GPO0 0x0000002F
/* RC Core Data Out Pin 0 */
50
#define IOC_PORT_RFC_GPO1 0x00000030
/* RC Core Data Out Pin 1 */
51
#define IOC_PORT_RFC_GPO2 0x00000031
/* RC Core Data Out Pin 2 */
52
#define IOC_PORT_RFC_GPO3 0x00000032
/* RC Core Data Out Pin 3 */
53
#define IOC_PORT_RFC_GPI0 0x00000033
/* RC Core Data In Pin 0 */
54
#define IOC_PORT_RFC_GPI1 0x00000034
/* RC Core Data In Pin 1 */
55
#define IOC_PORT_RFC_SMI_DL_OUT 0x00000035
/* RF Core SMI Data Link Out */
56
#define IOC_PORT_RFC_SMI_DL_IN 0x00000036
/* RF Core SMI Data Link in */
57
#define IOC_PORT_RFC_SMI_CL_OUT 0x00000037
/* RF Core SMI Command Link Out */
58
#define IOC_PORT_RFC_SMI_CL_IN 0x00000038
/* RF Core SMI Command Link In */
59
60
/* Edge Detection */
61
#define IOC_NO_EDGE 0x00000000
/* No edge detection */
62
#define IOC_FALLING_EDGE 0x00010000
/* Edge detection on falling edge */
63
#define IOC_RISING_EDGE 0x00020000
/* Edge detection on rising edge */
64
#define IOC_BOTH_EDGES 0x00030000
/* Edge detection on both edges */
65
66
#endif
/* CC13XX_CC26XX_PINCTRL_COMMON_H_ */
zephyr
dt-bindings
pinctrl
cc13xx_cc26xx-pinctrl.h
Generated on Sat Nov 16 2024 04:55:03 for Zephyr API Documentation by
1.12.0