Home
last modified time | relevance | path

Searched refs:pinConfig (Results 1 – 25 of 28) sorted by relevance

12

/hal_nxp-3.6.0/mcux/mcux-sdk/components/gpio/
Dfsl_adapter_gint.c71 hal_gpio_status_t HAL_GpioInit(hal_gpio_handle_t gpioHandle, hal_gpio_pin_config_t *pinConfig) in HAL_GpioInit() argument
76 assert(pinConfig); in HAL_GpioInit()
83 if (kHAL_GpioDirectionOut == pinConfig->direction) in HAL_GpioInit()
106 if (pinConfig->port >= (uint8_t)FSL_FEATURE_GINT_PORT_COUNT) in HAL_GpioInit()
111 if (pinConfig->port >= 2U) in HAL_GpioInit()
117 gpioStateHandle->pin.pin = pinConfig->pin; in HAL_GpioInit()
118 gpioStateHandle->pin.port = pinConfig->port; in HAL_GpioInit()
119 gpioStateHandle->pin.direction = (uint16_t)pinConfig->direction; in HAL_GpioInit()
423 hal_gpio_status_t HAL_GpioInit(hal_gpio_handle_t gpioHandle, hal_gpio_pin_config_t *pinConfig)
434 assert(pinConfig);
[all …]
Dfsl_adapter_lpc_gpio.c201 hal_gpio_status_t HAL_GpioInit(hal_gpio_handle_t gpioHandle, hal_gpio_pin_config_t *pinConfig) in HAL_GpioInit() argument
211 assert(pinConfig); in HAL_GpioInit()
217 … (kStatus_HAL_GpioSuccess != HAL_GpioConflictSearch(s_GpioHead, pinConfig->port, pinConfig->pin))) in HAL_GpioInit()
228 gpioState->pin.pin = pinConfig->pin; in HAL_GpioInit()
229 gpioState->pin.port = pinConfig->port; in HAL_GpioInit()
230 gpioState->pin.pinSet.direction = (uint8_t)pinConfig->direction; in HAL_GpioInit()
233 if (kHAL_GpioDirectionOut == pinConfig->direction) in HAL_GpioInit()
236 gpioPinconfig.outputLogic = pinConfig->level; in HAL_GpioInit()
242 if (0U == (uint32_t)HAL_GPIO_PORT_INIT_GET_FLAG(pinConfig->port)) in HAL_GpioInit()
244 HAL_GPIO_PORT_INIT_SET_FLAG(pinConfig->port); in HAL_GpioInit()
[all …]
Dfsl_adapter_igpio.c269 hal_gpio_status_t HAL_GpioInit(hal_gpio_handle_t gpioHandle, hal_gpio_pin_config_t *pinConfig) in HAL_GpioInit() argument
281 assert(pinConfig); in HAL_GpioInit()
287 if (NULL == gpioList[pinConfig->port]) in HAL_GpioInit()
293 … (kStatus_HAL_GpioSuccess != HAL_GpioConflictSearch(s_GpioHead, pinConfig->port, pinConfig->pin))) in HAL_GpioInit()
304 gpioState->pin.pin = pinConfig->pin; in HAL_GpioInit()
305 gpioState->pin.port = pinConfig->port; in HAL_GpioInit()
306 gpioState->pin.direction = (uint16_t)pinConfig->direction; in HAL_GpioInit()
309 if (kHAL_GpioDirectionOut == (hal_gpio_direction_t)pinConfig->direction) in HAL_GpioInit()
312 gpioPinconfig.outputLogic = pinConfig->level; in HAL_GpioInit()
Dfsl_adapter_rt_gpio.c186 hal_gpio_status_t HAL_GpioInit(hal_gpio_handle_t gpioHandle, hal_gpio_pin_config_t *pinConfig) in HAL_GpioInit() argument
195 assert(pinConfig); in HAL_GpioInit()
201 … (kStatus_HAL_GpioSuccess != HAL_GpioConflictSearch(s_GpioHead, pinConfig->port, pinConfig->pin))) in HAL_GpioInit()
212 gpioState->pin.pin = pinConfig->pin; in HAL_GpioInit()
213 gpioState->pin.port = pinConfig->port; in HAL_GpioInit()
214 gpioState->pin.direction = (uint16_t)pinConfig->direction; in HAL_GpioInit()
217 if (kHAL_GpioDirectionOut == pinConfig->direction) in HAL_GpioInit()
220 gpioPinConfig.outputLogic = pinConfig->level; in HAL_GpioInit()
Dfsl_adapter_gpio.c518 hal_gpio_status_t HAL_GpioInit(hal_gpio_handle_t gpioHandle, hal_gpio_pin_config_t *pinConfig) in HAL_GpioInit() argument
524 assert(pinConfig); in HAL_GpioInit()
531 … (kStatus_HAL_GpioSuccess != HAL_GpioConflictSearch(s_GpioHead, pinConfig->port, pinConfig->pin))) in HAL_GpioInit()
543 (void)memcpy((void *)&gpioState->direction, (void *)pinConfig, sizeof(hal_gpio_pin_config_t)); in HAL_GpioInit()
545 …GPIO_PinInit(s_GpioPort[pinConfig->port], pinConfig->pin, (const gpio_pin_config_t *)(void *)&pinC… in HAL_GpioInit()
Dfsl_adapter_gpio.h172 hal_gpio_status_t HAL_GpioInit(hal_gpio_handle_t gpioHandle, hal_gpio_pin_config_t *pinConfig);
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/drivers/gpio/i.mx/i.mxrt600/
Dgpio_driver.c30 .pinConfig = {kGPIO_DigitalInput, 0},
65 …pGpioConfig->pinConfig.pinDirection = dir == GPIO_DIRECTION_IN ? kGPIO_DigitalInput : kGPIO_Digita… in imxsdk_gpio_pin_init()
67 …PIO_PinInit(pinHandle->base, pinHandle->portNumber, pinHandle->pinNumber, &pGpioConfig->pinConfig); in imxsdk_gpio_pin_init()
Dgpio_driver.h42 gpio_pin_config_t pinConfig; /*!< General pin charactertics.*/ member
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/drivers/gpio/i.mx/
Dgpio_driver.c30 .pinConfig = {kGPIO_DigitalInput, 0}, .interruptMode = kGPIO_IntLowLevel};
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()
Dgpio_driver.h42 gpio_pin_config_t pinConfig; /*!< General pin charactertics.*/ member
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/drivers/gpio/kinetis/
Dgpio_driver.c31 ….pinConfig = {kGPIO_DigitalInput, 0}, .portPinConfig = {0}, .interruptMode = kPORT_InterruptRising…
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()
Dgpio_driver.h41 gpio_pin_config_t pinConfig; /*!< General pin charactertics.*/ member
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/drivers/gpio/i.mx/i.mxrt1180/
Dgpio_driver.c30 .pinConfig = {kRGPIO_DigitalInput, 0}, .interruptMode = kRGPIO_InterruptRisingEdge};
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()
Dgpio_driver.h43 rgpio_pin_config_t pinConfig; /*!< General pin charactertics.*/ member
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/drivers/gpio/lpc/
Dgpio_driver.c63 ….pinConfig = {kGPIO_DigitalInput, 0}, .interruptMode = kGINT_TrigEdge, .interruptPolarity = kGINT_…
132 …pGpioConfig->pinConfig.pinDirection = (dir == GPIO_DIRECTION_IN) ? kGPIO_DigitalInput : kGPIO_Digi… in ksdk_gpio_pin_init()
133 …PIO_PinInit(pinHandle->base, pinHandle->portNumber, pinHandle->pinNumber, &pGpioConfig->pinConfig); in ksdk_gpio_pin_init()
Dgpio_driver.h35 gpio_pin_config_t pinConfig; /*!< General pin charactertics.*/ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/i2s/
Dfsl_flexio_i2s.c134 shifterConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_I2S_Init()
154 shifterConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_I2S_Init()
169 timerConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_I2S_Init()
186 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_I2S_Init()
207 timerConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_I2S_Init()
224 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_I2S_Init()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/spi/
Dfsl_flexio_spi.c258 shifterConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_SPI_MasterInit()
280 shifterConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_SPI_MasterInit()
302 timerConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_SPI_MasterInit()
328 timerConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_SPI_MasterInit()
462 shifterConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_SPI_SlaveInit()
483 shifterConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_SPI_SlaveInit()
505 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_SPI_SlaveInit()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/camera/
Dfsl_flexio_camera.c97 shifterConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_CAMERA_Init()
118 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_CAMERA_Init()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/uart/
Dfsl_flexio_uart.c162 shifterConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_UART_Init()
176 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_UART_Init()
220 shifterConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_UART_Init()
234 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_UART_Init()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/i2c/
Dfsl_flexio_i2c_master.c652 shifterConfig.pinConfig = kFLEXIO_PinConfigOpenDrainOrBidirection; in FLEXIO_I2C_MasterInit()
665 shifterConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_I2C_MasterInit()
680 timerConfig.pinConfig = kFLEXIO_PinConfigOpenDrainOrBidirection; in FLEXIO_I2C_MasterInit()
705 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_I2C_MasterInit()
724 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_I2C_MasterInit()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/
Dfsl_flexio.c258 …FLEXIO_SHIFTCTL_PINCFG(shifterConfig->pinConfig) | FLEXIO_SHIFTCTL_PINSEL(shifterConfig->pinSelect… in FLEXIO_SetShifterConfig()
305 … FLEXIO_TIMCTL_PINCFG(timerConfig->pinConfig) | FLEXIO_TIMCTL_PINSEL(timerConfig->pinSelect) | in FLEXIO_SetTimerConfig()
Dfsl_flexio.h256 flexio_pin_config_t pinConfig; /*!< Timer Pin Configuration. */ member
284 flexio_pin_config_t pinConfig; /*!< Shifter Pin Configuration. */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/boards/frdmk32l3a6/project_template/cm4/
Dperipherals.c114 .pinConfig = kLPI2C_2PinOpenDrain,
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/driverexamples/mma8491q/
Dmma8491q_example.c62 .pinConfig = {kGPIO_DigitalInput, 0},

12