Home
last modified time | relevance | path

Searched refs:gpiox (Results 1 – 5 of 5) sorted by relevance

/bsp/bluetrum/libraries/hal_libraries/ab32vg1_hal/source/
A Dab32vg1_hal_gpio.c21 gpiox[GPIOxFEN] |= BIT(pin); in gpio_afinit()
65 gpiox[GPIOxDIR] |= BIT(iocurrent); in hal_gpio_init()
75 gpiox[GPIOxPD] &= ~BIT(iocurrent); in hal_gpio_init()
76 gpiox[GPIOxPU] |= BIT(iocurrent); in hal_gpio_init()
80 gpiox[GPIOxPD] |= BIT(iocurrent); in hal_gpio_init()
90 gpiox[GPIOxDIR] &= ~BIT(iocurrent); in hal_gpio_init()
99 gpiox[GPIOxDE] |= BIT(iocurrent); in hal_gpio_init()
102 gpiox[GPIOxDE] &= ~BIT(iocurrent); in hal_gpio_init()
134 gpiox[GPIOx] &= ~BIT(pin); in hal_gpio_write()
136 gpiox[GPIOx] |= BIT(pin); in hal_gpio_write()
[all …]
/bsp/beaglebone/drivers/
A Dgpio.c144 rt_base_t gpiox = pin >> 5; in am33xx_pin_mode() local
160 rt_base_t gpiox = pin >> 5; in am33xx_pin_write() local
176 rt_base_t gpiox = pin >> 5; in am33xx_pin_read() local
186 rt_base_t gpiox = pin >> 5; in am33xx_pin_attach_irq() local
279 rt_base_t gpiox = pin >> 5; in am33xx_pin_detach_irq() local
312 rt_base_t gpiox; in am33xx_pin_get() local
317 gpiox = name[1] - '0'; in am33xx_pin_get()
358 rt_base_t gpiox; in rt_hw_gpio_init() local
361 for (gpiox = 0; gpiox < 4; gpiox++) in rt_hw_gpio_init()
364 vector = GPIO_INTx[gpiox]; in rt_hw_gpio_init()
[all …]
A Dgpio.h11 #define GET_PIN(gpiox, pinNumber) (rt_base_t)(gpiox << 5 | pinNumber) argument
/bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/Include/
A Dgd32vf103_gpio.h54 #define GPIO_CTL0(gpiox) REG32((gpiox) + 0x00U) /*!< GPIO port control register 0 */ argument
55 #define GPIO_CTL1(gpiox) REG32((gpiox) + 0x04U) /*!< GPIO port control register 1 */ argument
56 #define GPIO_ISTAT(gpiox) REG32((gpiox) + 0x08U) /*!< GPIO port input status register */ argument
57 #define GPIO_OCTL(gpiox) REG32((gpiox) + 0x0CU) /*!< GPIO port output control register… argument
58 #define GPIO_BOP(gpiox) REG32((gpiox) + 0x10U) /*!< GPIO port bit operation register … argument
59 #define GPIO_BC(gpiox) REG32((gpiox) + 0x14U) /*!< GPIO bit clear register */ argument
60 #define GPIO_LOCK(gpiox) REG32((gpiox) + 0x18U) /*!< GPIO port configuration lock regi… argument
/bsp/bluetrum/libraries/hal_libraries/ab32vg1_hal/include/
A Dab32vg1_hal_gpio.h87 void hal_gpio_init(hal_sfr_t gpiox, gpio_init_t gpio_init);
90 uint8_t hal_gpio_read(hal_sfr_t gpiox, uint8_t pin);
91 void hal_gpio_write(hal_sfr_t gpiox, uint8_t pin, uint8_t state);
92 void hal_gpio_toggle(hal_sfr_t gpiox, uint8_t pin);

Completed in 20 milliseconds