| /bsp/mm32l07x/Libraries/MM32L0xx/HAL_lib/src/ |
| A D | HAL_comp.c | 219 assert_param(IS_COMP_OUTPUT(COMP_InitStruct->COMP_Output)); in COMP_Init() 223 assert_param(IS_COMP_MODE(COMP_InitStruct->COMP_Mode)); in COMP_Init() 239 …tmpreg |= (uint32_t)(COMP_InitStruct->COMP_InvertingInput | COMP_InitStruct->COMP_NonInvertingInpu… in COMP_Init() 240 …COMP_InitStruct->COMP_Output | COMP_InitStruct->COMP_OutputPol | COMP_InitStruct->COMP_BlankingSrc… in COMP_Init() 241 COMP_InitStruct->COMP_Hysteresis | COMP_InitStruct->COMP_Mode); in COMP_Init() 253 void COMP_StructInit(COMP_InitTypeDef* COMP_InitStruct) in COMP_StructInit() argument 257 COMP_InitStruct->COMP_Output = COMP_Output_None; in COMP_StructInit() 258 COMP_InitStruct->COMP_BlankingSrce = COMP_BlankingSrce_None; in COMP_StructInit() 259 COMP_InitStruct->COMP_OutputPol = COMP_OutputPol_NonInverted; in COMP_StructInit() 260 COMP_InitStruct->COMP_Hysteresis = COMP_Hysteresis_No; in COMP_StructInit() [all …]
|
| /bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/ |
| A D | ft32f0xx_comp.c | 71 tmpreg |= (uint32_t)((COMP_InitStruct->COMP_VipSel | COMP_InitStruct->COMP_VinSel| in COMP_Init() 72 COMP_InitStruct->COMP_OutputSel | COMP_InitStruct->COMP_Pol)); in COMP_Init() 87 tmpreg |= (uint32_t)((COMP_InitStruct->COMP_VipSel | COMP_InitStruct->COMP_VinSel| in COMP_Init() 88 COMP_InitStruct->COMP_OutputSel | COMP_InitStruct->COMP_Pol)); in COMP_Init() 102 void COMP_StructInit(COMP_InitTypeDef* COMP_InitStruct) in COMP_StructInit() argument 105 COMP_InitStruct->COMP_VipSel = 0; in COMP_StructInit() 106 COMP_InitStruct->COMP_VinSel = 0; in COMP_StructInit() 107 COMP_InitStruct->COMP_OutputSel = 0; in COMP_StructInit() 108 COMP_InitStruct->COMP_Pol = 0; in COMP_StructInit() 112 COMP_InitStruct->COMP_OutputSel = 0; in COMP_StructInit() [all …]
|
| /bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/src/ |
| A D | n32g45x_comp.c | 104 void COMP_StructInit(COMP_InitType* COMP_InitStruct) in COMP_StructInit() argument 114 COMP_InitStruct->OutSel = COMPX_CTRL_OUTSEL_NC; in COMP_StructInit() 117 COMP_InitStruct->FilterEn=false; in COMP_StructInit() 118 COMP_InitStruct->ClkPsc=0; in COMP_StructInit() 119 COMP_InitStruct->SampWindow=0; in COMP_StructInit() 120 COMP_InitStruct->Thresh=0; in COMP_StructInit() 121 COMP_InitStruct->En = false; in COMP_StructInit() 135 pCS->FILP = COMP_InitStruct->ClkPsc; in COMP_Init() 141 if (COMP_InitStruct->InpDacConnect) in COMP_Init() 148 if (COMP_InitStruct->PolRev) in COMP_Init() [all …]
|
| /bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/src/ |
| A D | n32l43x_comp.c | 104 void COMP_StructInit(COMP_InitType* COMP_InitStruct) in COMP_StructInit() argument 118 COMP_InitStruct->FilterEn= false; in COMP_StructInit() 119 COMP_InitStruct->ClkPsc= 0; in COMP_StructInit() 120 COMP_InitStruct->SampWindow= 0; in COMP_StructInit() 121 COMP_InitStruct->Thresh= 0; in COMP_StructInit() 122 COMP_InitStruct->En = false; in COMP_StructInit() 140 pCS->FILP = COMP_InitStruct->ClkPsc; in COMP_Init() 146 if (COMP_InitStruct->InpDacConnect) in COMP_Init() 150 if (COMP_InitStruct->LowPoweMode) in COMP_Init() 157 if (COMP_InitStruct->PolRev) in COMP_Init() [all …]
|
| A D | n32l43x_lprcnt.c | 722 void LPRCNT_CompInit(LPRCNT_COMP_InitType* COMP_InitStruct) in LPRCNT_CompInit() argument 728 Temp |= COMP_InitStruct->Hyst; in LPRCNT_CompInit() 731 Temp |= COMP_InitStruct->InmSel; in LPRCNT_CompInit() 733 Temp |= COMP_InitStruct->LowPoweMode; in LPRCNT_CompInit()
|
| /bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/src/ |
| A D | n32l40x_comp.c | 104 void COMP_StructInit(COMP_InitType* COMP_InitStruct) in COMP_StructInit() argument 118 COMP_InitStruct->FilterEn=false; in COMP_StructInit() 119 COMP_InitStruct->ClkPsc=0; in COMP_StructInit() 120 COMP_InitStruct->SampWindow=0; in COMP_StructInit() 121 COMP_InitStruct->Thresh=0; in COMP_StructInit() 122 COMP_InitStruct->En = false; in COMP_StructInit() 140 pCS->FILP = COMP_InitStruct->ClkPsc; in COMP_Init() 146 if (COMP_InitStruct->InpDacConnect) in COMP_Init() 150 if (COMP_InitStruct->LowPoweMode) in COMP_Init() 157 if (COMP_InitStruct->PolRev) in COMP_Init() [all …]
|
| /bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/src/ |
| A D | n32g43x_comp.c | 104 void COMP_StructInit(COMP_InitType* COMP_InitStruct) in COMP_StructInit() argument 118 COMP_InitStruct->FilterEn=false; in COMP_StructInit() 119 COMP_InitStruct->ClkPsc=0; in COMP_StructInit() 120 COMP_InitStruct->SampWindow=0; in COMP_StructInit() 121 COMP_InitStruct->Thresh=0; in COMP_StructInit() 122 COMP_InitStruct->En = false; in COMP_StructInit() 140 pCS->FILP = COMP_InitStruct->ClkPsc; in COMP_Init() 146 if (COMP_InitStruct->InpDacConnect) in COMP_Init() 150 if (COMP_InitStruct->LowPoweMode) in COMP_Init() 157 if (COMP_InitStruct->PolRev) in COMP_Init() [all …]
|
| /bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/src/ |
| A D | n32g45x_comp.c | 104 void COMP_StructInit(COMP_InitType* COMP_InitStruct) in COMP_StructInit() argument 112 COMP_InitStruct->PolRev = false; // out polarity reverse in COMP_StructInit() 114 COMP_InitStruct->OutSel = COMPX_CTRL_OUTSEL_NC; in COMP_StructInit() 115 COMP_InitStruct->InpSel = COMPX_CTRL_INPSEL_RES; in COMP_StructInit() 116 COMP_InitStruct->InmSel = COMPX_CTRL_INMSEL_RES; in COMP_StructInit() 118 COMP_InitStruct->En = false; in COMP_StructInit() 120 void COMP_Init(COMPX COMPx, COMP_InitType* COMP_InitStruct) in COMP_Init() argument 132 pCS->FILP = COMP_InitStruct->ClkPsc; in COMP_Init() 138 if (COMP_InitStruct->InpDacConnect) in COMP_Init() 145 if (COMP_InitStruct->PolRev) in COMP_Init() [all …]
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/ |
| A D | stm32l1xx_ll_comp.c | 262 assert_param(IS_LL_COMP_POWER_MODE(COMP_InitStruct->PowerMode)); in LL_COMP_Init() 266 assert_param(IS_LL_COMP_INPUT_PLUS(COMPx, COMP_InitStruct->InputPlus)); in LL_COMP_Init() 285 COMP_InitStruct->PowerMode in LL_COMP_Init() 286 | COMP_InitStruct->InputMinus in LL_COMP_Init() 287 | COMP_InitStruct->OutputSelection in LL_COMP_Init() 291 LL_COMP_SetInputPlus(COMPx, COMP_InitStruct->InputPlus); in LL_COMP_Init() 300 LL_COMP_SetInputPlus(COMPx, COMP_InitStruct->InputPlus); in LL_COMP_Init() 313 void LL_COMP_StructInit(LL_COMP_InitTypeDef *COMP_InitStruct) in LL_COMP_StructInit() argument 317 COMP_InitStruct->InputPlus = LL_COMP_INPUT_PLUS_IO1; in LL_COMP_StructInit() 318 COMP_InitStruct->InputMinus = LL_COMP_INPUT_MINUS_VREFINT; in LL_COMP_StructInit() [all …]
|
| /bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Inc/ |
| A D | ft32f0xx_comp.h | 230 void COMP_Init(uint32_t COMP_Selection, COMP_InitTypeDef* COMP_InitStruct); 231 void COMP_StructInit(COMP_InitTypeDef* COMP_InitStruct);
|
| /bsp/mm32l07x/Libraries/MM32L0xx/HAL_lib/inc/ |
| A D | HAL_comp.h | 278 void COMP_Init(uint32_t COMP_Selection, COMP_InitTypeDef* COMP_InitStruct); 279 void COMP_StructInit(COMP_InitTypeDef* COMP_InitStruct);
|
| /bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/inc/ |
| A D | n32l43x_comp.h | 248 void COMP_StructInit(COMP_InitType* COMP_InitStruct); 249 void COMP_Init(COMPX COMPx, COMP_InitType* COMP_InitStruct);
|
| A D | n32l43x_lprcnt.h | 216 void LPRCNT_CompInit(LPRCNT_COMP_InitType* COMP_InitStruct);
|
| /bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/inc/ |
| A D | n32l40x_comp.h | 248 void COMP_StructInit(COMP_InitType* COMP_InitStruct); 249 void COMP_Init(COMPX COMPx, COMP_InitType* COMP_InitStruct);
|
| /bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/inc/ |
| A D | n32g43x_comp.h | 248 void COMP_StructInit(COMP_InitType* COMP_InitStruct); 249 void COMP_Init(COMPX COMPx, COMP_InitType* COMP_InitStruct);
|
| /bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/inc/ |
| A D | n32g45x_comp.h | 352 void COMP_StructInit(COMP_InitType* COMP_InitStruct); 353 void COMP_Init(COMPX COMPx, COMP_InitType* COMP_InitStruct);
|
| /bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/inc/ |
| A D | n32g45x_comp.h | 352 void COMP_StructInit(COMP_InitType* COMP_InitStruct); 353 void COMP_Init(COMPX COMPx, COMP_InitType* COMP_InitStruct);
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Inc/ |
| A D | stm32l1xx_ll_comp.h | 819 ErrorStatus LL_COMP_Init(COMP_TypeDef *COMPx, LL_COMP_InitTypeDef *COMP_InitStruct); 820 void LL_COMP_StructInit(LL_COMP_InitTypeDef *COMP_InitStruct);
|