STM32L443xx HAL User Manual
Functions
Configuration functions
EXTI Exported Functions

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.

Detailed Description

Configuration functions.

 ===============================================================================
              ##### Configuration functions #####
 ===============================================================================


Function Documentation

HAL_StatusTypeDef HAL_EXTI_ClearConfigLine ( EXTI_HandleTypeDef hexti)

Clear whole configuration of a dedicated Exti line.

Parameters:
hextiExti handle.
Return values:
HALStatus.

Definition at line 362 of file stm32l4xx_hal_exti.c.

References assert_param, EXTI_CONFIG, EXTI_CONFIG_OFFSET, EXTI_GPIO, EXTI_MODE_OFFSET, EXTI_PIN_MASK, EXTI_REG_MASK, EXTI_REG_SHIFT, IS_EXTI_GPIO_PIN, IS_EXTI_LINE, and EXTI_HandleTypeDef::Line.

HAL_StatusTypeDef HAL_EXTI_GetConfigLine ( EXTI_HandleTypeDef hexti,
EXTI_ConfigTypeDef pExtiConfig 
)
HAL_StatusTypeDef HAL_EXTI_GetHandle ( EXTI_HandleTypeDef hexti,
uint32_t  ExtiLine 
)

Store line number as handle private field.

Parameters:
hextiExti handle.
ExtiLineExti line number. This parameter can be from 0 to EXTI_LINE_NB.
Return values:
HALStatus.

Definition at line 454 of file stm32l4xx_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.

Parameters:
hextiExti handle.
CallbackIDUser callback identifier. This parameter can be one of
pPendingCbfnfunction pointer to be stored as callback.
Return values:
HALStatus.

Definition at line 428 of file stm32l4xx_hal_exti.c.

References HAL_EXTI_COMMON_CB_ID, and EXTI_HandleTypeDef::PendingCallback.

HAL_StatusTypeDef HAL_EXTI_SetConfigLine ( EXTI_HandleTypeDef hexti,
EXTI_ConfigTypeDef pExtiConfig 
)