Home
last modified time | relevance | path

Searched refs:hcomp (Results 1 – 6 of 6) sorted by relevance

/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_comp.c281 HAL_StatusTypeDef HAL_COMP_Init(COMP_HandleTypeDef *hcomp) in HAL_COMP_Init() argument
290 if(hcomp == NULL) in HAL_COMP_Init()
294 else if(__HAL_COMP_IS_LOCKED(hcomp)) in HAL_COMP_Init()
301 assert_param(IS_COMP_ALL_INSTANCE(hcomp->Instance)); in HAL_COMP_Init()
302 assert_param(IS_COMP_INPUT_PLUS(hcomp->Instance, hcomp->Init.NonInvertingInput)); in HAL_COMP_Init()
303 assert_param(IS_COMP_INPUT_MINUS(hcomp->Instance, hcomp->Init.InvertingInput)); in HAL_COMP_Init()
304 assert_param(IS_COMP_OUTPUTPOL(hcomp->Init.OutputPol)); in HAL_COMP_Init()
305 assert_param(IS_COMP_POWERMODE(hcomp->Init.Mode)); in HAL_COMP_Init()
306 assert_param(IS_COMP_HYSTERESIS(hcomp->Init.Hysteresis)); in HAL_COMP_Init()
307 assert_param(IS_COMP_BLANKINGSRC_INSTANCE(hcomp->Instance, hcomp->Init.BlankingSrce)); in HAL_COMP_Init()
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_comp.c236 HAL_StatusTypeDef HAL_COMP_Init(COMP_HandleTypeDef *hcomp) in HAL_COMP_Init() argument
241 if((hcomp == NULL) || ((hcomp->State & COMP_STATE_BIT_LOCK) != RESET)) in HAL_COMP_Init()
248 assert_param(IS_COMP_ALL_INSTANCE(hcomp->Instance)); in HAL_COMP_Init()
250 if (hcomp->Instance == COMP1) in HAL_COMP_Init()
252 assert_param(IS_COMP_NONINVERTINGINPUTPULL(hcomp->Init.NonInvertingInputPull)); in HAL_COMP_Init()
256 assert_param(IS_COMP_INVERTINGINPUT(hcomp->Init.InvertingInput)); in HAL_COMP_Init()
257 assert_param(IS_COMP_OUTPUT(hcomp->Init.Output)); in HAL_COMP_Init()
258 assert_param(IS_COMP_MODE(hcomp->Init.Mode)); in HAL_COMP_Init()
259 assert_param(IS_COMP_WINDOWMODE(hcomp->Init.WindowMode)); in HAL_COMP_Init()
265 if ((hcomp->Init.WindowMode == COMP_WINDOWMODE_DISABLE) || in HAL_COMP_Init()
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_comp.c229 HAL_StatusTypeDef HAL_COMP_Init(COMP_HandleTypeDef *hcomp) in HAL_COMP_Init() argument
238 if((hcomp == NULL) || (__HAL_COMP_IS_LOCKED(hcomp))) in HAL_COMP_Init()
245 assert_param(IS_COMP_ALL_INSTANCE(hcomp->Instance)); in HAL_COMP_Init()
246 assert_param(IS_COMP_INPUT_PLUS(hcomp->Instance, hcomp->Init.NonInvertingInput)); in HAL_COMP_Init()
247 assert_param(IS_COMP_INPUT_MINUS(hcomp->Instance, hcomp->Init.InvertingInput)); in HAL_COMP_Init()
248 assert_param(IS_COMP_OUTPUTPOL(hcomp->Init.OutputPol)); in HAL_COMP_Init()
249 assert_param(IS_COMP_POWERMODE(hcomp->Init.Mode)); in HAL_COMP_Init()
250 assert_param(IS_COMP_TRIGGERMODE(hcomp->Init.TriggerMode)); in HAL_COMP_Init()
251 assert_param(IS_COMP_WINDOWMODE(hcomp->Init.WindowMode)); in HAL_COMP_Init()
253 if(hcomp->State == HAL_COMP_STATE_RESET) in HAL_COMP_Init()
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_comp.h125 void (* TriggerCallback)(struct __COMP_HandleTypeDef *hcomp); /*!< COMP trigger callback */
126 void (* MspInitCallback)(struct __COMP_HandleTypeDef *hcomp); /*!< COMP Msp Init callback */
127 void (* MspDeInitCallback)(struct __COMP_HandleTypeDef *hcomp); /*!< COMP Msp DeInit callback */
145 typedef void (*pCOMP_CallbackTypeDef)(COMP_HandleTypeDef *hcomp); /*!< pointer to a COMP callback …
762 HAL_StatusTypeDef HAL_COMP_Init(COMP_HandleTypeDef *hcomp);
763 HAL_StatusTypeDef HAL_COMP_DeInit (COMP_HandleTypeDef *hcomp);
764 void HAL_COMP_MspInit(COMP_HandleTypeDef *hcomp);
765 void HAL_COMP_MspDeInit(COMP_HandleTypeDef *hcomp);
769 HAL_StatusTypeDef HAL_COMP_RegisterCallback(COMP_HandleTypeDef *hcomp, HAL_COMP_CallbackIDTypeDef C…
770 HAL_StatusTypeDef HAL_COMP_UnRegisterCallback(COMP_HandleTypeDef *hcomp, HAL_COMP_CallbackIDTypeDef…
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_comp.h551 HAL_StatusTypeDef HAL_COMP_Init(COMP_HandleTypeDef *hcomp);
552 HAL_StatusTypeDef HAL_COMP_DeInit (COMP_HandleTypeDef *hcomp);
553 void HAL_COMP_MspInit(COMP_HandleTypeDef *hcomp);
554 void HAL_COMP_MspDeInit(COMP_HandleTypeDef *hcomp);
563 HAL_StatusTypeDef HAL_COMP_Start(COMP_HandleTypeDef *hcomp);
564 HAL_StatusTypeDef HAL_COMP_Stop(COMP_HandleTypeDef *hcomp);
565 HAL_StatusTypeDef HAL_COMP_Start_IT(COMP_HandleTypeDef *hcomp);
566 HAL_StatusTypeDef HAL_COMP_Stop_IT(COMP_HandleTypeDef *hcomp);
567 void HAL_COMP_IRQHandler(COMP_HandleTypeDef *hcomp);
576 HAL_StatusTypeDef HAL_COMP_Lock(COMP_HandleTypeDef *hcomp);
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_comp.h625 HAL_StatusTypeDef HAL_COMP_Init(COMP_HandleTypeDef *hcomp);
626 HAL_StatusTypeDef HAL_COMP_DeInit (COMP_HandleTypeDef *hcomp);
627 void HAL_COMP_MspInit(COMP_HandleTypeDef *hcomp);
628 void HAL_COMP_MspDeInit(COMP_HandleTypeDef *hcomp);
637 HAL_StatusTypeDef HAL_COMP_Start(COMP_HandleTypeDef *hcomp);
638 HAL_StatusTypeDef HAL_COMP_Stop(COMP_HandleTypeDef *hcomp);
639 void HAL_COMP_IRQHandler(COMP_HandleTypeDef *hcomp);
648 HAL_StatusTypeDef HAL_COMP_Lock(COMP_HandleTypeDef *hcomp);
649 uint32_t HAL_COMP_GetOutputLevel(COMP_HandleTypeDef *hcomp);
651 void HAL_COMP_TriggerCallback(COMP_HandleTypeDef *hcomp);
[all …]