TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

Fork of TUKS-COURSE-TIMER by TUKS MCU Introductory course

Embed: (wiki syntax)

« Back to documentation index

Start-Stop operation functions

Start-Stop operation functions
[COMP Exported Functions]

Start-Stop operation functions. More...

Functions

HAL_StatusTypeDef HAL_COMP_Start (COMP_HandleTypeDef *hcomp)
 Start the comparator.
HAL_StatusTypeDef HAL_COMP_Stop (COMP_HandleTypeDef *hcomp)
 Stop the comparator.
void HAL_COMP_IRQHandler (COMP_HandleTypeDef *hcomp)
 Comparator IRQ handler.

Detailed Description

Start-Stop operation functions.

 ===============================================================================
                      ##### IO operation functions #####
 ===============================================================================  
    [..]  This section provides functions allowing to:
      (+) Start a comparator instance.
      (+) Stop a comparator instance.


Function Documentation

void HAL_COMP_IRQHandler ( COMP_HandleTypeDef *  hcomp )

Comparator IRQ handler.

Parameters:
hcompCOMP handle
Return values:
None

Definition at line 570 of file stm32l4xx_hal_comp.c.

HAL_StatusTypeDef HAL_COMP_Start ( COMP_HandleTypeDef *  hcomp )

Start the comparator.

Parameters:
hcompCOMP handle
Return values:
HALstatus

Definition at line 486 of file stm32l4xx_hal_comp.c.

HAL_StatusTypeDef HAL_COMP_Stop ( COMP_HandleTypeDef *  hcomp )

Stop the comparator.

Parameters:
hcompCOMP handle
Return values:
HALstatus

Definition at line 533 of file stm32l4xx_hal_comp.c.