| /bsp/synwit/libraries/SWM341_drivers/ |
| A D | drv_gpio.h | 16 #define GET_PIN(GPIOx,PIN) (rt_uint8_t)__SWM_GET_PIN_##GPIOx(PIN) argument 18 #define __SWM_GET_PIN_A(PIN) (PIN) argument 19 #define __SWM_GET_PIN_B(PIN) (16 + PIN) argument 20 #define __SWM_GET_PIN_C(PIN) (32 + PIN) argument 21 #define __SWM_GET_PIN_D(PIN) (48 + PIN) argument 22 #define __SWM_GET_PIN_E(PIN) (64 + PIN) argument 23 #define __SWM_GET_PIN_M(PIN) (80 + PIN) argument 24 #define __SWM_GET_PIN_N(PIN) (96 + PIN) argument
|
| /bsp/synwit/libraries/SWM320_drivers/ |
| A D | drv_gpio.h | 17 #define GET_PIN(GPIOx,PIN) (rt_uint8_t)__SWM_GET_PIN_##GPIOx(PIN) argument 19 #define __SWM_GET_PIN_A(PIN) (PIN) argument 20 #define __SWM_GET_PIN_B(PIN) (13 + PIN) argument 21 #define __SWM_GET_PIN_C(PIN) (26 + PIN) argument 22 #define __SWM_GET_PIN_M(PIN) (34 + PIN) argument 23 #define __SWM_GET_PIN_N(PIN) (56 + PIN) argument 24 #define __SWM_GET_PIN_P(PIN) (76 + PIN) argument
|
| /bsp/bluetrum/libraries/hal_drivers/ |
| A D | drv_gpio.h | 18 #define __AB32_GET_PIN_A(PIN) PIN argument 19 #define __AB32_GET_PIN_B(PIN) 8 + PIN argument 20 #define __AB32_GET_PIN_E(PIN) 13 + PIN argument 21 #define __AB32_GET_PIN_F(PIN) 21 + PIN argument
|
| A D | drv_common.h | 18 #define GET_PIN(PORTx,PIN) (rt_uint8_t)__AB32_GET_PIN_##PORTx(PIN) argument
|
| /bsp/rockchip/common/rk_hal/lib/hal/inc/ |
| A D | hal_gpio.h | 38 #define BANK_PIN(BANK, PIN) ((((BANK) << GPIO_BANK_SHIFT) & GPIO_BANK_MASK) + (((PIN) << GPIO_PIN_S… argument 91 #define IS_GPIO_PIN(PIN) ((PIN) != 0x00000000U) argument 92 #define IS_GPIO_HIGH_PIN(PIN) IS_GPIO_PIN(((PIN) & 0xFFFF0000U)) argument 94 #define IS_GET_GPIO_PIN(PIN) (((PIN) == GPIO_PIN_A0) || \ argument
|
| /bsp/allwinner/libraries/drivers/ |
| A D | drv_pin.h | 60 #define GET_GPIO_PORT(PIN) (PIN / 32) argument 61 #define GET_GPIO_PIN(PIN) (PIN % 32) argument 62 #define GET_PIN(PORTx, PIN) (rt_base_t)(32 * PORTx + PIN) argument
|
| /bsp/hc32l196/drivers/ |
| A D | drv_gpio.h | 21 #define GET_PIN(PORT, PIN) (((rt_uint16_t)__HC_PORT_ADJUST(__HC_PORT(PORT)) / 4) + PIN) argument 22 #define __GET_PIN(PORT, PIN) (((rt_uint16_t)__HC_PORT_ADJUST(PORT) / 4) + PIN) argument
|
| /bsp/msp432e401y-LaunchPad/libraries/Drivers/ |
| A D | drv_gpio.h | 17 #define _MSP432_PIN_NAME(PORTx,PIN) \ argument 19 #define GET_PIN(PORTx,PIN) rt_pin_get(_MSP432_PIN_NAME(PORTx,PIN)) argument
|
| /bsp/nuvoton/numaker-m2354/board/ |
| A D | board_dev.c | 45 #define NU_MFP_POS(PIN) ((PIN % 8) * 4) argument 46 #define NU_MFP_MSK(PIN) (0xful << NU_MFP_POS(PIN)) argument
|
| /bsp/nuvoton/libraries/m460/rtt_port/ |
| A D | drv_common.c | 117 #define NU_MFP_POS(PIN) ((PIN % 4) * 8) argument 118 #define NU_MFP_MSK(PIN) (0x1ful << NU_MFP_POS(PIN)) argument
|
| /bsp/nuvoton/numaker-m032ki/board/ |
| A D | board_dev.c | 161 #define NU_MFP_POS(PIN) ((PIN % 8) * 4) argument 162 #define NU_MFP_MSK(PIN) (0xful << NU_MFP_POS(PIN)) argument
|
| /bsp/nuvoton/numaker-iot-m467/board/ |
| A D | board_dev.c | 221 #define NU_MFP_POS(PIN) ((PIN % 4) * 8) argument 222 #define NU_MFP_MSK(PIN) (0x1ful << NU_MFP_POS(PIN)) argument
|
| /bsp/nuvoton/numaker-iot-m487/board/ |
| A D | board_dev.c | 209 #define NU_MFP_POS(PIN) ((PIN % 8) * 4) argument 210 #define NU_MFP_MSK(PIN) (0xful << NU_MFP_POS(PIN)) argument
|
| /bsp/nxp/imx/imx6ull-smart/drivers/ |
| A D | drv_pin.h | 17 #define GET_PIN(PORTx, PIN) (32 * (PORTx - 1) + (PIN & 31)) argument
|
| /bsp/nxp/imx/imxrt/libraries/drivers/ |
| A D | drv_gpio.h | 17 #define GET_PIN(PORTx, PIN) (32 * (PORTx - 1) + (PIN & 31)) /* PORTx:1,2,3,4,5 */ argument
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Inc/ |
| A D | stm32l1xx_hal_pwr_ex.h | 57 #define IS_PWR_WAKEUP_PIN(PIN) (((PIN) == PWR_WAKEUP_PIN1) || \ argument
|
| /bsp/tkm32F499/drivers/ |
| A D | drv_gpio.h | 15 #define GET_PIN(PORTx,PIN) (rt_base_t)((16 * ( ((rt_base_t)__TKM32_PORT(PORTx) - (rt_base_t)GPIOA_B… argument
|
| /bsp/ht32/libraries/ht32_drivers/ |
| A D | drv_gpio.h | 24 #define GET_PIN(PORTx,PIN) (rt_base_t)((16 * ( ((rt_base_t)__HT32_PORT(PORTx) - (rt_base_t)HT_GPIOA… argument
|
| /bsp/hpmicro/libraries/drivers/ |
| A D | drv_gpio.h | 15 #define GET_PIN(PORTx,PIN) (__HPM_PORT(PORTx) + PIN) argument
|
| /bsp/airm2m/air32f103/libraries/rt_drivers/ |
| A D | drv_gpio.h | 23 #define GET_PIN(PORTx,PIN) (rt_base_t)((16 * ( ((rt_base_t)__AIR32_PORT(PORTx) - (rt_base_t)GPIOA_B… argument
|
| /bsp/airm2m/air105/libraries/HAL_Driver/Inc/ |
| A D | air105_gpio.h | 124 #define IS_GPIO_PIN(PIN) (((((PIN) & ~(uint16_t)0xFFFF)) == 0x00) && ((PIN) != (uint16_t)0x00)) argument 126 #define IS_GET_GPIO_PIN(PIN) (((PIN) == GPIO_Pin_0) || \ argument
|
| /bsp/nuvoton/libraries/ma35/rtt_port/ |
| A D | drv_sspcc.h | 25 #define SSPCC_SET_GPIO_REALM(PORT, PIN, REALM) \ argument
|
| /bsp/nuvoton/numaker-pfm-m487/board/ |
| A D | board_dev.c | 217 #define NU_MFP_POS(PIN) ((PIN % 8) * 4) argument 218 #define NU_MFP_MSK(PIN) (0xful << NU_MFP_POS(PIN)) argument
|
| /bsp/stm32/libraries/HAL_Drivers/drivers/ |
| A D | drv_gpio.h | 27 #define GET_PIN(PORTx,PIN) (GPIO##PORTx == GPIOZ) ? (176 + PIN) : ((rt_base_t)((16 * ( ((rt_base_t)… argument
|
| /bsp/stm32/libraries/HAL_Drivers/nano/ |
| A D | drv_gpio.h | 29 #define GET_PIN(PORTx,PIN) (rt_uint64_t)((((rt_uint64_t)GPIO_PIN_##PIN) << 32) | (rt_uint64_t)(rt_u… argument
|