Searched refs:pGPIO (Results 1 – 4 of 4) sorted by relevance
| /bsp/rockchip/common/rk_hal/lib/hal/src/ |
| A D | hal_gpio.c | 60 pGPIO->PORTA_EOI = pin; in GPIO_SetEOI() 80 type = pGPIO->INTTYPE_LEVEL; in GPIO_GetIntType() 82 type |= pGPIO->INT_BOTHEDGE; in GPIO_GetIntType() 96 return pGPIO->INT_STATUS; in GPIO_GetIntStatus() 167 pGPIO->INTTYPE_LEVEL = (type) ? (pin) : (pGPIO->INTTYPE_LEVEL & ~(pin)); in HAL_GPIO_SetIntType() 168 pGPIO->INT_POLARITY = (plar) ? (pin) : (pGPIO->INT_POLARITY & ~(pin)); in HAL_GPIO_SetIntType() 170 pGPIO->INT_BOTHEDGE = (both) ? (pin) : (pGPIO->INT_BOTHEDGE & ~(pin)); in HAL_GPIO_SetIntType() 197 pGPIO->SWPORTA_DDR = (direction == GPIO_OUT) ? (pin) : (pGPIO->SWPORTA_DDR & ~(pin)); in HAL_GPIO_SetPinDirection() 275 pGPIO->SWPORTA_DR = (level == GPIO_HIGH) ? (pin) : (pGPIO->SWPORTA_DR & ~(pin)); in HAL_GPIO_SetPinLevel() 408 pGPIO->INTEN |= pin; in HAL_GPIO_EnableIRQ() [all …]
|
| /bsp/nv32f100x/lib/src/ |
| A D | gpio.c | 44 ASSERT((pGPIO == GPIOA) || (pGPIO == GPIOB)); in GPIO_DeInit() 50 ASSERT((pGPIO == GPIOA) || (pGPIO == GPIOB) || (pGPIO == GPIOC)); in GPIO_DeInit() 81 ASSERT((pGPIO == GPIOA) || (pGPIO == GPIOB)); in GPIO_Init() 87 ASSERT((pGPIO == GPIOA) || (pGPIO == GPIOB) || (pGPIO == GPIOC)); in GPIO_Init() 161 if (pGPIO == GPIOA) in GPIO_Init() 220 ASSERT((pGPIO == GPIOA) || (pGPIO == GPIOB)); in GPIO_Toggle() 226 ASSERT((pGPIO == GPIOA) || (pGPIO == GPIOB) || (pGPIO == GPIOC)); in GPIO_Toggle() 245 ASSERT((pGPIO == GPIOA) || (pGPIO == GPIOB)); in GPIO_Read() 251 ASSERT((pGPIO == GPIOA) || (pGPIO == GPIOB) || (pGPIO == GPIOC)); in GPIO_Read() 315 ASSERT((pGPIO == GPIOA) || (pGPIO == GPIOB)); in GPIO_Write() [all …]
|
| /bsp/rockchip/common/rk_hal/lib/hal/inc/ |
| A D | hal_gpio.h | 132 eGPIO_pinDirection HAL_GPIO_GetPinDirection(struct GPIO_REG *pGPIO, ePINCTRL_GPIO_PINS pin); 133 eGPIO_pinLevel HAL_GPIO_GetPinLevel(struct GPIO_REG *pGPIO, ePINCTRL_GPIO_PINS pin); 134 eGPIO_pinLevel HAL_GPIO_GetPinData(struct GPIO_REG *pGPIO, ePINCTRL_GPIO_PINS pin); 135 uint32_t HAL_GPIO_GetBankLevel(struct GPIO_REG *pGPIO); 137 HAL_Status HAL_GPIO_SetPinLevel(struct GPIO_REG *pGPIO, ePINCTRL_GPIO_PINS pin, eGPIO_pinLevel leve… 139 HAL_Status HAL_GPIO_SetIntType(struct GPIO_REG *pGPIO, ePINCTRL_GPIO_PINS pin, eGPIO_intType mode); 141 HAL_Status HAL_GPIO_SetPinsLevel(struct GPIO_REG *pGPIO, uint32_t mPins, eGPIO_pinLevel level); 142 HAL_Status HAL_GPIO_SetPinsDirection(struct GPIO_REG *pGPIO, uint32_t mPins, eGPIO_pinDirection dir… 144 void HAL_GPIO_EnableIRQ(struct GPIO_REG *pGPIO, ePINCTRL_GPIO_PINS pin); 145 void HAL_GPIO_DisableIRQ(struct GPIO_REG *pGPIO, ePINCTRL_GPIO_PINS pin); [all …]
|
| /bsp/nv32f100x/lib/inc/ |
| A D | gpio.h | 262 void GPIO_DeInit(GPIO_Type *pGPIO); 263 void GPIO_Init(GPIO_Type *pGPIO, uint32_t u32PinMask, GPIO_PinConfigType sGpioType); 264 void GPIO_Toggle(GPIO_Type *pGPIO, uint32_t u32PinMask); 265 uint32_t GPIO_Read(GPIO_Type *pGPIO); 266 void GPIO_Write(GPIO_Type *pGPIO, uint32_t u32Value);
|
Completed in 11 milliseconds