text
stringlengths
9
39.2M
dir
stringlengths
25
226
lang
stringclasses
163 values
created_date
timestamp[s]
updated_date
timestamp[s]
repo_name
stringclasses
751 values
repo_full_name
stringclasses
752 values
star
int64
1.01k
183k
len_tokens
int64
1
18.5M
```c /* * */ #define DT_DRV_COMPAT litex_gpio #include <errno.h> #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/irq.h> #include <zephyr/types.h> #include <zephyr/sys/util.h> #include <string.h> #include <zephyr/logging/log.h> #include <soc.h> #include <zephyr/drivers/gpio/gpio_utils....
/content/code_sandbox/drivers/gpio/gpio_litex.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,660
```unknown # PCA95XX GPIO configuration options menuconfig GPIO_PCA95XX bool "PCA95XX I2C-based GPIO chip" default y depends on DT_HAS_NXP_PCA95XX_ENABLED depends on I2C help Enable driver for PCA95XX I2C-based GPIO chip. config GPIO_PCA95XX_INIT_PRIORITY int "Init priority" default 70 depends on GPIO_PCA...
/content/code_sandbox/drivers/gpio/Kconfig.pca95xx
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
158
```unknown # Litex VexRiscV GPIO configuration options config GPIO_LITEX bool "Litex GPIO driver" default y depends on DT_HAS_LITEX_GPIO_ENABLED help Enable Litex GPIO driver. ```
/content/code_sandbox/drivers/gpio/Kconfig.litex
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
49
```c /* * */ /** * @file * @brief GPIO driver for the ADS114S0x AFE. */ #define DT_DRV_COMPAT ti_ads114s0x_gpio #include <zephyr/drivers/gpio.h> #include <zephyr/kernel.h> #define LOG_LEVEL CONFIG_GPIO_LOG_LEVEL #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(gpio_ads114s0x); #include <zephyr/drivers/adc/...
/content/code_sandbox/drivers/gpio/gpio_ads114s0x.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,145
```unknown config GPIO_IPROC bool "Broadcom iProc GPIO controller driver" default y depends on DT_HAS_BRCM_IPROC_GPIO_ENABLED help This option enables the GPIO driver for iProc family of GPIO controller. ```
/content/code_sandbox/drivers/gpio/Kconfig.iproc
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
52
```unknown config GPIO_NPM6001 bool "nPM6001 GPIO driver" default y depends on DT_HAS_NORDIC_NPM6001_GPIO_ENABLED select I2C select MFD help Enable the nPM6001 GPIO driver. config GPIO_NPM6001_INIT_PRIORITY int "nPM6001 GPIO driver initialization priority" depends on GPIO_NPM6001 default 85 help Initi...
/content/code_sandbox/drivers/gpio/Kconfig.npm6001
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
104
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_GPIO_GPIO_NCT38XX_H_ #define ZEPHYR_DRIVERS_GPIO_GPIO_NCT38XX_H_ #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/i2c.h> #include <zephyr/kernel.h> /* NCT38XX controller register */ #define NCT38XX_REG_ALERT 0x10 #define NCT38XX...
/content/code_sandbox/drivers/gpio/gpio_nct38xx.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
430
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_GPIO_GPIO_DW_H_ #define ZEPHYR_DRIVERS_GPIO_GPIO_DW_H_ #include <zephyr/types.h> #include <zephyr/drivers/gpio.h> #include "gpio_dw_registers.h" #ifdef __cplusplus extern "C" { #endif typedef void (*gpio_config_irq_t)(const struct device *port); struct gpio_dw_config...
/content/code_sandbox/drivers/gpio/gpio_dw.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
187
```unknown # PCF857x GPIO configuration options menuconfig GPIO_PCF857X bool "PCF857X I2C GPIO chip" default y depends on DT_HAS_NXP_PCF857X_ENABLED select I2C help Enable driver for PCF857X I2C GPIO chip. config GPIO_PCF857X_INIT_PRIORITY int "Init priority" default 70 depends on GPIO_PCF857X help De...
/content/code_sandbox/drivers/gpio/Kconfig.pcf857x
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
102
```c /* * */ #include <SDL.h> #include "gpio_emul_sdl_bottom.h" static int sdl_filter_bottom(void *arg, SDL_Event *event) { struct gpio_sdl_data *data = arg; /* Only handle keyboard events */ switch (event->type) { case SDL_KEYDOWN: case SDL_KEYUP: break; default: return 1; } data->event_scan_code = e...
/content/code_sandbox/drivers/gpio/gpio_emul_sdl_bottom.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
144
```c /* * */ #include <zephyr/drivers/clock_control.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/kernel.h> #include <zephyr/logging/log.h> #include <zephyr/drivers/clock_control/adi_max32_clock_control.h> #include <zephyr/dt-bindings/gpio/adi-max32-gpio.h> #include <gpio.h> #define DT_DRV_COMPAT ...
/content/code_sandbox/drivers/gpio/gpio_max32.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,081
```c /* * */ #include "analog.h" #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/irq.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/drivers/interrupt_controller/riscv_plic.h> /* Driver dts compatibility: telink,b91_gpio */ #define DT_DRV_COMPAT telink_b91_gpio /* Get...
/content/code_sandbox/drivers/gpio/gpio_b91.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,498
```unknown config GPIO_PSOC6 bool "Cypress PSoC-6 GPIO driver" default y depends on DT_HAS_CYPRESS_PSOC6_GPIO_ENABLED help Enable support for the Cypress PSoC-6 GPIO controllers. ```
/content/code_sandbox/drivers/gpio/Kconfig.psoc6
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
53
```unknown # RT1718S driver configuration options menuconfig GPIO_RT1718S bool "RT1718S I2C-based TCPC chip with GPIOs" default y depends on DT_HAS_RICHTEK_RT1718S_GPIO_PORT_ENABLED help Enable driver GPIO for RT1718S I2C-based TCPC chip. if GPIO_RT1718S config RT1718S_INIT_PRIORITY int "RT1718S GPIO init p...
/content/code_sandbox/drivers/gpio/Kconfig.rt1718s
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
233
```c /* */ #define DT_DRV_COMPAT adi_ad559x_gpio #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/kernel.h> #include <zephyr/sys/byteorder.h> #include <zephyr/drivers/mfd/ad559x.h> #define AD559X_GPIO_RD_POINTER 0x60 struct gpio_ad559x_config { /* gpio_driver_config n...
/content/code_sandbox/drivers/gpio/gpio_ad559x.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,658
```unknown # Gecko GPIO configuration options menuconfig GPIO_GECKO bool "Gecko GPIO driver" default y depends on DT_HAS_SILABS_GECKO_GPIO_PORT_ENABLED select SOC_GECKO_GPIO help Enable the Gecko gpio driver. config GPIO_GECKO_COMMON_INIT_PRIORITY int "Common initialization priority" depends on GPIO_GECKO ...
/content/code_sandbox/drivers/gpio/Kconfig.gecko
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
82
```c /* * */ #define DT_DRV_COMPAT nxp_imx_gpio #include <errno.h> #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/irq.h> #include <soc.h> #include <fsl_common.h> #include <fsl_gpio.h> #include <zephyr/drivers/pinctrl.h> #include <zephyr/drivers/gpio/gpio_utils.h> struct gpio_pin_gap...
/content/code_sandbox/drivers/gpio/gpio_mcux_igpio.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,555
```unknown # TI CC13xx / CC26xx GPIO configuration options config GPIO_CC13XX_CC26XX bool "TI SimpleLink CC13xx / CC26xx GPIO driver" default y depends on DT_HAS_TI_CC13XX_CC26XX_GPIO_ENABLED help Enable the TI SimpleLink CC13xx / CC26xx GPIO driver. ```
/content/code_sandbox/drivers/gpio/Kconfig.cc13xx_cc26xx
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
74
```unknown # STM32 GPIO configuration config GPIO_STM32 bool "GPIO Driver for STM32 family of MCUs" default y depends on DT_HAS_ST_STM32_GPIO_ENABLED help Enable GPIO driver for STM32 line of MCUs ```
/content/code_sandbox/drivers/gpio/Kconfig.stm32
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
54
```unknown # BD8LB600FS GPIO configuration options menuconfig GPIO_BD8LB600FS bool "BD8LB600FS SPI-based GPIO chip" default y depends on DT_HAS_ROHM_BD8LB600FS_GPIO_ENABLED select MFD help Enable driver for BD8LB600FS SPI-based GPIO chip. if GPIO_BD8LB600FS config GPIO_BD8LB600FS_INIT_PRIORITY int "Init pr...
/content/code_sandbox/drivers/gpio/Kconfig.bd8lb600fs
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
119
```c /* * */ #define DT_DRV_COMPAT altr_pio_1_0 #include <zephyr/device.h> #include <zephyr/kernel.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #define ALTERA_AVALON_PIO_DATA_OFFSET 0x00 #define ALTERA_AVALON_PIO_DIRECTION_OFFSET 0x04 #define ALTERA_AVALON_PIO_IRQ_OFFSET 0x08 #...
/content/code_sandbox/drivers/gpio/gpio_altera_pio.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,211
```unknown # TCA6424A configuration options menuconfig GPIO_TCA6424A bool "TCA6424A driver" default y depends on DT_HAS_TI_TCA6424A_ENABLED depends on I2C help Enable driver for TCA6424A IO expander chip. config GPIO_TCA6424A_INIT_PRIORITY int "Init priority" default 70 depends on GPIO_TCA6424A help D...
/content/code_sandbox/drivers/gpio/Kconfig.tca6424a
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
104
```c /* * * */ #define DT_DRV_COMPAT ite_it8xxx2_gpio_v2 #include <chip_chipregs.h> #include <errno.h> #include <soc.h> #include <soc_dt.h> #include <string.h> #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/dt-bindings/gpio/ite-it8xxx2-gpio....
/content/code_sandbox/drivers/gpio/gpio_ite_it8xxx2_v2.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,980
```unknown config GPIO_GRGPIO2 bool "GRLIB GRGPIO revision 2" default y depends on DT_HAS_GAISLER_GRGPIO_ENABLED help Enable driver for GRLIB GRGPIO revision 2. ```
/content/code_sandbox/drivers/gpio/Kconfig.grgpio
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
50
```c /* * */ #define DT_DRV_COMPAT snps_creg_gpio #include <errno.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <zephyr/init.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/i2c.h> #include <zephyr/sys/byteorder.h> #include <zephyr/sys/util.h> #include <zephyr/logging/log.h> LOG_MO...
/content/code_sandbox/drivers/gpio/gpio_creg_gpio.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,199
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_GPIO_GPIO_STM32_H_ #define ZEPHYR_DRIVERS_GPIO_GPIO_STM32_H_ /** * @file header for STM32 GPIO */ #include <zephyr/drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/gpio.h> #if DT_HAS_COMPAT_STATUS_OKAY(st_stm32f1_pinctrl) #include <zephyr/dt-bind...
/content/code_sandbox/drivers/gpio/gpio_stm32.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,713
```unknown config GPIO_NXP_S32 bool "NXP S32 GPIO driver" default y depends on DT_HAS_NXP_S32_GPIO_ENABLED select NOCACHE_MEMORY if ARCH_HAS_NOCACHE_MEMORY_SUPPORT help Enable the GPIO driver for NXP S32 processors. ```
/content/code_sandbox/drivers/gpio/Kconfig.nxp_s32
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
60
```c /* * */ #define DT_DRV_COMPAT renesas_rzt2m_gpio #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/drivers/syscon.h> #include <zephyr/sys/util.h> #include <zephyr/sys/errno_private.h> #include <zephyr/dt-bindings/gpio/renesas-rzt2m-gpio.h> ...
/content/code_sandbox/drivers/gpio/gpio_rzt2m.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,793
```c /* * */ #define DT_DRV_COMPAT sifive_gpio0 /** * @file GPIO driver for the SiFive Freedom Processor */ #include <errno.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <soc.h> #include <zephyr/drivers/gpio.h> #include <zephyr/sys/util.h> #include <zephyr/irq.h> #include <zephyr/irq_multilev...
/content/code_sandbox/drivers/gpio/gpio_sifive.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,318
```unknown config GPIO_MAX32 bool "GPIO Driver for MAX32 family of MCUs" default y depends on DT_HAS_ADI_MAX32_GPIO_ENABLED help Enable GPIO driver for MAX32 line of MCUs ```
/content/code_sandbox/drivers/gpio/Kconfig.max32
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
48
```unknown # CY8C95XX GPIO configuration options menuconfig GPIO_CY8C95XX bool "CY8C95XX I2C GPIO chip" default y depends on DT_HAS_CYPRESS_CY8C95XX_GPIO_PORT_ENABLED depends on I2C help Enable driver for CY8C95XX I2C GPIO chip. if GPIO_CY8C95XX config GPIO_CY8C95XX_INIT_PRIORITY int "Init priority" defau...
/content/code_sandbox/drivers/gpio/Kconfig.cy8c95xx
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
121
```c /* * */ #define DT_DRV_COMPAT ti_tca6424a #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/i2c.h> #include <zephyr/logging/log.h> #include <zephyr/sys/byteorder.h> #include <zephyr/sys/util.h> LOG_MODULE_REGISTER(gpio_tca6424a, CONFIG_GPIO_LOG_LEVEL); /* TCA...
/content/code_sandbox/drivers/gpio/gpio_tca6424a.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,595
```c /* * */ #define DT_DRV_COMPAT ite_it8xxx2_gpiokscan #include <errno.h> #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/dt-bindings/gpio/ite-it8xxx2-gpio.h> #include <zephyr/irq.h> #include <zephyr/sys/util.h> #include <zephyr/types.h> st...
/content/code_sandbox/drivers/gpio/gpio_kscan_ite_it8xxx2.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,351
```c /* * Xilinx Processor System MIO / EMIO GPIO controller driver * Parent (IRQ handler) module * */ #include <zephyr/devicetree.h> #include <zephyr/drivers/gpio.h> #include <zephyr/irq.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include "gpio_xlnx_ps.h" #include "gpio_xlnx_ps_bank.h" #define LOG_MODULE_NAM...
/content/code_sandbox/drivers/gpio/gpio_xlnx_ps.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,167
```c /* * */ #define DT_DRV_COMPAT openisa_rv32m1_gpio #include <errno.h> #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/irq.h> #include <soc.h> #include <fsl_common.h> #include <fsl_port.h> #include <zephyr/drivers/clock_control.h> #include <zephyr/drivers/gpio/gpio_utils.h> struct ...
/content/code_sandbox/drivers/gpio/gpio_rv32m1.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,604
```c /* * */ /** * @file * @brief Driver to provide the GPIO API for a simple 32-bit i/o register * * This is a driver for accessing a simple, fixed purpose, 32-bit * memory-mapped i/o register using the same APIs as GPIO drivers. This is * useful when an SoC or board has registers that aren't part of a GPIO I...
/content/code_sandbox/drivers/gpio/gpio_mmio32.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,166
```c /* * */ #define DT_DRV_COMPAT renesas_ra_gpio #include <errno.h> #include <string.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <zephyr/init.h> #include <zephyr/irq.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/drivers/interrupt_controller...
/content/code_sandbox/drivers/gpio/gpio_renesas_ra.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,292
```c /* * * */ /** * @file Driver for MPC23xxx I2C/SPI-based GPIO driver. */ #include <errno.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <zephyr/sys/byteorder.h> #include <zephyr/sys/util.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include "gpio_mcp23xx...
/content/code_sandbox/drivers/gpio/gpio_mcp23xxx.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,898
```unknown menuconfig GPIO_ADP5585 bool "ADP5585_GPIO I2C GPIO chip" default y depends on DT_HAS_ADI_ADP5585_GPIO_ENABLED select MFD select I2C help Enable the ADP5585 GPIO driver. config GPIO_ADP5585_INIT_PRIORITY int "Init priority" default 70 depends on GPIO_ADP5585 help Device driver initializatio...
/content/code_sandbox/drivers/gpio/Kconfig.adp5585
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
96
```unknown config GPIO_AD559X bool "AD559x GPIO driver" default y depends on DT_HAS_ADI_AD559X_GPIO_ENABLED select MFD help Enable the AD559x GPIO driver. ```
/content/code_sandbox/drivers/gpio/Kconfig.ad559x
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
47
```unknown # ESP32 GPIO configuration options config GPIO_ESP32 bool "ESP32 GPIO" default y depends on DT_HAS_ESPRESSIF_ESP32_GPIO_ENABLED help Enables the ESP32 GPIO driver ```
/content/code_sandbox/drivers/gpio/Kconfig.esp32
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
47
```c /* * */ #define DT_DRV_COMPAT rohm_bd8lb600fs_gpio #include <zephyr/kernel.h> #include <zephyr/device.h> #include <zephyr/init.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/drivers/mfd/bd8lb600fs.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(gpio_bd8...
/content/code_sandbox/drivers/gpio/gpio_bd8lb600fs.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,535
```objective-c /* * * * "Bottom" of the SDL GPIO emulator. * When built with the native_simulator this will be built in the runner context, * that is, with the host C library, and with the host include paths. */ #ifndef DRIVERS_GPIO_GPIO_EMUL_SDL_BOTTOM_H #define DRIVERS_GPIO_GPIO_EMUL_SDL_BOTTOM_H #include <st...
/content/code_sandbox/drivers/gpio/gpio_emul_sdl_bottom.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
188
```c /* * */ #define DT_DRV_COMPAT nuvoton_numicro_gpio #include <errno.h> #include <stdint.h> #include <zephyr/device.h> #include <zephyr/devicetree.h> #include <zephyr/irq.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/dt-bindings/gpio/numicro-gpio.h> #include <Nu...
/content/code_sandbox/drivers/gpio/gpio_numicro.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,132
```unknown config GPIO_MMIO32 bool help This is a driver for accessing a simple, fixed purpose, 32-bit memory-mapped i/o register using the same APIs as GPIO drivers. This is useful when an SoC or board has registers that aren't part of a GPIO IP block and these registers are used to control things that ...
/content/code_sandbox/drivers/gpio/Kconfig.mmio32
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
111
```c /* * */ #define DT_DRV_COMPAT ti_davinci_gpio #include <errno.h> #include <zephyr/arch/common/sys_bitops.h> #include <zephyr/device.h> #include <zephyr/devicetree.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/init.h> #include <zephyr/kernel.h> #include <zephy...
/content/code_sandbox/drivers/gpio/gpio_davinci.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,391
```unknown config GPIO_RZT2M bool "Renesas RZT2M GPIO" default y depends on DT_HAS_RENESAS_RZT2M_GPIO_ENABLED help Enable Renesas RZT2M GPIO driver. ```
/content/code_sandbox/drivers/gpio/Kconfig.rzt2m
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
56
```unknown config GPIO_RENESAS_RA bool "Renesas RA Series GPIO driver" default y select GPIO_GET_CONFIG depends on DT_HAS_RENESAS_RA_GPIO_ENABLED help Enable Renesas RA series GPIO driver. ```
/content/code_sandbox/drivers/gpio/Kconfig.renesas_ra
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
51
```c /* * */ #define DT_DRV_COMPAT brcm_iproc_gpio #include <zephyr/arch/common/sys_bitops.h> #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/irq.h> #include <zephyr/kernel.h> #define IPROC_GPIO_DATA_IN_OFFSET 0x00 #define IPROC_GPIO_DATA_O...
/content/code_sandbox/drivers/gpio/gpio_iproc.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,767
```unknown config GPIO_SC18IM704 bool "NXP SC18IM704 GPIO controller driver" default y depends on I2C_SC18IM704 depends on DT_HAS_NXP_SC18IM704_GPIO_ENABLED help Enables NXP SC18IM704 GPIO controller driver config GPIO_SC18IM704_INIT_PRIORITY int "SC18IM704 GPIO init priority" default 52 depends on GPIO_SC...
/content/code_sandbox/drivers/gpio/Kconfig.sc18im704
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
125
```c /* * */ #define DT_DRV_COMPAT atmel_sam0_gpio #include <errno.h> #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/dt-bindings/gpio/atmel-sam0-gpio.h> #include <soc.h> #include <zephyr/drivers/interrupt_controller/sam0_eic.h> #include <zephyr/drivers/gpio/gpio_utils.h> #ifndef PORT...
/content/code_sandbox/drivers/gpio/gpio_sam0.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,655
```unknown config GPIO_ALTERA_PIO bool "Altera PIO" default y depends on DT_HAS_ALTR_PIO_1_0_ENABLED help Enable driver for Altera PIO ```
/content/code_sandbox/drivers/gpio/Kconfig.altera
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
44
```c /* * */ #define DT_DRV_COMPAT ti_cc13xx_cc26xx_gpio #include <zephyr/types.h> #include <zephyr/sys/__assert.h> #include <zephyr/device.h> #include <errno.h> #include <zephyr/drivers/gpio.h> #include <zephyr/dt-bindings/gpio/ti-cc13xx-cc26xx-gpio.h> #include <driverlib/gpio.h> #include <driverlib/interrupt.h> ...
/content/code_sandbox/drivers/gpio/gpio_cc13xx_cc26xx.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,295
```unknown # NUMAKER GPIO driver configuration options config GPIO_NUMAKER bool "Nuvoton NUMAKER MCU gpio driver" default y select HAS_NUMAKER_GPIO depends on DT_HAS_NUVOTON_NUMAKER_GPIO_ENABLED help This option enables the GPIO driver for Nuvoton NUMAKER family of processors. ```
/content/code_sandbox/drivers/gpio/Kconfig.numaker
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
69
```unknown # SiFive Freedom GPIO configuration option config GPIO_SIFIVE bool "SiFive Freedom Processor GPIO driver" default y depends on DT_HAS_SIFIVE_GPIO0_ENABLED help Enable driver for the SiFive Freedom GPIO controller. Says n if not sure. ```
/content/code_sandbox/drivers/gpio/Kconfig.sifive
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
59
```unknown # Renesas RCAR configuration options config GPIO_RCAR bool "Renesas R-Car GPIO" default y depends on DT_HAS_RENESAS_RCAR_GPIO_ENABLED help Enable Renesas RCAR GPIO driver. ```
/content/code_sandbox/drivers/gpio/Kconfig.rcar
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
53
```c /* * */ #define DT_DRV_COMPAT nuvoton_nct38xx_gpio_port #include "gpio_nct38xx.h" #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/mfd/nct38xx.h> #include <zephyr/logging/log.h> LOG_MODULE_DECLARE(gpio_ntc38xx, CONFIG_GPIO_LOG_LEVEL); /* Driver config */ st...
/content/code_sandbox/drivers/gpio/gpio_nct38xx_port.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,213
```c /* * */ #include <errno.h> #include <zephyr/drivers/gpio.h> #include <zephyr/irq.h> /* pico-sdk includes */ #include <hardware/gpio.h> #include <hardware/regs/intctrl.h> #include <hardware/structs/iobank0.h> #include <zephyr/drivers/gpio/gpio_utils.h> #define DT_DRV_COMPAT raspberrypi_pico_gpio #define ALL_...
/content/code_sandbox/drivers/gpio/gpio_rpi_pico.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,955
```objective-c /*gpio_dw_registers.h - Private gpio's registers header*/ /* * */ #ifndef ZEPHYR_DRIVERS_GPIO_GPIO_DW_REGISTERS_H_ #define ZEPHYR_DRIVERS_GPIO_GPIO_DW_REGISTERS_H_ /** This definition of GPIO related registers supports four ports: A, B, C, D * yet only PORTA supports interrupts and debounce. */ #d...
/content/code_sandbox/drivers/gpio/gpio_dw_registers.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
407
```c /* * */ #define DT_DRV_COMPAT quicklogic_eos_s3_gpio #include <errno.h> #include <zephyr/drivers/gpio.h> #include <zephyr/irq.h> #include <soc.h> #include <eoss3_hal_gpio.h> #include <eoss3_hal_pads.h> #include <eoss3_hal_pad_config.h> #include <zephyr/drivers/gpio/gpio_utils.h> #define MAX_GPIOS 8U #define...
/content/code_sandbox/drivers/gpio/gpio_eos_s3.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,405
```c /* */ #define DT_DRV_COMPAT brcm_bcm2711_gpio #include <zephyr/arch/cpu.h> #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/irq.h> #define GPIO_REG_GROUP(n, cnt) (n / cnt) #define GPIO_REG_SHIFT(n, cnt, bits) ((n % cnt) * bits) #def...
/content/code_sandbox/drivers/gpio/gpio_bcm2711.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,329
```c /* * Organisation (CSIRO) ABN 41 687 119 230. * */ /* * This is not a real GPIO driver. It is used to instantiate struct * devices for the "vnd,gpio" devicetree compatible used in test code. */ #define DT_DRV_COMPAT vnd_gpio #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> str...
/content/code_sandbox/drivers/gpio/gpio_test.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
560
```c /* * */ #define DT_DRV_COMPAT efinix_sapphire_gpio #include <zephyr/drivers/gpio/gpio_utils.h> #include <errno.h> #include <string.h> #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/logging/log.h> #include <zephyr/sys/util.h> #include <zephyr/types.h> LOG_MODULE_REGISTER(gpio_ef...
/content/code_sandbox/drivers/gpio/gpio_efinix_sapphire.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,691
```unknown # # # config GPIO_SEDI bool "SEDI GPIO driver" default y depends on DT_HAS_INTEL_SEDI_GPIO_ENABLED help This option enables Intel SEDI GPIO driver. This driver is simply a shim driver built upon the SEDI bare metal GPIO driver in hal-intel module. ```
/content/code_sandbox/drivers/gpio/Kconfig.sedi
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
68
```c /* * */ #define DT_DRV_COMPAT ti_cc32xx_gpio #include <errno.h> #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/init.h> #include <zephyr/kernel.h> #include <zephyr/sys/sys_io.h> /* Driverlib includes */ #include <inc/hw_types.h> #include <inc/hw_memmap.h> #include <inc/hw_ints.h> ...
/content/code_sandbox/drivers/gpio/gpio_cc32xx.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,250
```unknown # Intel SoC GPIO configuration options config GPIO_INTEL bool "Intel Soc GPIO" default y depends on DT_HAS_INTEL_GPIO_ENABLED help Enable driver for Intel SoC GPIO config GPIO_INTEL_CHECK_PERMS bool "Check permissions before manipulating GPIO" default y depends on GPIO_INTEL help This option...
/content/code_sandbox/drivers/gpio/Kconfig.intel
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
124
```unknown config GPIO_ITE_IT8XXX2 bool "ITE IT8XXX2 GPIO driver" default y depends on DT_HAS_ITE_IT8XXX2_GPIO_ENABLED help Enable driver for the ite GPIO controller. config GPIO_ITE_IT8XXX2_V2 bool "ITE IT8XXX2 GPIO driver V2" default y depends on DT_HAS_ITE_IT8XXX2_GPIO_V2_ENABLED help Enable driver f...
/content/code_sandbox/drivers/gpio/Kconfig.it8xxx2
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
272
```unknown # NuMicro GPIO configuration options config GPIO_NUMICRO bool "Nuvoton NuMicro GPIO driver" default y depends on DT_HAS_NUVOTON_NUMICRO_GPIO_ENABLED help Enable the GPIO driver for the NuMicro family of processors. ```
/content/code_sandbox/drivers/gpio/Kconfig.numicro
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
57
```c /* * */ #define DT_DRV_COMPAT nxp_lpc11u6x_gpio /** * @file * @brief GPIO driver for NXP LPC11U6X SoCs * * This driver allows to configure the GPIOs found on the LPC11U6x MCUs. * * @note See the UM10732 LPC11U6x/E6x user manual for register definitions. */ #include <zephyr/drivers/clock_control.h> #inc...
/content/code_sandbox/drivers/gpio/gpio_lpc11u6x.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,899
```unknown # MCUX LPC GPIO configuration options config GPIO_MCUX_LPC bool "MCUX LPC GPIO driver" default y depends on DT_HAS_NXP_LPC_GPIO_PORT_ENABLED help Enable the MCUX LPC pinmux driver. ```
/content/code_sandbox/drivers/gpio/Kconfig.mcux_lpc
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
52
```c /* * */ #define DT_DRV_COMPAT richtek_rt1718s_gpio_port /** * @file Driver for RS1718S TCPC chip GPIOs. */ #include "gpio_rt1718s.h" #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/logging/log.h> LOG_MODULE_DECLARE(gpio_rt1718s_port, CONFIG_GPIO_LOG_LEVEL); /*...
/content/code_sandbox/drivers/gpio/gpio_rt1718s_port.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,251
```c /* * */ #include <zephyr/devicetree.h> #include <zephyr/drivers/gpio.h> #include <zephyr/init.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(gpio_hogs, CONFIG_GPIO_LOG_LEVEL); struct gpio_hog_dt_spec { gpio_pin_t pin; gpio_flags_t flags; }; struct gpio_hogs { const struct device *port; const stru...
/content/code_sandbox/drivers/gpio/gpio_hogs.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,108
```unknown # SX1509B GPIO configuration options menuconfig GPIO_SX1509B bool "SX1509B I2C GPIO chip" default y depends on DT_HAS_SEMTECH_SX1509B_ENABLED select I2C help Enable driver for SX1509B I2C GPIO chip. if GPIO_SX1509B config GPIO_SX1509B_INIT_PRIORITY int "Init priority" default 70 help Device...
/content/code_sandbox/drivers/gpio/Kconfig.sx1509b
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
222
```c /* * */ #include <zephyr/drivers/gpio.h> #include <zephyr/shell/shell.h> #include <stdio.h> #define ARGV_DEV 1 #define ARGV_PIN 2 #define ARGV_CONF 3 #define ARGV_VALUE 3 #define ARGV_VENDOR_SPECIFIC 4 #define NGPIOS_UNKNOWN -1 #define PIN_NOT_FOUND UINT8_MAX /* Pin syntax maximum length */ #define PIN_SYNT...
/content/code_sandbox/drivers/gpio/gpio_shell.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
5,081
```c /* * */ #define DT_DRV_COMPAT cypress_psoc6_gpio #include <errno.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <zephyr/init.h> #include <soc.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include "cy_gpio.h" #include "cy_sysint.h" #define LOG_LEVEL CONFIG...
/content/code_sandbox/drivers/gpio/gpio_psoc6.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,083
```unknown # ARM CMSDK (Cortex-M System Design Kit) AHB GPIO cfg config GPIO_CMSDK_AHB bool "ARM CMSDK (Cortex-M System Design Kit) AHB GPIO Controllers" default y depends on DT_HAS_ARM_CMSDK_GPIO_ENABLED help Enable config options to support the ARM CMSDK GPIO controllers. Says n if not sure. ```
/content/code_sandbox/drivers/gpio/Kconfig.cmsdk_ahb
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
80
```unknown # Xilinx GPIO configuration options config GPIO_XLNX_AXI bool "Xilinx AXI GPIO driver" default y depends on DT_HAS_XLNX_XPS_GPIO_1_00_A_ENABLED help Enable Xilinx AXI GPIO v2 driver. ```
/content/code_sandbox/drivers/gpio/Kconfig.xlnx
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
59
```c /* * */ #define DT_DRV_COMPAT gd_gd32_gpio #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/clock_control.h> #include <zephyr/drivers/clock_control/gd32.h> #include <zephyr/drivers/interrupt_controller/gd32_exti.h> #include <zephyr/drivers/reset.h> #include <gd32_gpio.h> #include <zephyr/drivers/gpi...
/content/code_sandbox/drivers/gpio/gpio_gd32.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,827
```c /* * */ #define DT_DRV_COMPAT nxp_pca95xx /** * @file Driver for PCA95XX and PCAL95XX I2C-based GPIO driver. */ #include <errno.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <zephyr/init.h> #include <zephyr/sys/byteorder.h> #include <zephyr/sys/util.h> #include <zephyr/drivers/gpio.h> #...
/content/code_sandbox/drivers/gpio/gpio_pca95xx.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
6,864
```c /* * */ #define DT_DRV_COMPAT microchip_xec_gpio_v2 #include <errno.h> #include <zephyr/arch/cpu.h> #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/dt-bindings/gpio/gpio.h> #include <zephyr/logging/log.h> #include <zephyr/dt-bindings/pinctrl/mchp-xec-pinctrl.h> #include <soc.h> #in...
/content/code_sandbox/drivers/gpio/gpio_mchp_xec_v2.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,557
```unknown # EOS_S3 GPIO configuration options config GPIO_EOS_S3 bool "EOS_S3 GPIO driver" default y depends on DT_HAS_QUICKLOGIC_EOS_S3_GPIO_ENABLED help Enable the EOS S3 gpio driver. ```
/content/code_sandbox/drivers/gpio/Kconfig.eos_s3
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
54
```unknown # MCUX RGPIO configuration options config GPIO_MCUX_RGPIO bool "MCUX RGPIO driver" default y depends on DT_HAS_NXP_IMX_RGPIO_ENABLED select PINCTRL help Enable the MCUX RGPIO driver. ```
/content/code_sandbox/drivers/gpio/Kconfig.mcux_rgpio
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
55
```c /* * */ #define DT_DRV_COMPAT nuvoton_nct38xx_gpio_alert #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_nct38xx.h> #include <zephyr/drivers/mfd/nct38xx.h> #include <zephyr/kernel.h> #include <zephyr/sys/util_macro.h> #include "gpio_nct38xx.h" #include <zephyr/l...
/content/code_sandbox/drivers/gpio/gpio_nct38xx_alert.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,542
```c /* * */ #define DT_DRV_COMPAT silabs_gecko_gpio_port #include <errno.h> #include <zephyr/drivers/gpio.h> #include <zephyr/irq.h> #include <zephyr/sys/util.h> #include <soc.h> #include <em_gpio.h> #ifdef CONFIG_SOC_GECKO_DEV_INIT #include <em_cmu.h> #endif #include <zephyr/drivers/gpio/gpio_utils.h> #if CONFI...
/content/code_sandbox/drivers/gpio/gpio_gecko.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,983
```c /* * */ #define DT_DRV_COMPAT nxp_kinetis_gpio #include <errno.h> #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/dt-bindings/gpio/nxp-kinetis-gpio.h> #include <zephyr/irq.h> #include <soc.h> #include <fsl_common.h> #include <zephyr/drivers/gpio/gpio_utils.h> struct gpio_mcux_con...
/content/code_sandbox/drivers/gpio/gpio_mcux.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,441
```c * */ #define DT_DRV_COMPAT intel_sedi_gpio #include "sedi_driver_gpio.h" #include <zephyr/drivers/gpio.h> #include <zephyr/kernel.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/pm/device.h> struct gpio_sedi_config { /* gpio_driver_data needs to be first */ struct gpio_driver_config common; ...
/content/code_sandbox/drivers/gpio/gpio_sedi.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,282
```c /* * */ #define DT_DRV_COMPAT st_stm32_gpio #include <errno.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <soc.h> #include <stm32_ll_bus.h> #include <stm32_ll_exti.h> #include <stm32_ll_gpio.h> #include <stm32_ll_pwr.h> #include <stm32_ll_system.h> #include <zephyr/drivers/gpio.h> #include...
/content/code_sandbox/drivers/gpio/gpio_stm32.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
6,465
```c /* * */ #define DT_DRV_COMPAT ambiq_gpio_bank #include <errno.h> #include <zephyr/drivers/gpio.h> #include <zephyr/kernel.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/irq.h> #include <zephyr/spinlock.h> #include <am_mcu_apollo.h> typedef void (*ambiq_gpio_cfg_func_t)(void); struct ambiq_g...
/content/code_sandbox/drivers/gpio/gpio_ambiq.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
5,298
```c /* * */ /* * Driver for GRLIB GRGPIO revision 2. * - iflag determine pending interrupt. * - interrupt map decides interrupt number if implemented. * - logic or/and/xor registers used when possible */ #define DT_DRV_COMPAT gaisler_grgpio #include <zephyr/kernel.h> #include <zephyr/drivers/gpio.h> #include...
/content/code_sandbox/drivers/gpio/gpio_grgpio2.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,033
```c /* */ #define DT_DRV_COMPAT nordic_npm6001_gpio #include <errno.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/drivers/i2c.h> #include <zephyr/dt-bindings/gpio/nordic-npm6001-gpio.h> #include <zephyr/kernel.h> #include <zephyr/sys/util_macro.h> #include <zephyr...
/content/code_sandbox/drivers/gpio/gpio_npm6001.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,777
```unknown config GPIO_AXP192 bool "AXP192 GPIO driver" default y depends on DT_HAS_X_POWERS_AXP192_GPIO_ENABLED depends on DT_HAS_X_POWERS_AXP192_ENABLED select I2C select MFD help Enable the AXP192 GPIO driver. config GPIO_AXP192_INIT_PRIORITY int "AXP192 GPIO driver initialization priority" depends on ...
/content/code_sandbox/drivers/gpio/Kconfig.axp192
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
135
```c /* * */ #define DT_DRV_COMPAT microchip_mpfs_gpio #include <errno.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/sys/util.h> #include <zephyr/irq.h> #include <zephyr/drivers/gpio/gpio_utils.h> #define MSS_GPIO_INPUT_MODE 0x02 #define ...
/content/code_sandbox/drivers/gpio/gpio_mchp_mss.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,728
```c /* * */ #define DT_DRV_COMPAT nxp_s32_gpio #include <zephyr/kernel.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #include <zephyr/drivers/pinctrl.h> #include <zephyr/dt-bindings/gpio/nxp-s32-gpio.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(nxp_s32_gpio, CONFIG_GPIO...
/content/code_sandbox/drivers/gpio/gpio_nxp_s32.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
5,134
```unknown config GPIO_SMARTBOND bool "Renesas SmartBond(tm) GPIO driver" default y depends on DT_HAS_RENESAS_SMARTBOND_GPIO_ENABLED help Enable GPIO driver for Renesas SmartBond(tm) MCU family. ```
/content/code_sandbox/drivers/gpio/Kconfig.smartbond
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
56
```unknown config GPIO_SN74HC595 bool "SN74HC595 shift register as GPIO extender" default y depends on DT_HAS_TI_SN74HC595_ENABLED depends on SPI help Use SN74HC595 as GPIO extender if GPIO_SN74HC595 config GPIO_SN74HC595_INIT_PRIORITY int "Init priority" default 71 help Device driver initialization pr...
/content/code_sandbox/drivers/gpio/Kconfig.sn74hc595
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
90
```unknown # Microchip PolarFire SoC Icicle Kit GPIO configuration options config GPIO_MCHP_MSS bool "Microchip PolarFire SoC GPIO driver" default y depends on DT_HAS_MICROCHIP_MPFS_GPIO_ENABLED help Enable PolarFire SoC Icicle Kit GPIO driver. ```
/content/code_sandbox/drivers/gpio/Kconfig.mchp_mss
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
66
```unknown config GPIO_GD32 bool "GD32 GPIO driver" default y depends on DT_HAS_GD_GD32_GPIO_ENABLED select GD32_EXTI help Enable the GD32 GPIO driver. ```
/content/code_sandbox/drivers/gpio/Kconfig.gd32
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
47
```unknown # Emulated GPIO configuration options config GPIO_EMUL bool "Emulated GPIO driver" default y depends on DT_HAS_ZEPHYR_GPIO_EMUL_ENABLED help Enable the emulated GPIO driver. Mainly used for testing, this driver allows for an arbitrary number of emulated GPIO controllers to be instantiated. Fur...
/content/code_sandbox/drivers/gpio/Kconfig.emul
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
151
```c /* * */ #define DT_DRV_COMPAT cypress_cy8c95xx_gpio_port #include <errno.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <zephyr/init.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/i2c.h> #include <zephyr/sys/byteorder.h> #include <zephyr/sys/util.h> #include <zephyr/logging/l...
/content/code_sandbox/drivers/gpio/gpio_cy8c95xx.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,242
```c /* * */ #define DT_DRV_COMPAT brcm_brcmstb_gpio #include <zephyr/arch/common/sys_bitops.h> #include <zephyr/arch/cpu.h> #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/gpio/gpio_utils.h> #define GIO_DATA 0x04 #define GIO_IODIR 0x08 #define DEV_CFG(dev) ((const struct gp...
/content/code_sandbox/drivers/gpio/gpio_brcmstb.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,112