Searched refs:pGpioConfig (Results 1 – 5 of 5) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/drivers/gpio/kinetis/ |
D | gpio_driver.c | 57 gpioConfigKSDK_t *pGpioConfig = (gpioConfigKSDK_t *)apPinConfig; in ksdk_gpio_pin_init() local 61 pGpioConfig = &gpioConfigDefault; in ksdk_gpio_pin_init() 62 pGpioConfig->portPinConfig.pullSelect = kPORT_PullUp; in ksdk_gpio_pin_init() 63 pGpioConfig->portPinConfig.mux = kPORT_MuxAsGpio; in ksdk_gpio_pin_init() 69 PORT_SetPinConfig(pinHandle->portBase, pinHandle->pinNumber, &pGpioConfig->portPinConfig); in ksdk_gpio_pin_init() 71 …pGpioConfig->pinConfig.pinDirection = dir == GPIO_DIRECTION_IN ? kGPIO_DigitalInput : kGPIO_Digita… in ksdk_gpio_pin_init() 73 GPIO_PinInit(pinHandle->base, pinHandle->pinNumber, &pGpioConfig->pinConfig); in ksdk_gpio_pin_init() 83 … PORT_SetPinInterruptConfig(pinHandle->portBase, pinHandle->pinNumber, pGpioConfig->interruptMode); in ksdk_gpio_pin_init()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/drivers/gpio/lpc/ |
D | gpio_driver.c | 119 gpioConfigKSDK_t *pGpioConfig; in ksdk_gpio_pin_init() local 123 pGpioConfig = &gpioConfigDefault; in ksdk_gpio_pin_init() 127 pGpioConfig = (gpioConfigKSDK_t *)apPinConfig; in ksdk_gpio_pin_init() 132 …pGpioConfig->pinConfig.pinDirection = (dir == GPIO_DIRECTION_IN) ? kGPIO_DigitalInput : kGPIO_Digi… in ksdk_gpio_pin_init() 133 …GPIO_PinInit(pinHandle->base, pinHandle->portNumber, pinHandle->pinNumber, &pGpioConfig->pinConfig… in ksdk_gpio_pin_init() 146 GINT_SetCtrl(gintBases[pinHandle->portNumber], kGINT_CombineOr, pGpioConfig->interruptMode, in ksdk_gpio_pin_init() 153 if (pGpioConfig->interruptPolarity == kGINT_InterruptLogic_1) in ksdk_gpio_pin_init()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/drivers/gpio/i.mx/i.mxrt1180/ |
D | gpio_driver.c | 56 gpioConfigiMXSDK_t *pGpioConfig = (gpioConfigiMXSDK_t *)apPinConfig; in imxsdk_gpio_pin_init() local 60 pGpioConfig = &gpioConfigDefault; in imxsdk_gpio_pin_init() 63 …pGpioConfig->pinConfig.pinDirection = dir == GPIO_DIRECTION_IN ? kRGPIO_DigitalInput : kRGPIO_Digi… in imxsdk_gpio_pin_init() 65 RGPIO_PinInit(pinHandle->base, pinHandle->pinNumber, &pGpioConfig->pinConfig); in imxsdk_gpio_pin_init() 70 …Config(pinHandle->base, pinHandle->pinNumber, kRGPIO_InterruptOutput0, pGpioConfig->interruptMode); in imxsdk_gpio_pin_init()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/drivers/gpio/i.mx/i.mxrt600/ |
D | gpio_driver.c | 58 gpioConfigiMXSDK_t *pGpioConfig = (gpioConfigiMXSDK_t *)apPinConfig; in imxsdk_gpio_pin_init() local 62 pGpioConfig = &gpioConfigDefault; in imxsdk_gpio_pin_init() 65 …pGpioConfig->pinConfig.pinDirection = dir == GPIO_DIRECTION_IN ? kGPIO_DigitalInput : kGPIO_Digita… in imxsdk_gpio_pin_init() 67 …GPIO_PinInit(pinHandle->base, pinHandle->portNumber, pinHandle->pinNumber, &pGpioConfig->pinConfig… in imxsdk_gpio_pin_init()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/drivers/gpio/i.mx/ |
D | gpio_driver.c | 56 gpioConfigiMXSDK_t *pGpioConfig = (gpioConfigiMXSDK_t *)apPinConfig; in imxsdk_gpio_pin_init() local 60 pGpioConfig = &gpioConfigDefault; in imxsdk_gpio_pin_init() 63 …pGpioConfig->pinConfig.direction = dir == GPIO_DIRECTION_IN ? kGPIO_DigitalInput : kGPIO_DigitalOu… in imxsdk_gpio_pin_init() 65 GPIO_PinInit(pinHandle->base, pinHandle->pinNumber, &pGpioConfig->pinConfig); in imxsdk_gpio_pin_init()
|