Lines Matching refs:pinConfig
71 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);
444 … (kStatus_HAL_GpioSuccess != HAL_GpioConflictSearch(s_GpioHead, pinConfig->port, pinConfig->pin)))
455 gpioState->pin.pin = pinConfig->pin;
456 gpioState->pin.port = pinConfig->port;
457 gpioState->pin.direction = pinConfig->direction;
459 if (kHAL_GpioDirectionOut == pinConfig->direction)
467 GPIO_PortInit(gpioList[0], pinConfig->port);
468 GPIO_PinInit(gpioList[0], pinConfig->port, pinConfig->pin, &gpioPinconfig);