Flag_Management

Functions

__STATIC_INLINE uint32_t ll_gpio_read_flag_it (gpio_regs_t *GPIOx, uint32_t pin_mask)
 Read GPIO Interrupt Combination Flag for pins in the range of 0 to 15. More...
 
__STATIC_INLINE uint32_t ll_gpio_is_active_flag_it (gpio_regs_t *GPIOx, uint32_t pin_mask)
 Indicates if the GPIO Interrupt Flag is set or not for pins in the range of 0 to 15. More...
 
__STATIC_INLINE void ll_gpio_clear_flag_it (gpio_regs_t *GPIOx, uint32_t pin_mask)
 Clear Interrupt Status flag for pins in the range of 0 to 15. More...
 

Detailed Description

Function Documentation

◆ ll_gpio_clear_flag_it()

__STATIC_INLINE void ll_gpio_clear_flag_it ( gpio_regs_t *  GPIOx,
uint32_t  pin_mask 
)

Clear Interrupt Status flag for pins in the range of 0 to 15.

Note
After an interrupt is triggered, the corresponding bit in the INTSTATUS Register is set. The interrupt status can be cleared by writing 1 to corresponding bit in INTCLEAR Register.
Register BitsName
INTSTATUS INTSTATUS
Parameters
GPIOxGPIO instance.
pin_maskThis parameter can be a combination of the following values:
Return values
None

◆ ll_gpio_is_active_flag_it()

__STATIC_INLINE uint32_t ll_gpio_is_active_flag_it ( gpio_regs_t *  GPIOx,
uint32_t  pin_mask 
)

Indicates if the GPIO Interrupt Flag is set or not for pins in the range of 0 to 15.

Note
After an interrupt is triggered, the corresponding bit in the INTSTATUS Register is set. The interrupt status can be cleared by writing 1 to corresponding bit in INTCLEAR Register.
Register BitsName
INTSTATUS INTSTATUS
Parameters
GPIOxGPIO instance.
pin_maskThis parameter can be a combination of the following values:
Return values
Stateof bit (1 or 0).

◆ ll_gpio_read_flag_it()

__STATIC_INLINE uint32_t ll_gpio_read_flag_it ( gpio_regs_t *  GPIOx,
uint32_t  pin_mask 
)

Read GPIO Interrupt Combination Flag for pins in the range of 0 to 15.

Note
After an interrupt is triggered, the corresponding bit in the INTSTATUS Register is set. The interrupt status can be cleared by writing 1 to corresponding bit in INTCLEAR Register.
Register BitsName
INTSTATUS INTSTATUS
Parameters
GPIOxGPIO instance.
pin_maskThis parameter can be a combination of the following values:
Return values
Interruptflag whose bits were set when the selected trigger event arrives on the interrupt