Developer World
Spresense SDK Library
v3.3.0-375c679
pin.h
1
/****************************************************************************
2
* arch/arm/include/cxd56xx/pin.h
3
*
4
* Licensed to the Apache Software Foundation (ASF) under one or more
5
* contributor license agreements. See the NOTICE file distributed with
6
* this work for additional information regarding copyright ownership. The
7
* ASF licenses this file to you under the Apache License, Version 2.0 (the
8
* "License"); you may not use this file except in compliance with the
9
* License. You may obtain a copy of the License at
10
*
11
* http://www.apache.org/licenses/LICENSE-2.0
12
*
13
* Unless required by applicable law or agreed to in writing, software
14
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16
* License for the specific language governing permissions and limitations
17
* under the License.
18
*
19
****************************************************************************/
20
21
#ifndef __ARCH_ARM_INCLUDE_CXD56XX_PIN_H
22
#define __ARCH_ARM_INCLUDE_CXD56XX_PIN_H
23
24
/****************************************************************************
25
* Included Files
26
****************************************************************************/
27
28
#include <nuttx/config.h>
29
30
/****************************************************************************
31
* Pre-processor Prototypes
32
****************************************************************************/
33
34
/* Pin number Prototypes */
35
36
#define PIN_RTC_CLK_IN (0)
37
38
/* SYS GPIO: system power domain GPIOs */
39
40
#define PIN_I2C4_BCK (1)
41
#define PIN_I2C4_BDT (2)
42
#define PIN_PMIC_INT (3)
43
#define PIN_RTC_IRQ_OUT (4)
44
#define PIN_AP_CLK (5)
45
#define PIN_GNSS_1PPS_OUT (6)
46
#define PIN_SPI0_CS_X (17)
47
#define PIN_SPI0_SCK (18)
48
#define PIN_SPI0_MOSI (19)
49
#define PIN_SPI0_MISO (20)
50
#define PIN_SPI1_CS_X (21)
51
#define PIN_SPI1_SCK (22)
52
#define PIN_SPI1_IO0 (23)
53
#define PIN_SPI1_IO1 (24)
54
#define PIN_SPI1_IO2 (25)
55
#define PIN_SPI1_IO3 (26)
56
#define PIN_SPI2_CS_X (27)
57
#define PIN_SPI2_SCK (28)
58
#define PIN_SPI2_MOSI (29)
59
#define PIN_SPI2_MISO (30)
60
#define PIN_HIF_IRQ_OUT (31)
61
#define PIN_HIF_GPIO0 (32)
62
#define PIN_SEN_IRQ_IN (37)
63
#define PIN_SPI3_CS0_X (38)
64
#define PIN_SPI3_CS1_X (39)
65
#define PIN_SPI3_CS2_X (40)
66
#define PIN_SPI3_SCK (41)
67
#define PIN_SPI3_MOSI (42)
68
#define PIN_SPI3_MISO (43)
69
#define PIN_I2C0_BCK (44)
70
#define PIN_I2C0_BDT (45)
71
#define PIN_PWM0 (46)
72
#define PIN_PWM1 (47)
73
#define PIN_PWM2 (48)
74
#define PIN_PWM3 (49)
75
76
/* APP GPIO: application power domain GPIOs */
77
78
#define PIN_IS_CLK (56)
79
#define PIN_IS_VSYNC (57)
80
#define PIN_IS_HSYNC (58)
81
#define PIN_IS_DATA0 (59)
82
#define PIN_IS_DATA1 (60)
83
#define PIN_IS_DATA2 (61)
84
#define PIN_IS_DATA3 (62)
85
#define PIN_IS_DATA4 (63)
86
#define PIN_IS_DATA5 (64)
87
#define PIN_IS_DATA6 (65)
88
#define PIN_IS_DATA7 (66)
89
#define PIN_UART2_TXD (67)
90
#define PIN_UART2_RXD (68)
91
#define PIN_UART2_CTS (69)
92
#define PIN_UART2_RTS (70)
93
#define PIN_SPI4_CS_X (71)
94
#define PIN_SPI4_SCK (72)
95
#define PIN_SPI4_MOSI (73)
96
#define PIN_SPI4_MISO (74)
97
#define PIN_EMMC_CLK (75)
98
#define PIN_SPI5_SCK (PIN_EMMC_CLK)
99
#define PIN_EMMC_CMD (76)
100
#define PIN_SPI5_CS_X (PIN_EMMC_CMD)
101
#define PIN_EMMC_DATA0 (77)
102
#define PIN_SPI5_MOSI (PIN_EMMC_DATA0)
103
#define PIN_EMMC_DATA1 (78)
104
#define PIN_SPI5_MISO (PIN_EMMC_DATA1)
105
#define PIN_EMMC_DATA2 (79)
106
#define PIN_EMMC_DATA3 (80)
107
#define PIN_SDIO_CLK (81)
108
#define PIN_SDIO_CMD (82)
109
#define PIN_SDIO_DATA0 (83)
110
#define PIN_SDIO_DATA1 (84)
111
#define PIN_SDIO_DATA2 (85)
112
#define PIN_SDIO_DATA3 (86)
113
#define PIN_SDIO_CD (87)
114
#define PIN_SDIO_WP (88)
115
#define PIN_SDIO_CMDDIR (89)
116
#define PIN_SDIO_DIR0 (90)
117
#define PIN_SDIO_DIR1_3 (91)
118
#define PIN_SDIO_CLKI (92)
119
#define PIN_I2S0_BCK (93)
120
#define PIN_I2S0_LRCK (94)
121
#define PIN_I2S0_DATA_IN (95)
122
#define PIN_I2S0_DATA_OUT (96)
123
#define PIN_I2S1_BCK (97)
124
#define PIN_I2S1_LRCK (98)
125
#define PIN_I2S1_DATA_IN (99)
126
#define PIN_I2S1_DATA_OUT (100)
127
#define PIN_MCLK (101)
128
#define PIN_PDM_CLK (102)
129
#define PIN_PDM_IN (103)
130
#define PIN_PDM_OUT (104)
131
#define PIN_USB_VBUSINT (105)
132
133
#endif
/* __ARCH_ARM_INCLUDE_CXD56XX_PIN_H */
spresense
nuttx
arch
arm
include
cxd56xx
pin.h
Generated by
1.9.4