Prusa MINI Firmware overview
GPIO Exported Macros
Collaboration diagram for GPIO Exported Macros:

Macros

#define __HAL_GPIO_EXTI_GET_FLAG(__EXTI_LINE__)   (EXTI->PR & (__EXTI_LINE__))
 Checks whether the specified EXTI line flag is set or not. More...
 
#define __HAL_GPIO_EXTI_CLEAR_FLAG(__EXTI_LINE__)   (EXTI->PR = (__EXTI_LINE__))
 Clears the EXTI's line pending flags. More...
 
#define __HAL_GPIO_EXTI_GET_IT(__EXTI_LINE__)   (EXTI->PR & (__EXTI_LINE__))
 Checks whether the specified EXTI line is asserted or not. More...
 
#define __HAL_GPIO_EXTI_CLEAR_IT(__EXTI_LINE__)   (EXTI->PR = (__EXTI_LINE__))
 Clears the EXTI's line pending bits. More...
 
#define __HAL_GPIO_EXTI_GENERATE_SWIT(__EXTI_LINE__)   (EXTI->SWIER |= (__EXTI_LINE__))
 Generates a Software interrupt on selected EXTI line. More...
 

Detailed Description

Macro Definition Documentation

◆ __HAL_GPIO_EXTI_GET_FLAG

#define __HAL_GPIO_EXTI_GET_FLAG (   __EXTI_LINE__)    (EXTI->PR & (__EXTI_LINE__))

Checks whether the specified EXTI line flag is set or not.

Parameters
<strong>EXTI_LINE</strong>specifies the EXTI line flag to check. This parameter can be GPIO_PIN_x where x can be(0..15)
Return values
Thenew state of EXTI_LINE (SET or RESET).

◆ __HAL_GPIO_EXTI_CLEAR_FLAG

#define __HAL_GPIO_EXTI_CLEAR_FLAG (   __EXTI_LINE__)    (EXTI->PR = (__EXTI_LINE__))

Clears the EXTI's line pending flags.

Parameters
<strong>EXTI_LINE</strong>specifies the EXTI lines flags to clear. This parameter can be any combination of GPIO_PIN_x where x can be (0..15)
Return values
None

◆ __HAL_GPIO_EXTI_GET_IT

#define __HAL_GPIO_EXTI_GET_IT (   __EXTI_LINE__)    (EXTI->PR & (__EXTI_LINE__))

Checks whether the specified EXTI line is asserted or not.

Parameters
<strong>EXTI_LINE</strong>specifies the EXTI line to check. This parameter can be GPIO_PIN_x where x can be(0..15)
Return values
Thenew state of EXTI_LINE (SET or RESET).

◆ __HAL_GPIO_EXTI_CLEAR_IT

#define __HAL_GPIO_EXTI_CLEAR_IT (   __EXTI_LINE__)    (EXTI->PR = (__EXTI_LINE__))

Clears the EXTI's line pending bits.

Parameters
<strong>EXTI_LINE</strong>specifies the EXTI lines to clear. This parameter can be any combination of GPIO_PIN_x where x can be (0..15)
Return values
None

◆ __HAL_GPIO_EXTI_GENERATE_SWIT

#define __HAL_GPIO_EXTI_GENERATE_SWIT (   __EXTI_LINE__)    (EXTI->SWIER |= (__EXTI_LINE__))

Generates a Software interrupt on selected EXTI line.

Parameters
<strong>EXTI_LINE</strong>specifies the EXTI line to check. This parameter can be GPIO_PIN_x where x can be(0..15)
Return values
None