MG32F10x Standard Peripherals Firmware Library

函数
EXTI_Private_Functions
MG32F10x_StdPeriph_Driver » EXTI

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

## 详细描述

## 函数说明

## ◆ EXTI_ClearFlag()

void EXTI_ClearFlag | ( | uint32_t | EXTI_Line | ) |

Clears the EXTI's line pending flags.

参数

  EXTI_Line | specifies the EXTI lines flags to clear. This parameter can be any combination of EXTI_Linex where x can be (0..19).

返回值

  None |

## ◆ EXTI_ClearITPendingBit()

void EXTI_ClearITPendingBit | ( | uint32_t | EXTI_Line | ) |

Clears the EXTI's line pending bits.

参数

  EXTI_Line | specifies the EXTI lines to clear. This parameter can be any combination of EXTI_Linex where x can be (0..19).

返回值

  None |

## ◆ EXTI_DeInit()

void EXTI_DeInit | ( | void |  | ) |

Deinitializes the EXTI peripheral registers to their default reset values.

参数

  None |

返回值

  None |

## ◆ EXTI_GenerateSWInterrupt()

void EXTI_GenerateSWInterrupt | ( | uint32_t | EXTI_Line | ) |

Generates a Software interrupt.

参数

  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).

返回值

  None |

## ◆ EXTI_GetFlagStatus()

FlagStatus EXTI_GetFlagStatus | ( | uint32_t | EXTI_Line | ) |

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

参数

  EXTI_Line | specifies the EXTI line flag to check. This parameter can be: EXTI_Linex: External interrupt line x where x(0..19)

返回值

  The | new state of EXTI_Line (SET or RESET).

## ◆ EXTI_GetITStatus()

ITStatus EXTI_GetITStatus | ( | uint32_t | EXTI_Line | ) |

Checks whether the specified EXTI line is asserted or not.

参数

  EXTI_Line | specifies the EXTI line to check. This parameter can be: EXTI_Linex: External interrupt line x where x(0..19)

返回值

  The | new state of EXTI_Line (SET or RESET).

## ◆ EXTI_Init()

void EXTI_Init | ( | EXTI_InitTypeDef * | EXTI_InitStruct | ) |

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

参数

  EXTI_InitStruct | pointer to a EXTI_InitTypeDef structure that contains the configuration information for the EXTI peripheral.

返回值

  None |

## ◆ EXTI_StructInit()

void EXTI_StructInit | ( | EXTI_InitTypeDef * | EXTI_InitStruct | ) |

Fills each EXTI_InitStruct member with its reset value.

参数

  EXTI_InitStruct | pointer to a EXTI_InitTypeDef structure which will be initialized.

返回值

  None |