STM32G474xx HAL User Manual
宏定义
CAPTURE TRIGGER
HRTIM导出的常量

定义可用于触发时序单元计数器捕获的事件的常量。 更多...

宏定义

#define LL_HRTIM_CAPTURETRIG_NONE   (uint64_t)0
#define LL_HRTIM_CAPTURETRIG_SW   (uint64_t)HRTIM_CPT1CR_SWCPT
#define LL_HRTIM_CAPTURETRIG_UPDATE   (uint64_t)HRTIM_CPT1CR_UPDCPT
#define LL_HRTIM_CAPTURETRIG_EEV_1   (uint64_t)HRTIM_CPT1CR_EXEV1CPT
#define LL_HRTIM_CAPTURETRIG_EEV_2   (uint64_t)HRTIM_CPT1CR_EXEV2CPT
#define LL_HRTIM_CAPTURETRIG_EEV_3   (uint64_t)HRTIM_CPT1CR_EXEV3CPT
#define LL_HRTIM_CAPTURETRIG_EEV_4   (uint64_t)HRTIM_CPT1CR_EXEV4CPT
#define LL_HRTIM_CAPTURETRIG_EEV_5   (uint64_t)HRTIM_CPT1CR_EXEV5CPT
#define LL_HRTIM_CAPTURETRIG_EEV_6   (uint64_t)HRTIM_CPT1CR_EXEV6CPT
#define LL_HRTIM_CAPTURETRIG_EEV_7   (uint64_t)HRTIM_CPT1CR_EXEV7CPT
#define LL_HRTIM_CAPTURETRIG_EEV_8   (uint64_t)HRTIM_CPT1CR_EXEV8CPT
#define LL_HRTIM_CAPTURETRIG_EEV_9   (uint64_t)HRTIM_CPT1CR_EXEV9CPT
#define LL_HRTIM_CAPTURETRIG_EEV_10   (uint64_t)HRTIM_CPT1CR_EXEV10CPT
#define LL_HRTIM_CAPTURETRIG_TA1_SET   (uint64_t)(HRTIM_CPT1CR_TA1SET ) <<32
#define LL_HRTIM_CAPTURETRIG_TA1_RESET   (uint64_t)(HRTIM_CPT1CR_TA1RST ) <<32
#define LL_HRTIM_CAPTURETRIG_TIMA_CMP1   (uint64_t)(HRTIM_CPT1CR_TIMACMP1 ) <<32
#define LL_HRTIM_CAPTURETRIG_TIMA_CMP2   (uint64_t)(HRTIM_CPT1CR_TIMACMP2 ) <<32
#define LL_HRTIM_CAPTURETRIG_TB1_SET   (uint64_t)(HRTIM_CPT1CR_TB1SET ) <<32
#define LL_HRTIM_CAPTURETRIG_TB1_RESET   (uint64_t)(HRTIM_CPT1CR_TB1RST ) <<32
#define LL_HRTIM_CAPTURETRIG_TIMB_CMP1   (uint64_t)(HRTIM_CPT1CR_TIMBCMP1 ) <<32
#define LL_HRTIM_CAPTURETRIG_TIMB_CMP2   (uint64_t)(HRTIM_CPT1CR_TIMBCMP2 ) <<32
#define LL_HRTIM_CAPTURETRIG_TC1_SET   (uint64_t)(HRTIM_CPT1CR_TC1SET ) <<32
#define LL_HRTIM_CAPTURETRIG_TC1_RESET   (uint64_t)(HRTIM_CPT1CR_TC1RST ) <<32
#define LL_HRTIM_CAPTURETRIG_TIMC_CMP1   (uint64_t)(HRTIM_CPT1CR_TIMCCMP1 ) <<32
#define LL_HRTIM_CAPTURETRIG_TIMC_CMP2   (uint64_t)(HRTIM_CPT1CR_TIMCCMP2 ) <<32
#define LL_HRTIM_CAPTURETRIG_TD1_SET   (uint64_t)(HRTIM_CPT1CR_TD1SET ) <<32
#define LL_HRTIM_CAPTURETRIG_TD1_RESET   (uint64_t)(HRTIM_CPT1CR_TD1RST ) <<32
#define LL_HRTIM_CAPTURETRIG_TIMD_CMP1   (uint64_t)(HRTIM_CPT1CR_TIMDCMP1 ) <<32
#define LL_HRTIM_CAPTURETRIG_TIMD_CMP2   (uint64_t)(HRTIM_CPT1CR_TIMDCMP2 ) <<32
#define LL_HRTIM_CAPTURETRIG_TE1_SET   (uint64_t)(HRTIM_CPT1CR_TE1SET ) <<32
#define LL_HRTIM_CAPTURETRIG_TE1_RESET   (uint64_t)(HRTIM_CPT1CR_TE1RST ) <<32
#define LL_HRTIM_CAPTURETRIG_TIME_CMP1   (uint64_t)(HRTIM_CPT1CR_TIMECMP1 ) <<32
#define LL_HRTIM_CAPTURETRIG_TIME_CMP2   (uint64_t)(HRTIM_CPT1CR_TIMECMP2 ) <<32
#define LL_HRTIM_CAPTURETRIG_TF1_SET   (uint64_t)(HRTIM_CPT1CR_TF1SET ) <<32
#define LL_HRTIM_CAPTURETRIG_TF1_RESET   (uint64_t)(HRTIM_CPT1CR_TF1RST ) <<32
#define LL_HRTIM_CAPTURETRIG_TIMF_CMP1   (uint64_t)(HRTIM_CPT1CR_TIMFCMP1 ) <<32
#define LL_HRTIM_CAPTURETRIG_TIMF_CMP2   (uint64_t)(HRTIM_CPT1CR_TIMFCMP2 ) <<32

详细说明

定义可用于触发时序单元计数器捕获的事件的常量。


宏定义文档

#define LL_HRTIM_CAPTURETRIG_EEV_1   (uint64_t)HRTIM_CPT1CR_EXEV1CPT

外部事件1触发捕获

定义于文件 stm32g4xx_ll_hrtim.h 的第 10f57 行。

#define LL_HRTIM_CAPTURETRIG_EEV_10   (uint64_t)HRTIM_CPT1CR_EXEV10CPT

外部事件10触发捕获

定义于文件 stm32g4xx_ll_hrtim.h 的第 10066 行。

#define LL_HRTIM_CAPTURETRIG_EEV_2   (uint64_t)HRTIM_CPT1CR_EXEV2CPT

外部事件2触发捕获

定义于文件 stm32g4xx_ll_hrtim.h 的第 1058 行。

#define LL_HRTIM_CAPTURETRIG_EEV_3   (uint64_t)HRTIM_CPT1CR_EXEV3CPT

外部事件3触发捕获

定义于文件 stm32g4xx_ll_hrtim.h 的第 1059 行。

#define LL_HRTIM_CAPTURETRIG_EEV_4   (uint64_t)HRTIM_CPT1CR_EXEV4CPT

外部事件4触发捕获

定义于文件 stm32g4xx_ll_hrtim.h 的第 1060 行。

#define LL_HRTIM_CAPTURETRIG_EEV_5   (uint64_t)HRTIM_CPT1CR_EXEV5CPT

外部事件5触发捕获

定义于文件 stm32g4xx_ll_hrtim.h 的第 1061 行。

#define LL_HRTIM_CAPTURETRIG_EEV_6   (uint64_t)HRTIM_CPT1CR_EXEV