L4 HAL Drivers
stm32l4xx_ll_comp.h File Reference
Header file of COMP LL module. More...
Go to the source code of this file.
Functions | |
__STATIC_INLINE void | LL_COMP_SetPowerMode (COMP_TypeDef *COMPx, uint32_t PowerMode) |
Set comparator instance operating mode to adjust power and speed. | |
__STATIC_INLINE uint32_t | LL_COMP_GetPowerMode (COMP_TypeDef *COMPx) |
Get comparator instance operating mode to adjust power and speed. | |
__STATIC_INLINE void | LL_COMP_SetWindowMode (COMP_TypeDef *COMPx, uint32_t WindowMode) |
Set window mode of the comparators. | |
__STATIC_INLINE uint32_t | LL_COMP_GetWindowMode (COMP_TypeDef *COMPx) |
Get window mode of the comparators. | |
__STATIC_INLINE void | LL_COMP_ConfigInputs (COMP_TypeDef *COMPx, uint32_t InputInverting, uint32_t InputNonInverting) |
Set COMP inputs inverting and non-inverting. | |
__STATIC_INLINE void | LL_COMP_SetInputNonInverting (COMP_TypeDef *COMPx, uint32_t InputNonInverting) |
Set COMP inputs non-inverting. | |
__STATIC_INLINE uint32_t | LL_COMP_GetInputNonInverting (COMP_TypeDef *COMPx) |
Get COMP input non-inverting. | |
__STATIC_INLINE void | LL_COMP_SetInputInverting (COMP_TypeDef *COMPx, uint32_t InputInverting) |
Set COMP input inverting. | |
__STATIC_INLINE uint32_t | LL_COMP_GetInputInverting (COMP_TypeDef *COMPx) |
Get COMP input inverting. | |
__STATIC_INLINE void | LL_COMP_SetInputHysteresis (COMP_TypeDef *COMPx, uint32_t Hysteresis) |
Set comparator instance hysteresis mode of the inverting input. | |
__STATIC_INLINE uint32_t | LL_COMP_GetInputHysteresis (COMP_TypeDef *COMPx) |
Get comparator instance hysteresis mode of the inverting input. | |
__STATIC_INLINE void | LL_COMP_SetOutputPolarity (COMP_TypeDef *COMPx, uint32_t Polarity) |
Set comparator instance output polarity. | |
__STATIC_INLINE uint32_t | LL_COMP_GetOutputPolarity (COMP_TypeDef *COMPx) |
Get comparator instance output polarity. | |
__STATIC_INLINE void | LL_COMP_SetOutputBlankingSource (COMP_TypeDef *COMPx, uint32_t BlankingSource) |
Set comparator instance blanking source. | |
__STATIC_INLINE uint32_t | LL_COMP_GetOutputBlankingSource (COMP_TypeDef *COMPx) |
Get comparator instance blanking source. | |
__STATIC_INLINE void | LL_COMP_Enable (COMP_TypeDef *COMPx) |
Enable comparator instance. | |
__STATIC_INLINE void | LL_COMP_Disable (COMP_TypeDef *COMPx) |
Disable comparator instance. | |
__STATIC_INLINE uint32_t | LL_COMP_IsEnabled (COMP_TypeDef *COMPx) |
Get COMP enable state (0: COMP is disabled, 1: COMP is enabled) CSR EN LL_COMP_IsEnabled. | |
__STATIC_INLINE void | LL_COMP_Lock (COMP_TypeDef *COMPx) |
Lock comparator instance. | |
__STATIC_INLINE uint32_t | LL_COMP_IsLocked (COMP_TypeDef *COMPx) |
Get COMP lock state. | |
__STATIC_INLINE uint32_t | LL_COMP_ReadOutputLevel (COMP_TypeDef *COMPx) |
Read comparator instance output level. |
Detailed Description
Header file of COMP LL module.
- Version:
- V1.1.0
- Date:
- 16-September-2015
- Attention:
© COPYRIGHT(c) 2015 STMicroelectronics
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file stm32l4xx_ll_comp.h.
Generated on Tue Jul 12 2022 10:58:12 by 1.7.2