STM32F1 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F1 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Groups
EXTI_Private_Functions

Functions

void EXTI_DeInit (void)
 Deinitializes the EXTI peripheral registers to their default reset values. More...
 
void EXTI_Init (EXTI_InitTypeDef *EXTI_InitStruct)
 Initializes the EXTI peripheral according to the specified parameters in the EXTI_InitStruct. More...
 
void EXTI_StructInit (EXTI_InitTypeDef *EXTI_InitStruct)
 Fills each EXTI_InitStruct member with its reset value. More...
 
void EXTI_GenerateSWInterrupt (uint32_t EXTI_Line)
 Generates a Software interrupt. More...
 
FlagStatus EXTI_GetFlagStatus (uint32_t EXTI_Line)
 Checks whether the specified EXTI line flag is set or not. More...
 
void EXTI_ClearFlag (uint32_t EXTI_Line)
 Clears the EXTIís line pending flags. More...
 
ITStatus EXTI_GetITStatus (uint32_t EXTI_Line)
 Checks whether the specified EXTI line is asserted or not. More...
 
void EXTI_ClearITPendingBit (uint32_t EXTI_Line)
 Clears the EXTIís line pending bits. More...
 

Detailed Description

Function Documentation

void EXTI_ClearFlag ( uint32_t  EXTI_Line)

Clears the EXTIís line pending flags.

Parameters
EXTI_Line,:specifies the EXTI lines flags to clear. This parameter can be any combination of EXTI_Linex where x can be (0..19).
Return values
None
void EXTI_ClearITPendingBit ( uint32_t  EXTI_Line)

Clears the EXTIís line pending bits.

Parameters
EXTI_Line,:specifies the EXTI lines to clear. This parameter can be any combination of EXTI_Linex where x can be (0..19).
Return values
None
void EXTI_DeInit ( void  )

Deinitializes the EXTI peripheral registers to their default reset values.

Parameters
None
Return values
None
void EXTI_GenerateSWInterrupt ( uint32_t  EXTI_Line)

Generates a Software interrupt.

Parameters
EXTI_Line,:specifies the EXTI lines to be enabled or disabled. This parameter can be any combination of EXTI_Linex where x can be (0..19).
Return values
None
FlagStatus EXTI_GetFlagStatus ( uint32_t  EXTI_Line)

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

Parameters
EXTI_Line,:specifies the EXTI line flag to check. This parameter can be:
  • EXTI_Linex: External interrupt line x where x(0..19)
Return values
Thenew state of EXTI_Line (SET or RESET).
ITStatus EXTI_GetITStatus ( uint32_t  EXTI_Line)

Checks whether the specified EXTI line is asserted or not.

Parameters
EXTI_Line,:specifies the EXTI line to check. This parameter can be:
  • EXTI_Linex: External interrupt line x where x(0..19)
Return values
Thenew state of EXTI_Line (SET or RESET).
void EXTI_Init ( EXTI_InitTypeDef EXTI_InitStruct)

Initializes the EXTI peripheral according to the specified parameters in the EXTI_InitStruct.

Parameters
EXTI_InitStruct,:pointer to a EXTI_InitTypeDef structure that contains the configuration information for the EXTI peripheral.
Return values
None
void EXTI_StructInit ( EXTI_InitTypeDef EXTI_InitStruct)

Fills each EXTI_InitStruct member with its reset value.

Parameters
EXTI_InitStruct,:pointer to a EXTI_InitTypeDef structure which will be initialized.
Return values
None