WB32L003 Standard Peripherals Firmware Library

宏定义
LVD_Trigger_Selection
WB32L003_StdPeriph_Driver » LVD » LVD_Exported_constants

## 宏定义
#define | LVD_TRIGGER_HIGHLEVEL (VCMP_CR1_HIGHINTEN)
#define | LVD_TRIGGER_RISING (VCMP_CR1_RISEINTEN)
#define | LVD_TRIGGER_FALLING (VCMP_CR1_FALLINTEN)
#define | LVD_TRIGGER_BOTHEDGE (VCMP_CR1_RISEINTEN | VCMP_CR1_FALLINTEN)
#define | LVD_TRIGGER_ALL (VCMP_CR1_HIGHINTEN | VCMP_CR1_RISEINTEN | VCMP_CR1_FALLINTEN)
#define | IS_LVD_TRIGGER(LVD_TRIGGER)

## 详细描述

## 宏定义说明

## ◆ IS_LVD_TRIGGER

#define IS_LVD_TRIGGER | ( |  | LVD_TRIGGER | ) |

值:
(((LVD_TRIGGER) == LVD_TRIGGER_HIGHLEVEL) || \
((LVD_TRIGGER) == LVD_TRIGGER_RISING) || \
((LVD_TRIGGER) == LVD_TRIGGER_FALLING) || \
((LVD_TRIGGER) == LVD_TRIGGER_BOTHEDGE) || \
((LVD_TRIGGER) == LVD_TRIGGER_ALL))
LVD_TRIGGER_ALL
#define LVD_TRIGGER_ALL
Definition: wb32l003_lvd.h:78
LVD_TRIGGER_HIGHLEVEL
#define LVD_TRIGGER_HIGHLEVEL
Definition: wb32l003_lvd.h:74
LVD_TRIGGER_RISING
#define LVD_TRIGGER_RISING
Definition: wb32l003_lvd.h:75
LVD_TRIGGER_FALLING
#define LVD_TRIGGER_FALLING
Definition: wb32l003_lvd.h:76
LVD_TRIGGER_BOTHEDGE
#define LVD_TRIGGER_BOTHEDGE
Definition: wb32l003_lvd.h:77

## ◆ LVD_TRIGGER_ALL

#define LVD_TRIGGER_ALL (VCMP_CR1_HIGHINTEN | VCMP_CR1_RISEINTEN | VCMP_CR1_FALLINTEN)

Trigger select both edge and highlevel

## ◆ LVD_TRIGGER_BOTHEDGE

#define LVD_TRIGGER_BOTHEDGE (VCMP_CR1_RISEINTEN | VCMP_CR1_FALLINTEN)

Trigger select both edge

## ◆ LVD_TRIGGER_FALLING

#define LVD_TRIGGER_FALLING (VCMP_CR1_FALLINTEN)

Trigger select falling edge

## ◆ LVD_TRIGGER_HIGHLEVEL

#define LVD_TRIGGER_HIGHLEVEL (VCMP_CR1_HIGHINTEN)

Trigger select highlevel

## ◆ LVD_TRIGGER_RISING

#define LVD_TRIGGER_RISING (VCMP_CR1_RISEINTEN)

Trigger select rising edge