STM32F103xB HAL User Manual
|
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_ClearConfigLine | ( | EXTI_HandleTypeDef * | hexti | ) |
Clear whole configuration of a dedicated Exti line.
hexti | Exti handle. |
HAL | Status. |
Definition at line 317 of file stm32f1xx_hal_exti.c.
References assert_param, EXTI_CONFIG, EXTI_GPIO, EXTI_PIN_MASK, IS_EXTI_GPIO_PIN, IS_EXTI_LINE, and EXTI_HandleTypeDef::Line.
HAL_StatusTypeDef HAL_EXTI_GetConfigLine | ( | EXTI_HandleTypeDef * | hexti, |
EXTI_ConfigTypeDef * | pExtiConfig | ||
) |
Get configuration of a dedicated Exti line.
hexti | Exti handle. |
pExtiConfig | Pointer on structure to store Exti configuration. |
HAL | Status. |
Definition at line 238 of file stm32f1xx_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, IS_EXTI_GPIO_PIN, IS_EXTI_LINE, EXTI_HandleTypeDef::Line, EXTI_ConfigTypeDef::Line, EXTI_ConfigTypeDef::Mode, and EXTI_ConfigTypeDef::Trigger.
HAL_StatusTypeDef HAL_EXTI_GetHandle | ( | EXTI_HandleTypeDef * | hexti, |
uint32_t | ExtiLine | ||
) |
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 395 of file stm32f1xx_hal_exti.c.
References assert_param, IS_EXTI_LINE, and EXTI_HandleTypeDef::Line.
HAL_StatusTypeDef HAL_EXTI_RegisterCallback | ( | EXTI_HandleTypeDef * | hexti, |
EXTI_CallbackIDTypeDef | CallbackID, | ||
void(*)(void) | pPendingCbfn | ||
) |
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 370 of file stm32f1xx_hal_exti.c.
References HAL_EXTI_COMMON_CB_ID, and EXTI_HandleTypeDef::PendingCallback.
HAL_StatusTypeDef HAL_EXTI_SetConfigLine | ( | EXTI_HandleTypeDef * | hexti, |
EXTI_ConfigTypeDef * | pExtiConfig | ||
) |
Set configuration of a dedicated Exti line.
hexti | Exti handle. |
pExtiConfig | Pointer on EXTI configuration to be set. |
HAL | Status. |
Definition at line 143 of file stm32f1xx_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, IS_EXTI_GPIO_PIN, IS_EXTI_GPIO_PORT, IS_EXTI_LINE, IS_EXTI_MODE, IS_EXTI_TRIGGER, EXTI_HandleTypeDef::Line, EXTI_ConfigTypeDef::Line, EXTI_ConfigTypeDef::Mode, and EXTI_ConfigTypeDef::Trigger.