STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Configuration functions. More...
Functions | |
HAL_StatusTypeDef | HAL_EXTI_SetConfigLine (EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig) |
Set configuration of a dedicated Exti line. | |
HAL_StatusTypeDef | HAL_EXTI_GetConfigLine (EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig) |
Get configuration of a dedicated Exti line. | |
HAL_StatusTypeDef | HAL_EXTI_ClearConfigLine (EXTI_HandleTypeDef *hexti) |
Clear whole configuration of a dedicated Exti line. | |
HAL_StatusTypeDef | HAL_EXTI_RegisterCallback (EXTI_HandleTypeDef *hexti, EXTI_CallbackIDTypeDef CallbackID, void(*pPendingCbfn)(void)) |
Register callback for a dedicated Exti line. | |
HAL_StatusTypeDef | HAL_EXTI_GetHandle (EXTI_HandleTypeDef *hexti, uint32_t ExtiLine) |
Store line number as handle private field. | |
Configuration functions.
=============================================================================== ##### Configuration functions ##### ===============================================================================
HAL_StatusTypeDef HAL_EXTI_SetConfigLine | ( | EXTI_HandleTypeDef * | hexti, |
EXTI_ConfigTypeDef * | pExtiConfig ) |
#include <stm32f4xx_hal_exti.h>
Set configuration of a dedicated Exti line.
hexti | Exti handle. |
pExtiConfig | Pointer on EXTI configuration to be set. |
HAL | Status. |
Definition at line 142 of file stm32f4xx_hal_exti.c.
References assert_param, EXTI_CONFIG, EXTI_GPIO, EXTI_MODE_EVENT, EXTI_MODE_INTERRUPT, EXTI_PIN_MASK, EXTI_TRIGGER_FALLING, EXTI_TRIGGER_RISING, EXTI_ConfigTypeDef::GPIOSel, HAL_ERROR, HAL_OK, IS_EXTI_GPIO_PIN, IS_EXTI_GPIO_PORT, IS_EXTI_LINE, IS_EXTI_MODE, IS_EXTI_TRIGGER, EXTI_ConfigTypeDef::Line, EXTI_HandleTypeDef::Line, EXTI_ConfigTypeDef::Mode, and EXTI_ConfigTypeDef::Trigger.
HAL_StatusTypeDef HAL_EXTI_GetConfigLine | ( | EXTI_HandleTypeDef * | hexti, |
EXTI_ConfigTypeDef * | pExtiConfig ) |
#include <stm32f4xx_hal_exti.h>
Get configuration of a dedicated Exti line.
hexti | Exti handle. |
pExtiConfig | Pointer on structure to store Exti configuration. |
HAL | Status. |
Definition at line 237 of file stm32f4xx_hal_exti.c.
References assert_param, EXTI_CONFIG, EXTI_GPIO, EXTI_MODE_EVENT, EXTI_MODE_INTERRUPT, EXTI_MODE_NONE, EXTI_PIN_MASK, EXTI_TRIGGER_FALLING, EXTI_TRIGGER_NONE, EXTI_TRIGGER_RISING, EXTI_ConfigTypeDef::GPIOSel, HAL_ERROR, HAL_OK, IS_EXTI_GPIO_PIN, IS_EXTI_LINE, EXTI_ConfigTypeDef::Line, EXTI_HandleTypeDef::Line, EXTI_ConfigTypeDef::Mode, and EXTI_ConfigTypeDef::Trigger.
HAL_StatusTypeDef HAL_EXTI_ClearConfigLine | ( | EXTI_HandleTypeDef * | hexti | ) |
#include <stm32f4xx_hal_exti.h>
Clear whole configuration of a dedicated Exti line.
hexti | Exti handle. |
HAL | Status. |
Definition at line 316 of file stm32f4xx_hal_exti.c.
References assert_param, EXTI_CONFIG, EXTI_GPIO, EXTI_PIN_MASK, HAL_ERROR, HAL_OK, IS_EXTI_GPIO_PIN, IS_EXTI_LINE, and EXTI_HandleTypeDef::Line.
HAL_StatusTypeDef HAL_EXTI_RegisterCallback | ( | EXTI_HandleTypeDef * | hexti, |
EXTI_CallbackIDTypeDef | CallbackID, | ||
void(* | pPendingCbfn )(void) ) |
#include <stm32f4xx_hal_exti.h>
Register callback for a dedicated Exti line.
hexti | Exti handle. |
CallbackID | User callback identifier. This parameter can be one of
|
pPendingCbfn | function pointer to be stored as callback. |
HAL | Status. |
Definition at line 369 of file stm32f4xx_hal_exti.c.
References HAL_ERROR, HAL_EXTI_COMMON_CB_ID, HAL_OK, and EXTI_HandleTypeDef::PendingCallback.
HAL_StatusTypeDef HAL_EXTI_GetHandle | ( | EXTI_HandleTypeDef * | hexti, |
uint32_t | ExtiLine ) |
#include <stm32f4xx_hal_exti.h>
Store line number as handle private field.
hexti | Exti handle. |
ExtiLine | Exti line number. This parameter can be from 0 to EXTI_LINE_NB. |
HAL | Status. |
Definition at line 394 of file stm32f4xx_hal_exti.c.
References assert_param, HAL_ERROR, HAL_OK, IS_EXTI_LINE, and EXTI_HandleTypeDef::Line.