MG32L003 Standard Peripherals Firmware Library

函数
LVD_Private_Functions
MG32L003_StdPeriph_Driver » LVD

## 函数
void | LVD_DeInit (void)
| Deinitializes the LVD peripheral registers to their default reset values. 更多...
void | LVD_DIGFLT_Cmd (FunctionalState NewState)
| Enables or disables the LVD digital filter. 更多...
void | LVD_Init (LVD_InitTypeDef *InitStruct)
| Initializes the LVD Unit according to the specified parameters in the LVD_InitTypeDef. 更多...
void | LVD_Cmd (FunctionalState NewState)
| Enables or disables the LVD peripheral. 更多...
void | LVD_ITCmd (FunctionalState NewState)
| Enables or disables LVD interrupt. 更多...
FlagStatus | LVD_GetFlagStatus (void)
| Checks whether LVD interrupt flag is set or not. 更多...
ITStatus | LVD_GetITStatus (void)
| Checks whether LVD interrupt is set or not. 更多...
void | LVD_ClearITPendingBit (void)
| Clears the LVD interrupt bit. 更多...
void | LVD_ClearFlag (void)
| Clears the LVD flag. 更多...

## 详细描述

## 函数说明

## ◆ LVD_ClearFlag()

void LVD_ClearFlag | ( | void |  | ) |

Clears the LVD flag.

参数

  None |

返回值

  None |

## ◆ LVD_ClearITPendingBit()

void LVD_ClearITPendingBit | ( | void |  | ) |

Clears the LVD interrupt bit.

参数

  None |

返回值

  None |

## ◆ LVD_Cmd()

void LVD_Cmd | ( | FunctionalState | NewState | ) |

Enables or disables the LVD peripheral.

参数

  NewState | The new state of the LVD peripheral. This parameter can be: ENABLE or DISABLE.

返回值

  None |

## ◆ LVD_DeInit()

void LVD_DeInit | ( | void |  | ) |

Deinitializes the LVD peripheral registers to their default reset values.

参数

  None |

返回值

  None |

## ◆ LVD_DIGFLT_Cmd()

void LVD_DIGFLT_Cmd | ( | FunctionalState | NewState | ) |

Enables or disables the LVD digital filter.

参数

  NewState | The new state of the LVD digital filter. This parameter can be: ENABLE or DISABLE.

返回值

  None |

## ◆ LVD_GetFlagStatus()

FlagStatus LVD_GetFlagStatus | ( | void |  | ) |

Checks whether LVD interrupt flag is set or not.

参数

  None |

返回值

  The | new state of LVD interrupt flag (SET or RESET).

## ◆ LVD_GetITStatus()

ITStatus LVD_GetITStatus | ( | void |  | ) |

Checks whether LVD interrupt is set or not.

参数

  None |

返回值

  The | new state of LVD interrupt (SET or RESET).

## ◆ LVD_Init()

void LVD_Init | ( | LVD_InitTypeDef * | InitStruct | ) |

Initializes the LVD Unit according to the specified parameters in the LVD_InitTypeDef.

参数

  InitStruct | Pointer to LVD initialization structure that contains the configuration information for the specified LVD module.

返回值

  None |

## ◆ LVD_ITCmd()

void LVD_ITCmd | ( | FunctionalState | NewState | ) |

Enables or disables LVD interrupt.

参数

  NewState | The new state of LVD interrupt. This parameter can be: ENABLE or DISABLE.

返回值

  None |