RTEMS  5.1
alt_generalpurpose_io.h
Go to the documentation of this file.
1 
11 /******************************************************************************
12 *
13 * Copyright 2013 Altera Corporation. All Rights Reserved.
14 *
15 * Redistribution and use in source and binary forms, with or without
16 * modification, are permitted provided that the following conditions are met:
17 *
18 * 1. Redistributions of source code must retain the above copyright notice,
19 * this list of conditions and the following disclaimer.
20 *
21 * 2. Redistributions in binary form must reproduce the above copyright notice,
22 * this list of conditions and the following disclaimer in the documentation
23 * and/or other materials provided with the distribution.
24 *
25 * 3. The name of the author may not be used to endorse or promote products
26 * derived from this software without specific prior written permission.
27 *
28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER "AS IS" AND ANY EXPRESS OR
29 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
30 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE DISCLAIMED. IN NO
31 * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
32 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
33 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
34 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
35 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
36 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
37 * OF SUCH DAMAGE.
38 *
39 ******************************************************************************/
40 
41 #ifndef __ALT_GPIO_H__
42 #define __ALT_GPIO_H__
43 
44 #include <stdint.h>
45 #include "hwlib.h"
46 
47 #ifdef __cplusplus
48 extern "C" {
49 #endif /* __cplusplus */
50 
51 #define ALT_GPIO_BITMASK 0x1FFFFFFF
52 
53 /* If the GPIO special test mode flag was not defined in the makefile, */
54  /* set the ALT_GPIO_DATAREAD_TEST_MODE flag to false to specify that */
55  /* the production code version of alt_gpio_port_data_read() is included. */
56  /* If the flag is defined as true in the makefile, then the test version */
57  /* located in the test code file is substituted instead of the version */
58  /* in this file. */
59 #ifndef ALT_GPIO_DATAREAD_TEST_MODE
60 #define ALT_GPIO_DATAREAD_TEST_MODE false
61 #endif
62 
63 /******************************************************************************/
81 /******************************************************************************/
107 /******************************************************************************/
113 typedef enum ALT_GPIO_PIN_DIR_e
114 {
120 
121 /******************************************************************************/
128 {
134 
135 /******************************************************************************/
142 typedef enum ALT_GPIO_PIN_POL_e
143 {
147 
152 
153 /******************************************************************************/
163 {
169 
170 /******************************************************************************/
179 {
185 
186 /******************************************************************************/
192 {
198 
199 
200 /******************************************************************************/
206 typedef enum ALT_GPIO_PORT_e
207 {
212 
217 
226 
232 
233 
234 /******************************************************************************/
246 typedef enum ALT_GPIO_PORTBIT_e
247 {
249  ALT_GPIO_BIT0 = ALT_TWO_TO_POW0,
251  ALT_GPIO_BIT1 = ALT_TWO_TO_POW1,
253  ALT_GPIO_BIT2 = ALT_TWO_TO_POW2,
255  ALT_GPIO_BIT3 = ALT_TWO_TO_POW3,
257  ALT_GPIO_BIT4 = ALT_TWO_TO_POW4,
259  ALT_GPIO_BIT5 = ALT_TWO_TO_POW5,
261  ALT_GPIO_BIT6 = ALT_TWO_TO_POW6,
263  ALT_GPIO_BIT7 = ALT_TWO_TO_POW7,
265  ALT_GPIO_BIT8 = ALT_TWO_TO_POW8,
267  ALT_GPIO_BIT9 = ALT_TWO_TO_POW9,
269  ALT_GPIO_BIT10 = ALT_TWO_TO_POW10,
271  ALT_GPIO_BIT11 = ALT_TWO_TO_POW11,
273  ALT_GPIO_BIT12 = ALT_TWO_TO_POW12,
275  ALT_GPIO_BIT13 = ALT_TWO_TO_POW13,
277  ALT_GPIO_BIT14 = ALT_TWO_TO_POW14,
279  ALT_GPIO_BIT15 = ALT_TWO_TO_POW15,
281  ALT_GPIO_BIT16 = ALT_TWO_TO_POW16,
283  ALT_GPIO_BIT17 = ALT_TWO_TO_POW17,
285  ALT_GPIO_BIT18 = ALT_TWO_TO_POW18,
287  ALT_GPIO_BIT19 = ALT_TWO_TO_POW19,
289  ALT_GPIO_BIT20 = ALT_TWO_TO_POW20,
291  ALT_GPIO_BIT21 = ALT_TWO_TO_POW21,
293  ALT_GPIO_BIT22 = ALT_TWO_TO_POW22,
295  ALT_GPIO_BIT23 = ALT_TWO_TO_POW23,
297  ALT_GPIO_BIT24 = ALT_TWO_TO_POW24,
299  ALT_GPIO_BIT25 = ALT_TWO_TO_POW25,
301  ALT_GPIO_BIT26 = ALT_TWO_TO_POW26,
303  ALT_GPIO_BIT27 = ALT_TWO_TO_POW27,
305  ALT_GPIO_BIT28 = ALT_TWO_TO_POW28,
306  ALT_GPIO_BIT29 = ALT_TWO_TO_POW29, /* Not currently used */
307  ALT_GPIO_BIT30 = ALT_TWO_TO_POW30, /* Not currently used */
308  ALT_GPIO_BIT31 = (int32_t) (1UL<<31), /* Not currently used */
309 
310  ALT_GPIO_BITNUM_MAX = (28),
311  ALT_GPIO_BIT_MAX = (1 << ALT_GPIO_BITNUM_MAX),
312  ALT_END_OF_GPIO_PORT_SIGNALS = (32)
314 
315 
316 
317 /******************************************************************************/
325 
326 /******************************************************************************/
334 
335 /******************************************************************************/
358  uint32_t mask, uint32_t config);
359 
360 /******************************************************************************/
379  uint32_t mask);
380 
381 /******************************************************************************/
402  uint32_t mask, uint32_t val);
403 
404 /******************************************************************************/
421 uint32_t alt_gpio_port_data_read(ALT_GPIO_PORT_t gpio_pid, uint32_t mask);
422 
423 
425 /******************************************************************************/
433 /******************************************************************************/
457  uint32_t mask, uint32_t config);
458 
459 /******************************************************************************/
479  uint32_t mask);
480 
481 /******************************************************************************/
504  uint32_t mask, uint32_t config);
505 
506 /******************************************************************************/
528  uint32_t mask);
529 
530 
532 /******************************************************************************/
537 /******************************************************************************/
562  uint32_t mask, uint32_t config);
563 
564 /******************************************************************************/
585  uint32_t mask);
586 
587 /******************************************************************************/
606  uint32_t config);
607 
608 /******************************************************************************/
627 
628 /******************************************************************************/
655  uint32_t mask, ALT_GPIO_PIN_DIR_t dir, ALT_GPIO_PIN_TYPE_t type,
657  uint32_t data);
658 
660 /******************************************************************************/
665 /******************************************************************************/
682 
683 /******************************************************************************/
700 
701 /******************************************************************************/
714 
715 
716 /******************************************************************************/
738  uint32_t mask, uint32_t val);
739 
740 /******************************************************************************/
755 
756 /******************************************************************************/
772 
773 /******************************************************************************/
791  uint32_t clrmask);
792 
795 /******************************************************************************/
806 /******************************************************************************/
813 typedef enum ALT_GPIO_1BIT_e
814 {
950  ALT_GPIO_1BIT_67, /* Not bonded out on some versions */
952  ALT_GPIO_1BIT_68, /* Not bonded out on some versions */
954  ALT_GPIO_1BIT_69, /* Not bonded out on some versions */
955 
957  ALT_GPIO_1BIT_70, /* Not bonded out on some versions */
958 
959 
966  ALT_HLGPI_0, /* Not bonded out on some versions */
968  ALT_HLGPI_1, /* Not bonded out on some versions */
970  ALT_HLGPI_2, /* Not bonded out on some versions */
972  ALT_HLGPI_3, /* Not bonded out on some versions */
974  ALT_HLGPI_4, /* Not bonded out on some versions */
976  ALT_HLGPI_5, /* Not bonded out on some versions */
978  ALT_HLGPI_6, /* Not bonded out on some versions */
980  ALT_HLGPI_7, /* Not bonded out on some versions */
982  ALT_HLGPI_8, /* Not bonded out on some versions */
984  ALT_HLGPI_9, /* Not bonded out on some versions */
986  ALT_HLGPI_10, /* Not bonded out on some versions */
988  ALT_HLGPI_11, /* Not bonded out on some versions */
990  ALT_HLGPI_12, /* Not bonded out on some versions */
992  ALT_HLGPI_13, /* Not bonded out on some versions */
993 
994  ALT_HLGPI_14, /* Not bonded out */
995 
996  ALT_HLGPI_15, /* Not bonded out */
997 
998  ALT_GPIO_INVALID,
999  ALT_END_OF_GPIO_SIGNALS = -1,
1000  ALT_LAST_VALID_GPIO_BIT = ALT_HLGPI_15
1001 } ALT_GPIO_1BIT_t;
1002 
1003 
1004 /******************************************************************************/
1010 {
1030 
1031 /******************************************************************************/
1037 {
1045 
1048 /******************************************************************************/
1053 /******************************************************************************/
1078  ALT_GPIO_PIN_DATA_t data);
1079 
1080 /******************************************************************************/
1098 
1099 /******************************************************************************/
1126  uint32_t len);
1127 
1128 /******************************************************************************/
1157  uint32_t len);
1158 
1159 /******************************************************************************/
1193  ALT_GPIO_CONFIG_RECORD_t *config_array, uint32_t len);
1194 
1195 
1197 /******************************************************************************/
1204 /******************************************************************************/
1214 uint32_t alt_gpio_port_idcode_get(ALT_GPIO_PORT_t gpio_pid);
1215 
1216 /******************************************************************************/
1226 uint32_t alt_gpio_port_ver_get(ALT_GPIO_PORT_t gpio_pid);
1227 
1228 
1229 /******************************************************************************/
1234 
1235 
1236 /******************************************************************************/
1242 
1243 /******************************************************************************/
1251  uint32_t bitmask);
1252 
1253 
1257 #ifdef __cplusplus
1258 }
1259 #endif /* __cplusplus */
1260 #endif /* __ALT_GPIO_H__ */
Definition: alt_generalpurpose_io.h:922
Definition: alt_generalpurpose_io.h:884
Definition: alt_generalpurpose_io.h:902
Definition: alt_generalpurpose_io.h:968
Definition: alt_generalpurpose_io.h:990
Definition: alt_generalpurpose_io.h:275
ALT_GPIO_PORTBIT_t alt_gpio_bit_to_port_pin(ALT_GPIO_1BIT_t pin_num)
Definition: alt_generalpurpose_io.c:748
Definition: alt_generalpurpose_io.h:211
ALT_GPIO_PIN_TYPE_e
Definition: alt_generalpurpose_io.h:127
Definition: deflate.c:115
Definition: alt_generalpurpose_io.h:840
Definition: alt_generalpurpose_io.h:864
ALT_STATUS_CODE alt_gpio_group_config_get2(ALT_GPIO_1BIT_t *pinid_array, ALT_GPIO_CONFIG_RECORD_t *config_array, uint32_t len)
Definition: alt_generalpurpose_io.c:702
ALT_GPIO_PIN_DATA_t data
Definition: alt_generalpurpose_io.h:1028
ALT_GPIO_PIN_TYPE_t type
Definition: alt_generalpurpose_io.h:1019
Definition: alt_generalpurpose_io.h:984
Definition: alt_generalpurpose_io.h:904
uint32_t alt_gpio_port_debounce_get(ALT_GPIO_PORT_t gpio_pid, uint32_t mask)
Definition: alt_generalpurpose_io.c:290
Definition: alt_generalpurpose_io.h:924
Definition: alt_generalpurpose_io.h:277
Definition: alt_generalpurpose_io.h:940
Definition: alt_generalpurpose_io.h:916
ALT_STATUS_CODE alt_gpio_uninit(void)
Definition: alt_generalpurpose_io.c:82
Definition: alt_generalpurpose_io.h:273
ALT_GPIO_1BIT_t alt_gpio_port_pin_to_bit(ALT_GPIO_PORT_t pid, uint32_t bitmask)
Definition: alt_generalpurpose_io.c:764
Definition: alt_generalpurpose_io.h:926
ALT_GPIO_1BIT_e
Definition: alt_generalpurpose_io.h:813
ALT_GPIO_PIN_DIR_t direction
Definition: alt_generalpurpose_io.h:1016
Definition: alt_generalpurpose_io.h:305
Definition: alt_generalpurpose_io.h:146
ALT_STATUS_CODE alt_gpio_port_int_pol_set(ALT_GPIO_PORT_t gpio_pid, uint32_t mask, uint32_t config)
Definition: alt_generalpurpose_io.c:225
Definition: alt_generalpurpose_io.h:854
Definition: alt_generalpurpose_io.h:970
Definition: alt_generalpurpose_io.h:856
ALT_STATUS_CODE alt_gpio_init(void)
Definition: alt_generalpurpose_io.c:66
enum ALT_GPIO_PORTBIT_e ALT_GPIO_PORTBIT_t
ALT_STATUS_CODE alt_gpio_group_config_get(ALT_GPIO_CONFIG_RECORD_t *config_array, uint32_t len)
Definition: alt_generalpurpose_io.c:670
struct ALT_GPIO_CONFIG_RECORD_s ALT_GPIO_CONFIG_RECORD_t
ALT_GPIO_PIN_DIR_e
Definition: alt_generalpurpose_io.h:113
Definition: alt_generalpurpose_io.h:832
Definition: alt_generalpurpose_io.h:928
Definition: alt_generalpurpose_io.h:898
ALT_STATUS_CODE alt_gpio_port_int_mask_set(ALT_GPIO_PORT_t gpio_pid, uint32_t mask, uint32_t val)
Definition: alt_generalpurpose_io.c:458
uint32_t alt_gpio_port_datadir_get(ALT_GPIO_PORT_t gpio_pid, uint32_t mask)
Definition: alt_generalpurpose_io.c:119
Definition: alt_generalpurpose_io.h:165
ALT_GPIO_PORT_e
Definition: alt_generalpurpose_io.h:206
Definition: alt_generalpurpose_io.h:918
ALT_STATUS_CODE alt_gpio_port_int_disable(ALT_GPIO_PORT_t gpio_pid, uint32_t config)
Definition: alt_generalpurpose_io.c:419
Definition: alt_generalpurpose_io.h:896
Definition: alt_generalpurpose_io.h:950
Definition: alt_generalpurpose_io.h:297
Definition: alt_generalpurpose_io.h:976
uint32_t alt_gpio_port_data_read(ALT_GPIO_PORT_t gpio_pid, uint32_t mask)
Definition: alt_generalpurpose_io.c:165
Definition: alt_generalpurpose_io.h:936
uint32_t alt_gpio_port_int_type_get(ALT_GPIO_PORT_t gpio_pid, uint32_t mask)
Definition: alt_generalpurpose_io.c:205
ALT_STATUS_CODE alt_gpio_port_int_status_clear(ALT_GPIO_PORT_t gpio_pid, uint32_t clrmask)
Definition: alt_generalpurpose_io.c:514
ALT_GPIO_PIN_SYNC_e
Definition: alt_generalpurpose_io.h:178
Definition: alt_generalpurpose_io.h:303
ALT_GPIO_PORT_t alt_gpio_bit_to_pid(ALT_GPIO_1BIT_t pin_num)
Definition: alt_generalpurpose_io.c:732
ALT_STATUS_CODE alt_gpio_port_int_enable(ALT_GPIO_PORT_t gpio_pid, uint32_t config)
Definition: alt_generalpurpose_io.c:400
Definition: alt_generalpurpose_io.h:942
Definition: alt_generalpurpose_io.h:263
ALT_GPIO_PIN_POL_e
Definition: alt_generalpurpose_io.h:142
ALT_GPIO_PIN_DEBOUNCE_e
Definition: alt_generalpurpose_io.h:162
Definition: alt_generalpurpose_io.h:271
Definition: alt_generalpurpose_io.h:858
ALT_STATUS_CODE alt_gpio_port_debounce_set(ALT_GPIO_PORT_t gpio_pid, uint32_t mask, uint32_t config)
Definition: alt_generalpurpose_io.c:268
Definition: alt_generalpurpose_io.h:289
Definition: alt_generalpurpose_io.h:301
Definition: alt_generalpurpose_io.h:862
Definition: alt_generalpurpose_io.h:952
Definition: alt_generalpurpose_io.h:842
enum ALT_GPIO_PIN_POL_e ALT_GPIO_PIN_POL_t
Definition: alt_generalpurpose_io.h:255
Definition: alt_generalpurpose_io.h:980
ALT_GPIO_PIN_POL_t polarity
Definition: alt_generalpurpose_io.h:1022
Definition: alt_generalpurpose_io.h:816
Definition: alt_generalpurpose_io.h:974
Definition: alt_generalpurpose_io.h:866
ALT_STATUS_CODE alt_gpio_port_config(ALT_GPIO_PORT_t gpio_pid, uint32_t mask, ALT_GPIO_PIN_DIR_t dir, ALT_GPIO_PIN_TYPE_t type, ALT_GPIO_PIN_POL_t pol, ALT_GPIO_PIN_DEBOUNCE_t debounc, uint32_t data)
Definition: alt_generalpurpose_io.c:351
ALT_STATUS_CODE alt_gpio_port_int_type_set(ALT_GPIO_PORT_t gpio_pid, uint32_t mask, uint32_t config)
Definition: alt_generalpurpose_io.c:184
Definition: alt_generalpurpose_io.h:230
Definition: alt_generalpurpose_io.h:834
enum ALT_GPIO_1BIT_e ALT_GPIO_1BIT_t
Definition: alt_generalpurpose_io.h:892
Definition: alt_generalpurpose_io.h:957
Definition: alt_generalpurpose_io.h:846
Definition: alt_generalpurpose_io.h:868
Definition: alt_generalpurpose_io.h:265
Definition: alt_generalpurpose_io.h:826
Definition: alt_generalpurpose_io.h:285
enum ALT_GPIO_PIN_DATA_e ALT_GPIO_PIN_DATA_t
uint32_t alt_gpio_port_int_pol_get(ALT_GPIO_PORT_t gpio_pid, uint32_t mask)
Definition: alt_generalpurpose_io.c:248
Definition: alt_generalpurpose_io.h:269
Definition: alt_generalpurpose_io.h:828
Definition: alt_generalpurpose_io.h:824
Definition: alt_generalpurpose_io.h:906
Definition: alt_generalpurpose_io.h:181
Definition: alt_generalpurpose_io.h:944
Definition: alt_generalpurpose_io.h:938
Definition: alt_generalpurpose_io.h:253
Definition: alt_generalpurpose_io.h:130
Definition: alt_generalpurpose_io.h:291
Definition: alt_generalpurpose_io.h:946
ALT_STATUS_CODE alt_gpio_port_sync_set(ALT_GPIO_PORT_t gpio_pid, uint32_t config)
Definition: alt_generalpurpose_io.c:311
Definition: alt_generalpurpose_io.h:872
Definition: alt_generalpurpose_io.h:830
Definition: alt_generalpurpose_io.h:850
Definition: alt_generalpurpose_io.h:299
Definition: alt_generalpurpose_io.h:836
ALT_STATUS_CODE alt_gpio_port_sync_get(ALT_GPIO_PORT_t gpio_pid)
Definition: alt_generalpurpose_io.c:333
Definition: alt_generalpurpose_io.h:216
Definition: alt_generalpurpose_io.h:870
Definition: alt_generalpurpose_io.h:972
ALT_GPIO_PIN_DATA_t val
Definition: alt_generalpurpose_io.h:1043
Definition: alt_generalpurpose_io.h:225
Definition: alt_generalpurpose_io.h:920
ALT_GPIO_1BIT_t signal_number
Definition: alt_generalpurpose_io.h:1013
Definition: alt_generalpurpose_io.h:934
Definition: alt_generalpurpose_io.h:257
ALT_GPIO_1BIT_t signal_number
Definition: alt_generalpurpose_io.h:1040
Definition: alt_generalpurpose_io.h:267
enum ALT_GPIO_PIN_DIR_e ALT_GPIO_PIN_DIR_t
ALT_STATUS_CODE alt_gpio_port_data_write(ALT_GPIO_PORT_t gpio_pid, uint32_t mask, uint32_t val)
Definition: alt_generalpurpose_io.c:139
Definition: alt_generalpurpose_io.h:848
uint32_t alt_gpio_port_idcode_get(ALT_GPIO_PORT_t gpio_pid)
Definition: alt_generalpurpose_io.c:534
Definition: alt_generalpurpose_io.h:860
Definition: alt_generalpurpose_io.h:874
Definition: alt_generalpurpose_io.h:954
Definition: alt_generalpurpose_io.h:878
enum ALT_GPIO_PIN_TYPE_e ALT_GPIO_PIN_TYPE_t
Definition: alt_generalpurpose_io.h:249
Definition: alt_generalpurpose_io.h:882
ALT_STATUS_CODE alt_gpio_port_datadir_set(ALT_GPIO_PORT_t gpio_pid, uint32_t mask, uint32_t config)
Definition: alt_generalpurpose_io.c:98
Definition: alt_generalpurpose_io.h:261
Definition: alt_generalpurpose_io.h:281
Definition: alt_generalpurpose_io.h:948
Definition: alt_generalpurpose_io.h:880
Definition: alt_generalpurpose_io.h:886
Definition: alt_generalpurpose_io.h:132
ALT_STATUS_CODE alt_gpio_bit_config(ALT_GPIO_1BIT_t signal_num, ALT_GPIO_PIN_DIR_t dir, ALT_GPIO_PIN_TYPE_t type, ALT_GPIO_PIN_POL_t pol, ALT_GPIO_PIN_DEBOUNCE_t debounce, ALT_GPIO_PIN_DATA_t data)
Definition: alt_generalpurpose_io.c:568
Definition: alt_generalpurpose_io.h:194
Definition: alt_generalpurpose_io.h:876
Definition: alt_generalpurpose_io.h:910
Definition: alt_generalpurpose_io.h:992
Definition: alt_generalpurpose_io.h:818
Definition: alt_generalpurpose_io.h:908
Definition: alt_generalpurpose_io.h:118
enum ALT_GPIO_PORT_e ALT_GPIO_PORT_t
uint32_t alt_gpio_port_int_enable_get(ALT_GPIO_PORT_t gpio_pid)
Definition: alt_generalpurpose_io.c:439
int32_t ALT_STATUS_CODE
Definition: hwlib.h:60
Definition: alt_generalpurpose_io.h:150
Definition: alt_generalpurpose_io.h:293
uint32_t alt_gpio_port_int_mask_get(ALT_GPIO_PORT_t gpio_pid)
Definition: alt_generalpurpose_io.c:478
Definition: alt_generalpurpose_io.h:914
Definition: alt_generalpurpose_io.h:900
Definition: alt_generalpurpose_io.h:183
Definition: alt_generalpurpose_io.h:986
Definition: alt_generalpurpose_io.h:820
Definition: alt_generalpurpose_io.h:283
Definition: alt_generalpurpose_io.h:838
Definition: alt_generalpurpose_io.h:116
enum ALT_GPIO_PIN_SYNC_e ALT_GPIO_PIN_SYNC_t
ALT_GPIO_PIN_DEBOUNCE_t debounce
Definition: alt_generalpurpose_io.h:1025
Definition: alt_generalpurpose_io.h:852
Definition: alt_generalpurpose_io.h:167
struct ALT_GPIO_PIN_RECORD_s ALT_GPIO_PIN_RECORD_t
Definition: alt_generalpurpose_io.h:196
Definition: alt_generalpurpose_io.h:966
Definition: alt_generalpurpose_io.h:988
uint32_t alt_gpio_port_ver_get(ALT_GPIO_PORT_t gpio_pid)
Definition: alt_generalpurpose_io.c:551
Definition: alt_generalpurpose_io.h:930
Definition: alt_generalpurpose_io.h:978
ALT_GPIO_PIN_DATA_e
Definition: alt_generalpurpose_io.h:191
Definition: alt_generalpurpose_io.h:1036
Definition: alt_generalpurpose_io.h:822
Definition: alt_generalpurpose_io.h:259
Definition: alt_generalpurpose_io.h:894
Definition: alt_generalpurpose_io.h:251
Definition: alt_generalpurpose_io.h:279
Definition: alt_generalpurpose_io.h:888
Definition: alt_generalpurpose_io.h:844
Definition: alt_generalpurpose_io.h:287
Definition: alt_generalpurpose_io.h:982
Definition: alt_generalpurpose_io.h:932
ALT_STATUS_CODE alt_gpio_group_config(ALT_GPIO_CONFIG_RECORD_t *config_array, uint32_t len)
Definition: alt_generalpurpose_io.c:622
Definition: alt_generalpurpose_io.h:295
ALT_GPIO_PORTBIT_e
Definition: alt_generalpurpose_io.h:246
Definition: alt_generalpurpose_io.h:912
enum ALT_GPIO_PIN_DEBOUNCE_e ALT_GPIO_PIN_DEBOUNCE_t
Definition: alt_generalpurpose_io.h:890
uint32_t alt_gpio_port_int_status_get(ALT_GPIO_PORT_t gpio_pid)
Definition: alt_generalpurpose_io.c:496
ALT_STATUS_CODE alt_gpio_bitconfig_get(ALT_GPIO_1BIT_t signal_num, ALT_GPIO_CONFIG_RECORD_t *config)
Definition: alt_generalpurpose_io.c:586
Definition: alt_generalpurpose_io.h:1009