Trident IoT SDK
Loading...
Searching...
No Matches
T32CZ20_gpio.h
Go to the documentation of this file.
1
25
26#ifndef T32CZ20_GPIO_H_
27#define T32CZ20_GPIO_H_
28
29#include "tr_hal_platform.h"
30
31
37
38
42#define TR_HAL_MAX_PIN_NUMBER (32)
43
44
55#ifdef GPIO_SECURE_EN
56 #define CHIP_MEMORY_MAP_GPIO_BASE (0x50001000UL)
57#else
58 #define CHIP_MEMORY_MAP_GPIO_BASE (0x40001000UL)
59#endif // GPIO_SECURE_EN
60
61#ifdef SYSCTRL_SECURE_EN
62 #define CHIP_MEMORY_MAP_SYS_CTRL_BASE (0x50000000UL)
63#else
64 #define CHIP_MEMORY_MAP_SYS_CTRL_BASE (0x40000000UL)
65#endif // SYSCTRL_SECURE_EN
66
67#ifdef XDMA_SECURE_EN
68 #define CHIP_MEMORY_MAP_XDMA_BASE (0x50028000UL)
69#else
70 #define CHIP_MEMORY_MAP_XDMA_BASE (0x40028000UL)
71#endif // XDMA_SECURE_EN
72
73
77typedef struct
78{
79 // a WRITE sets the output state to HIGH
80 // a READ gets the input pin state
81 __IO uint32_t state; // 0x00
82
83 // a WRITE sets the output state to LOW
84 // a READ gets the GPIO interrupt status
85 __IO uint32_t interrupt_status; // 0x04
86
87 // these two registers set a pin for output or input. Note that
88 // all pins start as inputs (0) on chip bootup.
89 // to set a pin for output: set a 1 in that bit in output_enable.
90 // to set a pin for input: set a 1 in that bit in input_enable.
91 //
92 // read output_enable (0x08) to see if the pin is set for input or output
93 // A value of 0 means that pin is set for input
94 // A value of 1 means that pin is set for output
95 //
96 // read input_enable (0x0C) to see if the output pin is set for HIGH or LOW output
97 // 0 = output low
98 // 1 = output high
99 __IO uint32_t output_enable; // 0x08
100 __IO uint32_t input_enable; // 0x0C
101
102 // settings for configuring interrupts on GPIO pins
103 // enable / disable registers are a pair
104 // read the enable register to get the current setting
105 __IO uint32_t enable_interrupt; // 0x10
106 __IO uint32_t disable_interrupt; // 0x14
107 // edge/level are a pair, default is level
108 __IO uint32_t enable_edge_trigger_interrupt; // 0x18
109 __IO uint32_t enable_level_trigger_interrupt; // 0x1C
110 // high/low are a pair, default is low
111 __IO uint32_t enable_active_high_trigger_interrupt; // 0x20
112 __IO uint32_t enable_active_low_trigger_interrupt; // 0x24
113 // enable_edge/disable_edge are a pait, default is disable
114 __IO uint32_t enable_any_edge_trigger_interrupt; // 0x28
115 __IO uint32_t disable_any_edge_trigger_interrupt; // 0x2C
116
117 // this register is how to clear edge triggered interrupts
118 // level sensitive interrupts stay until the pin state is cleared
119 __IO uint32_t clear_interrupt; // 0x30
120
121 // reserved
122 __IO uint32_t reserved1; // 0x34
123
124 // in addition to setting a pin to input or output with output_enable/input_enable
125 // registers, these must also be set, enable when INPUT and disable when OUTPUT
126 __IO uint32_t enable_input_mode; // 0x38
127 __IO uint32_t disable_input_mode; // 0x3C
128
129 // debounce settings
130 // set 1 in enable_debounce for that pin bit to enable debounce
131 // set 1 in disable_debounce for that pin bit to disable debounce
132 // note that reading enable_debounce and disable_debounce give the same value
133 // on read a 1 means enabled and 0 means disabled
134 __IO uint32_t enable_debounce; // 0x40
135 __IO uint32_t disable_debounce; // 0x44
136 __IO uint32_t debounce_time; // 0x48
137
138 __IO uint32_t reserved2; // 0x4C
139
140 // these fields are for setting a pin change to wake the chip from deep sleep
141 __IO uint32_t enable_wake_from_sleep; // 0x50
142 __IO uint32_t disable_wake_from_sleep; // 0x54
143 __IO uint32_t wake_on_high_state; // 0x58
144 __IO uint32_t wake_on_low_state; // 0x5C
145
147
148
149// *****************************************************************
150// *** some registers are multi-purpose:
151
152// at register address 0x00, a read means get pin state, a write is set_output_high
153#define set_output_high state
154
155// at register address 0x04, a read is get interrupt status, a write is set_output_low
156#define set_output_low interrupt_status
157
158
159// *****************************************************************
160// this orients the GPIO_REGISTERS struct with the correct addresses
161// so referencing a field will now read/write the correct GPIO register
162// chip address
163#define GPIO_CHIP_REGISTERS ((GPIO_REGISTERS_T *) CHIP_MEMORY_MAP_GPIO_BASE)
164
165
171typedef struct
172{
173 __IO uint32_t enable; // 0x00
174
176
177// *****************************************************************
178// this orients the XDMA_REGISTERS struct with the correct addresses
179// so referencing a field will now read/write the correct XDMA register
180// chip address
181#define XDMA_CHIP_REGISTERS ((XDMA_REGISTERS_T *) CHIP_MEMORY_MAP_XDMA_BASE)
182
183
189typedef enum
190{
191 // ******************************************************
192 // values for pin output options
193 // these values are set by the chip - DO NOT CHANGE
194 // ******************************************************
195 // simple GPIO
197 // -------- UART 0 ---------------------
199 // -------- UART 1 ---------------------
202 // -------- UART 2 ---------------------
205 // -------- PWM ------------------------
211 // -------- infrared modulator ---------
213 // -------- I2C ------------------------
220 // -------- SPI 0 ----------------------
230 // -------- SPI 1 ----------------------
240 // -------- I2S ------------------------
245
246 // ---- special case -------------------
247 // ---- serial wire debug (pin 11) -----
249
250 // ----- radio debug -------------------
267
268 // max
270
271 // *****************************************************************
272 // values for pin input options
273 // these values are set by the chip - DO NOT CHANGE
274 // input values - these are NOT set by the chip
275 // *****************************************************************
277
278 // imux register 0xA0
283
284 // imux register 0xA4
285 //TR_HAL_GPIO_MODE_I2C_SLAVE_SDA // both output and input
286 //TR_HAL_GPIO_MODE_I2C_SLAVE_SCL // both output and input
289
290 // imux register 0xA8
291 //TR_HAL_GPIO_MODE_I2C_1_MASTER_SDA // both output and input
292 //TR_HAL_GPIO_MODE_I2C_1_MASTER_SCL // both output and input
293 //TR_HAL_GPIO_MODE_I2C_0_MASTER_SDA // both output and input
294 //TR_HAL_GPIO_MODE_I2C_0_MASTER_SCL // both output and input
295
296 // imux register 0xB0
301
302 // imux register 0xB4
305
306 // imux register 0xB8
311
312 // imux register 0xBC
316
318
319
328
329
338
339
352
353
371
372
391
392
393
407
408
418
419
423
424// there is only one event that can come back from a GPIO callback currently
425// reserve 0 for none in case we need it later
431
432// GPIO/button interrupt callback function type
433// to create a function in the app that can be used as a callback:
434// void app_gpio_button_callback(tr_hal_gpio_pin_t pin, tr_hal_gpio_event_t event)
435// where pin = the pin triggered
436// and event = what happened (TR_HAL_GPIO_EVENT_xxx)
437// this is set using the tr_hal_gpio_set_interrupt_callback API
439
440
471typedef struct
472{
473 // direction - INPUT or OUTPUT
474 tr_hal_direction_t direction;
475
476 // output level
477 tr_hal_level_t output_level;
478
479 // open drain
480 bool enable_open_drain;
481
482 // output drive strength
483 tr_hal_drive_strength_t drive_strength;
484
485 // interrupt trigger (edge high, edge low, etc)
486 // (note: int priority is not set here since it is set for ALL GPIOs)
487 tr_hal_trigger_t interrupt_trigger;
488
489 // event callback
490 tr_hal_gpio_event_callback_t event_handler_fx;
491
492 // pull up / pull down
493 tr_hal_pullopt_t pull_mode;
494
495 // debounce
496 // (note: debounce time is not set here since it is set for ALL GPIOs)
497 bool enable_debounce;
498
499 // set wake mode for this GPIO
500 tr_hal_wake_mode_t wake_mode;
501
503
504
510#define DEFAULT_GPIO_OUTPUT_CONFIG \
511 { \
512 .direction = TR_HAL_GPIO_DIRECTION_OUTPUT, \
513 .output_level = TR_HAL_GPIO_LEVEL_HIGH, \
514 .enable_open_drain = false, \
515 .drive_strength = TR_HAL_DRIVE_STRENGTH_DEFAULT, \
516 .interrupt_trigger = TR_HAL_GPIO_TRIGGER_NONE, \
517 .event_handler_fx = NULL, \
518 .pull_mode = TR_HAL_PULLOPT_PULL_NONE, \
519 .enable_debounce = false, \
520 .wake_mode = TR_HAL_WAKE_MODE_NONE, \
521 }
522
523#define DEFAULT_GPIO_INPUT_CONFIG \
524 { \
525 .direction = TR_HAL_GPIO_DIRECTION_INPUT, \
526 .interrupt_trigger = TR_HAL_GPIO_TRIGGER_EITHER_EDGE, \
527 .event_handler_fx = NULL, \
528 .pull_mode = TR_HAL_PULLOPT_PULL_NONE, \
529 .enable_debounce = true, \
530 .wake_mode = false, \
531 .output_level = TR_HAL_GPIO_LEVEL_HIGH, \
532 .enable_open_drain = false, \
533 .drive_strength = TR_HAL_DRIVE_STRENGTH_DEFAULT \
534 }
535
536
540
541
542#endif // T32CZ20_GPIO_H_
This file contains the CHIP SPECIFIC types and defines for the T32CZ20.
tr_hal_drive_strength_t
values for setting the GPIO drive strength in the Trident HAL APIs NOTE: these CANNOT be changed....
Definition T32CM11_gpio.h:246
tr_hal_wake_mode_t
values for setting the GPIO wake mode
Definition T32CM11_gpio.h:260
tr_hal_pullopt_t
values for setting the pull option in the Trident HAL GPIO APIs NOTE: these CANNOT be changed....
Definition T32CM11_gpio.h:208
tr_hal_direction_t
values for setting the direction in the Trident HAL GPIO APIs
Definition T32CM11_gpio.h:172
tr_hal_pin_mode_t
these are the pin MODEs to be passed to tr_hal_gpio_set_mode note that these are defined by the chip ...
Definition T32CM11_gpio.h:137
tr_hal_gpio_event_t
GPIO interrupt callback functions.
Definition T32CM11_gpio.h:274
tr_hal_debounce_time_t
values for setting the debounce time register each individual GPIO can be set to enable or disable de...
Definition T32CM11_gpio.h:228
tr_hal_trigger_t
values for setting the interrupt trigger in the Trident HAL GPIO APIs
Definition T32CM11_gpio.h:192
void(* tr_hal_gpio_event_callback_t)(tr_hal_gpio_pin_t pin, tr_hal_gpio_event_t event)
Definition T32CM11_gpio.h:285
tr_hal_level_t
values for setting the level in the Trident HAL GPIO APIs
Definition T32CM11_gpio.h:182
@ TR_HAL_DRIVE_STRENGTH_20_MA
Definition T32CM11_gpio.h:250
@ TR_HAL_DRIVE_STRENGTH_DEFAULT
Definition T32CM11_gpio.h:252
@ TR_HAL_DRIVE_STRENGTH_4_MA
Definition T32CM11_gpio.h:247
@ TR_HAL_DRIVE_STRENGTH_14_MA
Definition T32CM11_gpio.h:249
@ TR_HAL_DRIVE_STRENGTH_MAX
Definition T32CM11_gpio.h:251
@ TR_HAL_DRIVE_STRENGTH_10_MA
Definition T32CM11_gpio.h:248
@ TR_HAL_WAKE_MODE_INPUT_LOW
Definition T32CM11_gpio.h:262
@ TR_HAL_WAKE_MODE_INPUT_HIGH
Definition T32CM11_gpio.h:263
@ TR_HAL_WAKE_MODE_NONE
Definition T32CM11_gpio.h:261
@ TR_HAL_PULLOPT_PULL_DOWN_1M
Definition T32CM11_gpio.h:212
@ TR_HAL_PULLOPT_PULL_UP_100K
Definition T32CM11_gpio.h:215
@ TR_HAL_PULLOPT_PULL_NONE
Definition T32CM11_gpio.h:209
@ TR_HAL_PULLOPT_PULL_UP_10K
Definition T32CM11_gpio.h:214
@ TR_HAL_PULLOPT_MAX_VALUE
Definition T32CM11_gpio.h:217
@ TR_HAL_PULLOPT_PULL_ALSO_NONE
Definition T32CM11_gpio.h:213
@ TR_HAL_PULLOPT_PULL_DOWN_10K
Definition T32CM11_gpio.h:210
@ TR_HAL_PULLOPT_PULL_UP_1M
Definition T32CM11_gpio.h:216
@ TR_HAL_PULLOPT_PULL_DOWN_100K
Definition T32CM11_gpio.h:211
@ TR_HAL_GPIO_DIRECTION_INPUT
Definition T32CM11_gpio.h:174
@ TR_HAL_GPIO_DIRECTION_OUTPUT
Definition T32CM11_gpio.h:173
@ TR_HAL_GPIO_MODE_PWM1
Definition T32CM11_gpio.h:146
@ TR_HAL_GPIO_MODE_PWM0
Definition T32CM11_gpio.h:145
@ TR_HAL_GPIO_MODE_PWM3
Definition T32CM11_gpio.h:148
@ TR_HAL_GPIO_MODE_PWM2
Definition T32CM11_gpio.h:147
@ TR_HAL_GPIO_MODE_PWM4
Definition T32CM11_gpio.h:149
@ TR_HAL_GPIO_MODE_GPIO
Definition T32CM11_gpio.h:138
@ TR_HAL_GPIO_EVENT_INPUT_TRIGGERED
Definition T32CM11_gpio.h:276
@ TR_HAL_GPIO_EVENT_NONE
Definition T32CM11_gpio.h:275
@ TR_HAL_DEBOUNCE_TIME_512_CLOCKS
Definition T32CM11_gpio.h:233
@ TR_HAL_DEBOUNCE_TIME_MAX_VALUE
Definition T32CM11_gpio.h:237
@ TR_HAL_DEBOUNCE_TIME_2048_CLOCKS
Definition T32CM11_gpio.h:235
@ TR_HAL_DEBOUNCE_TIME_32_CLOCKS
Definition T32CM11_gpio.h:229
@ TR_HAL_DEBOUNCE_TIME_128_CLOCKS
Definition T32CM11_gpio.h:231
@ TR_HAL_DEBOUNCE_TIME_1024_CLOCKS
Definition T32CM11_gpio.h:234
@ TR_HAL_DEBOUNCE_TIME_4096_CLOCKS
Definition T32CM11_gpio.h:236
@ TR_HAL_DEBOUNCE_TIME_64_CLOCKS
Definition T32CM11_gpio.h:230
@ TR_HAL_DEBOUNCE_TIME_256_CLOCKS
Definition T32CM11_gpio.h:232
@ TR_HAL_GPIO_TRIGGER_LEVEL_LOW
Definition T32CM11_gpio.h:197
@ TR_HAL_GPIO_TRIGGER_EITHER_EDGE
Definition T32CM11_gpio.h:196
@ TR_HAL_GPIO_TRIGGER_LEVEL_HIGH
Definition T32CM11_gpio.h:198
@ TR_HAL_GPIO_TRIGGER_NONE
Definition T32CM11_gpio.h:193
@ TR_HAL_GPIO_TRIGGER_RISING_EDGE
Definition T32CM11_gpio.h:194
@ TR_HAL_GPIO_TRIGGER_FALLING_EDGE
Definition T32CM11_gpio.h:195
@ TR_HAL_GPIO_LEVEL_HIGH
Definition T32CM11_gpio.h:184
@ TR_HAL_GPIO_LEVEL_LOW
Definition T32CM11_gpio.h:183
@ TR_HAL_GPIO_MODE_DBGB
Definition T32CZ20_gpio.h:262
@ TR_HAL_GPIO_MODE_I2S_BCK
Definition T32CZ20_gpio.h:241
@ TR_HAL_GPIO_MODE_SPI_1_PERIPH_CS
Definition T32CZ20_gpio.h:310
@ TR_HAL_GPIO_MODE_SPI_0_PERIPH_SDATA_3
Definition T32CZ20_gpio.h:303
@ TR_HAL_GPIO_MODE_UART_2_RX
Definition T32CZ20_gpio.h:280
@ TR_HAL_GPIO_MODE_SPI_1_CS_2
Definition T32CZ20_gpio.h:238
@ TR_HAL_GPIO_MODE_SPI_0_CS_2
Definition T32CZ20_gpio.h:228
@ TR_HAL_GPIO_MODE_SPI_0_CLK
Definition T32CZ20_gpio.h:221
@ TR_HAL_GPIO_MODE_DBG5
Definition T32CZ20_gpio.h:256
@ TR_HAL_GPIO_MODE_SPI_1_SDATA_2
Definition T32CZ20_gpio.h:234
@ TR_HAL_GPIO_MODE_DBG1
Definition T32CZ20_gpio.h:252
@ TR_HAL_GPIO_MODE_DBGF
Definition T32CZ20_gpio.h:266
@ TR_HAL_GPIO_MODE_I2C_SLAVE_SCL
Definition T32CZ20_gpio.h:218
@ TR_HAL_GPIO_MODE_SPI_1_SDATA_0
Definition T32CZ20_gpio.h:232
@ TR_HAL_GPIO_MODE_UART_2_RTSN
Definition T32CZ20_gpio.h:204
@ TR_HAL_GPIO_MODE_I2C_1_MASTER_SDA
Definition T32CZ20_gpio.h:217
@ TR_HAL_GPIO_MODE_IRM
Definition T32CZ20_gpio.h:212
@ TR_HAL_GPIO_MODE_I2C_1_MASTER_SCL
Definition T32CZ20_gpio.h:216
@ TR_HAL_GPIO_MODE_SPI_0_SDATA_0
Definition T32CZ20_gpio.h:222
@ TR_HAL_GPIO_MODE_SPI_1_PERIPH_SDATA_3
Definition T32CZ20_gpio.h:313
@ TR_HAL_GPIO_MODE_DBG9
Definition T32CZ20_gpio.h:260
@ TR_HAL_GPIO_MODE_UART_1_TX
Definition T32CZ20_gpio.h:200
@ TR_HAL_GPIO_MODE_SPI_0_SDATA_1
Definition T32CZ20_gpio.h:223
@ TR_HAL_GPIO_INPUT_MODE_MAX
Definition T32CZ20_gpio.h:315
@ TR_HAL_GPIO_MODE_SPI_0_CS_3
Definition T32CZ20_gpio.h:229
@ TR_HAL_GPIO_MODE_DBG7
Definition T32CZ20_gpio.h:258
@ TR_HAL_GPIO_MODE_UART_2_CTS
Definition T32CZ20_gpio.h:279
@ TR_HAL_GPIO_MODE_I2S_SDI
Definition T32CZ20_gpio.h:287
@ TR_HAL_GPIO_MODE_I2S_SDO
Definition T32CZ20_gpio.h:243
@ TR_HAL_GPIO_MODE_SPI_0_PERIPH_CS
Definition T32CZ20_gpio.h:300
@ TR_HAL_GPIO_MODE_UART_2_TX
Definition T32CZ20_gpio.h:203
@ TR_HAL_GPIO_MODE_SPI_1_CS_3
Definition T32CZ20_gpio.h:239
@ TR_HAL_GPIO_MODE_SPI_0_SDATA_3
Definition T32CZ20_gpio.h:225
@ TR_HAL_GPIO_MODE_SPI_0_CS_1
Definition T32CZ20_gpio.h:227
@ TR_HAL_GPIO_MODE_I2C_SLAVE_SDA
Definition T32CZ20_gpio.h:219
@ TR_HAL_GPIO_MODE_UART_1_RX
Definition T32CZ20_gpio.h:282
@ TR_HAL_GPIO_MODE_I2S_MCLK
Definition T32CZ20_gpio.h:244
@ TR_HAL_GPIO_MODE_SPI_0_PERIPH_SDATA_0
Definition T32CZ20_gpio.h:298
@ TR_HAL_GPIO_MODE_DBG0
Definition T32CZ20_gpio.h:251
@ TR_HAL_GPIO_MODE_SPI_0_CS_0
Definition T32CZ20_gpio.h:226
@ TR_HAL_GPIO_MODE_SPI_1_CLK
Definition T32CZ20_gpio.h:231
@ TR_HAL_GPIO_MODE_DBG4
Definition T32CZ20_gpio.h:255
@ TR_HAL_GPIO_MODE_DBGA
Definition T32CZ20_gpio.h:261
@ TR_HAL_GPIO_MODE_SPI_1_PERIPH_SDATA_1
Definition T32CZ20_gpio.h:307
@ TR_HAL_GPIO_MODE_SPI_1_PERIPH_CLK
Definition T32CZ20_gpio.h:309
@ TR_HAL_GPIO_MODE_DBGC
Definition T32CZ20_gpio.h:263
@ TR_HAL_GPIO_MODE_SPI_1_CS_0
Definition T32CZ20_gpio.h:236
@ TR_HAL_GPIO_MODE_DBG2
Definition T32CZ20_gpio.h:253
@ TR_HAL_GPIO_MODE_SPI_0_PERIPH_SDATA_1
Definition T32CZ20_gpio.h:297
@ TR_HAL_GPIO_MODE_UART_0_TX
Definition T32CZ20_gpio.h:198
@ TR_HAL_GPIO_MODE_SWDIO
Definition T32CZ20_gpio.h:248
@ TR_HAL_GPIO_MODE_DBGE
Definition T32CZ20_gpio.h:265
@ TR_HAL_GPIO_MODE_DBG8
Definition T32CZ20_gpio.h:259
@ TR_HAL_GPIO_MODE_SPI_0_PERIPH_CLK
Definition T32CZ20_gpio.h:299
@ TR_HAL_GPIO_MODE_UART_0_RX
Definition T32CZ20_gpio.h:288
@ TR_HAL_GPIO_OUTPUT_MODE_MAX
Definition T32CZ20_gpio.h:269
@ TR_HAL_GPIO_MODE_I2C_0_MASTER_SDA
Definition T32CZ20_gpio.h:215
@ TR_HAL_GPIO_INPUT_MODE_MIN
Definition T32CZ20_gpio.h:276
@ TR_HAL_GPIO_MODE_SPI_1_SDATA_3
Definition T32CZ20_gpio.h:235
@ TR_HAL_GPIO_MODE_UART_1_CTS
Definition T32CZ20_gpio.h:281
@ TR_HAL_GPIO_MODE_SPI_1_CS_1
Definition T32CZ20_gpio.h:237
@ TR_HAL_GPIO_MODE_DBG6
Definition T32CZ20_gpio.h:257
@ TR_HAL_GPIO_MODE_I2S_WCK
Definition T32CZ20_gpio.h:242
@ TR_HAL_GPIO_MODE_I2C_0_MASTER_SCL
Definition T32CZ20_gpio.h:214
@ TR_HAL_GPIO_MODE_SPI_0_SDATA_2
Definition T32CZ20_gpio.h:224
@ TR_HAL_GPIO_MODE_SPI_1_PERIPH_SDATA_0
Definition T32CZ20_gpio.h:308
@ TR_HAL_GPIO_MODE_SPI_1_SDATA_1
Definition T32CZ20_gpio.h:233
@ TR_HAL_GPIO_MODE_SPI_0_PERIPH_SDATA_2
Definition T32CZ20_gpio.h:304
@ TR_HAL_GPIO_MODE_UART_1_RTSN
Definition T32CZ20_gpio.h:201
@ TR_HAL_GPIO_MODE_DBG3
Definition T32CZ20_gpio.h:254
@ TR_HAL_GPIO_MODE_SPI_1_PERIPH_SDATA_2
Definition T32CZ20_gpio.h:314
@ TR_HAL_GPIO_MODE_DBGD
Definition T32CZ20_gpio.h:264
Definition T32CM11_gpio.h:62
__IO uint32_t wake_on_high_state
Definition T32CZ20_gpio.h:143
__IO uint32_t reserved2
Definition T32CZ20_gpio.h:138
__IO uint32_t enable_input_mode
Definition T32CZ20_gpio.h:126
__IO uint32_t wake_on_low_state
Definition T32CZ20_gpio.h:144
__IO uint32_t reserved1
Definition T32CZ20_gpio.h:122
__IO uint32_t enable_wake_from_sleep
Definition T32CZ20_gpio.h:141
__IO uint32_t enable_debounce
Definition T32CM11_gpio.h:108
__IO uint32_t disable_debounce
Definition T32CM11_gpio.h:109
__IO uint32_t disable_wake_from_sleep
Definition T32CZ20_gpio.h:142
__IO uint32_t debounce_time
Definition T32CM11_gpio.h:110
__IO uint32_t disable_input_mode
Definition T32CZ20_gpio.h:127
offsets for where to find chip registers needed for xDMA register . see section 10....
Definition T32CZ20_gpio.h:172
__IO uint32_t enable
Definition T32CZ20_gpio.h:173
pin type
Definition tr_hal_platform.h:23
Definition T32CM11_gpio.h:319