Home
last modified time | relevance | path

Searched refs:gpioHandle (Results 1 – 9 of 9) sorted by relevance

/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
75 assert(gpioHandle); in HAL_GpioInit()
78 gpioStateHandle = (hal_gpio_state_t *)gpioHandle; in HAL_GpioInit()
126 hal_gpio_status_t HAL_GpioDeinit(hal_gpio_handle_t gpioHandle) in HAL_GpioDeinit() argument
131 assert(gpioHandle); in HAL_GpioDeinit()
133 gpioStateHandle = (hal_gpio_state_t *)gpioHandle; in HAL_GpioDeinit()
145 hal_gpio_status_t HAL_GpioInstallCallback(hal_gpio_handle_t gpioHandle, in HAL_GpioInstallCallback() argument
152 assert(gpioHandle); in HAL_GpioInstallCallback()
155 gpioStateHandle = (hal_gpio_state_t *)gpioHandle; in HAL_GpioInstallCallback()
165 hal_gpio_status_t HAL_GpioGetTriggerMode(hal_gpio_handle_t gpioHandle, hal_gpio_interrupt_trigger_t… in HAL_GpioGetTriggerMode() argument
[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
280 assert(gpioHandle); in HAL_GpioInit()
284 gpioState = (hal_gpio_state_t *)gpioHandle; in HAL_GpioInit()
323 hal_gpio_status_t HAL_GpioDeinit(hal_gpio_handle_t gpioHandle) in HAL_GpioDeinit() argument
328 assert(gpioHandle); in HAL_GpioDeinit()
330 gpioState = (hal_gpio_state_t *)gpioHandle; in HAL_GpioDeinit()
341 hal_gpio_status_t HAL_GpioGetInput(hal_gpio_handle_t gpioHandle, uint8_t *pinState) in HAL_GpioGetInput() argument
346 assert(gpioHandle); in HAL_GpioGetInput()
348 gpioStateHandle = (hal_gpio_state_t *)gpioHandle; in HAL_GpioGetInput()
354 hal_gpio_status_t HAL_GpioSetOutput(hal_gpio_handle_t gpioHandle, uint8_t pinState) in HAL_GpioSetOutput() argument
[all …]
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
194 assert(gpioHandle); in HAL_GpioInit()
197 gpioState = (hal_gpio_state_t *)gpioHandle; in HAL_GpioInit()
259 hal_gpio_status_t HAL_GpioDeinit(hal_gpio_handle_t gpioHandle) in HAL_GpioDeinit() argument
263 assert(gpioHandle); in HAL_GpioDeinit()
265 gpioState = (hal_gpio_state_t *)gpioHandle; in HAL_GpioDeinit()
276 hal_gpio_status_t HAL_GpioGetInput(hal_gpio_handle_t gpioHandle, uint8_t *pinState) in HAL_GpioGetInput() argument
280 assert(gpioHandle); in HAL_GpioGetInput()
282 gpioStateHandle = (hal_gpio_state_t *)gpioHandle; in HAL_GpioGetInput()
289 hal_gpio_status_t HAL_GpioSetOutput(hal_gpio_handle_t gpioHandle, uint8_t pinState) in HAL_GpioSetOutput() argument
[all …]
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
523 assert(gpioHandle); in HAL_GpioInit()
527 gpioState = (hal_gpio_state_t *)gpioHandle; in HAL_GpioInit()
549 hal_gpio_status_t HAL_GpioDeinit(hal_gpio_handle_t gpioHandle) in HAL_GpioDeinit() argument
553 assert(gpioHandle); in HAL_GpioDeinit()
555 gpioState = (hal_gpio_state_t *)gpioHandle; in HAL_GpioDeinit()
558 (void)HAL_GpioSetTriggerMode(gpioHandle, kHAL_GpioInterruptDisable); in HAL_GpioDeinit()
564 hal_gpio_status_t HAL_GpioGetInput(hal_gpio_handle_t gpioHandle, uint8_t *pinState) in HAL_GpioGetInput() argument
568 assert(gpioHandle); in HAL_GpioGetInput()
571 gpioState = (hal_gpio_state_t *)gpioHandle; in HAL_GpioGetInput()
[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
210 assert(gpioHandle); in HAL_GpioInit()
214 gpioState = (hal_gpio_state_t *)gpioHandle; in HAL_GpioInit()
266 hal_gpio_status_t HAL_GpioDeinit(hal_gpio_handle_t gpioHandle) in HAL_GpioDeinit() argument
272 assert(gpioHandle); in HAL_GpioDeinit()
274 gpioStateHandle = (hal_gpio_state_t *)gpioHandle; in HAL_GpioDeinit()
315 hal_gpio_status_t HAL_GpioGetInput(hal_gpio_handle_t gpioHandle, uint8_t *pinState) in HAL_GpioGetInput() argument
319 assert(gpioHandle); in HAL_GpioGetInput()
321 gpioStateHandle = (hal_gpio_state_t *)gpioHandle; in HAL_GpioGetInput()
327 hal_gpio_status_t HAL_GpioSetOutput(hal_gpio_handle_t gpioHandle, uint8_t pinState) in HAL_GpioSetOutput() argument
[all …]
Dfsl_adapter_gpio.h172 hal_gpio_status_t HAL_GpioInit(hal_gpio_handle_t gpioHandle, hal_gpio_pin_config_t *pinConfig);
183 hal_gpio_status_t HAL_GpioDeinit(hal_gpio_handle_t gpioHandle);
195 hal_gpio_status_t HAL_GpioGetInput(hal_gpio_handle_t gpioHandle, uint8_t *pinState);
207 hal_gpio_status_t HAL_GpioSetOutput(hal_gpio_handle_t gpioHandle, uint8_t pinState);
221 hal_gpio_status_t HAL_GpioGetTriggerMode(hal_gpio_handle_t gpioHandle, hal_gpio_interrupt_trigger_t…
235 hal_gpio_status_t HAL_GpioSetTriggerMode(hal_gpio_handle_t gpioHandle, hal_gpio_interrupt_trigger_t…
250 hal_gpio_status_t HAL_GpioInstallCallback(hal_gpio_handle_t gpioHandle,
265 hal_gpio_status_t HAL_GpioWakeUpSetting(hal_gpio_handle_t gpioHandle, uint8_t enable);
276 hal_gpio_status_t HAL_GpioEnterLowpower(hal_gpio_handle_t gpioHandle);
287 hal_gpio_status_t HAL_GpioExitLowpower(hal_gpio_handle_t gpioHandle);
/hal_nxp-3.6.0/mcux/mcux-sdk/components/button/
Dfsl_component_button.c62 GPIO_HANDLE_DEFINE(gpioHandle);
146 (void)HAL_GpioGetInput(buttonState->gpioHandle, &pinState); in BUTTON_Event()
387 …gpioStatus = HAL_GpioInit(buttonState->gpioHandle, (hal_gpio_pin_config_t *)((void *)buttonConfig)…
391 gpioStatus = HAL_GpioSetTriggerMode(buttonState->gpioHandle, kHAL_GpioInterruptEitherEdge);
408 (void)HAL_GpioInstallCallback(buttonState->gpioHandle, BUTTON_Event, buttonState);
457 (void)HAL_GpioDeinit(buttonState->gpioHandle);
470 (void)HAL_GpioGetInput(buttonState->gpioHandle, pinState);
484 status = HAL_GpioWakeUpSetting(buttonState->gpioHandle, enable);
513 status = HAL_GpioEnterLowpower(buttonState->gpioHandle);
551 status = HAL_GpioExitLowpower(buttonState->gpioHandle);
/hal_nxp-3.6.0/mcux/mcux-sdk/components/led/
Dfsl_component_led.c89 uint32_t gpioHandle[sizeof(led_config_t) / sizeof(led_pin_config_t)] member
191 (void)HAL_GpioSetOutput(ledState->gpioHandle[i], (colorSet != 0U) ? in LED_SetStatus()
195 (void)HAL_GpioSetOutput(ledState->gpioHandle[i], (colorSet != 0U) ? in LED_SetStatus()
467 if (kStatus_HAL_GpioSuccess != HAL_GpioInit((hal_gpio_handle_t)ledState->gpioHandle[i], in LED_Init()
470 …if (kStatus_HAL_GpioSuccess != HAL_GpioInit((hal_gpio_handle_t)ledState->gpioHandle[i], &controlPi… in LED_Init()
543 (void)HAL_GpioDeinit(ledState->gpioHandle[i]); in LED_Deinit()
762 HAL_GpioEnterLowpower(ledState->gpioHandle[i]); in LED_EnterLowpower()
801 HAL_GpioExitLowpower(ledState->gpioHandle[i]); in LED_ExitLowpower()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/extern_flash/
Dfsl_adapter_eeprom_AT45DBxxxx.c55 GPIO_HANDLE_DEFINE(gpioHandle); /*!< gpio handle*/
74 (void)HAL_GpioSetOutput(s_eeState.gpioHandle, 0); in EEPROM_AssertCsGpio()
79 (void)HAL_GpioSetOutput(s_eeState.gpioHandle, 1); in EEPROM_DeassertCsGpio()
257 (void)HAL_GpioInit((hal_gpio_handle_t)s_eeState.gpioHandle, &controlPin); in EEPROM_Init()