Searched refs:HT_CMPn (Results 1 – 4 of 4) sorted by relevance
| /bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/src/ |
| A D | ht32f5xxxx_cmp.c | 70 Assert_Param(IS_CMP(HT_CMPn)); in CMP_UnprotectConfig() 73 HT_CMPn->CR = CMP_PROTECT_KEY; in CMP_UnprotectConfig() 85 Assert_Param(IS_CMP(HT_CMPn)); in CMP_Init() 143 Assert_Param(IS_CMP(HT_CMPn)); in CMP_Cmd() 148 HT_CMPn->CR |= CMP_ENABLE; in CMP_Cmd() 175 HT_CMPn->IER |= CMP_INT_x; in CMP_IntConfig() 179 HT_CMPn->IER &= ~CMP_INT_x; in CMP_IntConfig() 202 HT_CMPn->TFR = (HT_CMPn->TFR | CMP_xE_Detect) & 0xfffffffc; in CMP_EdgeDetectConfig() 206 HT_CMPn->TFR = (HT_CMPn->TFR & (~CMP_xE_Detect)) & 0xfffffffc; in CMP_EdgeDetectConfig() 251 HT_CMPn->TFR = (HT_CMPn->TFR & 0xfffffffc) | CMP_FLAG_x; in CMP_ClearFlag() [all …]
|
| /bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/src/ |
| A D | ht32f1xxxx_cmp.c | 70 Assert_Param(IS_CMP(HT_CMPn)); in CMP_UnprotectConfig() 73 HT_CMPn->CR = CMP_PROTECT_KEY; in CMP_UnprotectConfig() 85 Assert_Param(IS_CMP(HT_CMPn)); in CMP_Init() 132 Assert_Param(IS_CMP(HT_CMPn)); in CMP_Cmd() 137 HT_CMPn->CR |= CMP_ENABLE; in CMP_Cmd() 158 Assert_Param(IS_CMP(HT_CMPn)); in CMP_IntConfig() 164 HT_CMPn->IER |= CMP_INT_x; in CMP_IntConfig() 168 HT_CMPn->IER &= ~CMP_INT_x; in CMP_IntConfig() 191 HT_CMPn->TFR = (HT_CMPn->TFR | CMP_xE_Detect) & 0xfffffffc; in CMP_EdgeDetectConfig() 195 HT_CMPn->TFR = (HT_CMPn->TFR & (~CMP_xE_Detect)) & 0xfffffffc; in CMP_EdgeDetectConfig() [all …]
|
| /bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/inc/ |
| A D | ht32f1xxxx_cmp.h | 202 void CMP_DeInit(HT_CMP_TypeDef* HT_CMPn); 203 void CMP_UnprotectConfig(HT_CMP_TypeDef* HT_CMPn); 204 void CMP_Init(HT_CMP_TypeDef* HT_CMPn, CMP_InitTypeDef* CMP_InitStruct); 206 void CMP_Cmd(HT_CMP_TypeDef* HT_CMPn, ControlStatus NewState); 207 void CMP_IntConfig(HT_CMP_TypeDef* HT_CMPn, u32 CMP_INT_x, ControlStatus NewState); 208 void CMP_EdgeDetectConfig(HT_CMP_TypeDef* HT_CMPn, u32 CMP_xE_Detect, ControlStatus NewState); 209 FlagStatus CMP_GetFlagStatus(HT_CMP_TypeDef* HT_CMPn, u32 CMP_FLAG_x); 210 void CMP_ClearFlag(HT_CMP_TypeDef* HT_CMPn, u32 CMP_FLAG_x); 211 FlagStatus CMP_GetOutputStatus(HT_CMP_TypeDef* HT_CMPn); 212 void CMP_SetScalerValue(HT_CMP_TypeDef* HT_CMPn, u8 Scaler_Value);
|
| /bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/inc/ |
| A D | ht32f5xxxx_cmp.h | 368 void CMP_DeInit(HT_CMP_TypeDef* HT_CMPn); 369 void CMP_UnprotectConfig(HT_CMP_TypeDef* HT_CMPn); 370 void CMP_Init(HT_CMP_TypeDef* HT_CMPn, CMP_InitTypeDef* CMP_InitStruct); 372 void CMP_Cmd(HT_CMP_TypeDef* HT_CMPn, ControlStatus NewState); 373 void CMP_IntConfig(HT_CMP_TypeDef* HT_CMPn, u32 CMP_INT_x, ControlStatus NewState); 374 void CMP_EdgeDetectConfig(HT_CMP_TypeDef* HT_CMPn, u32 CMP_xE_Detect, ControlStatus NewState); 375 FlagStatus CMP_GetFlagStatus(HT_CMP_TypeDef* HT_CMPn, u32 CMP_FLAG_x); 376 void CMP_ClearFlag(HT_CMP_TypeDef* HT_CMPn, u32 CMP_FLAG_x); 377 FlagStatus CMP_GetOutputStatus(HT_CMP_TypeDef* HT_CMPn); 378 void CMP_SetScalerValue(HT_CMP_TypeDef* HT_CMPn, u8 Scaler_Value); [all …]
|
Completed in 8 milliseconds