G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
Configuration of comparator output

Functions

__STATIC_INLINE void DDL_COMP_SetOutputSelect (COMP_TypeDef *COMPx, uint32_t OutputSel)
 Set comparator output select.
__STATIC_INLINE uint32_t DDL_COMP_GetOutputSelect (COMP_TypeDef *COMPx)
 Set comparator output select.
__STATIC_INLINE void DDL_COMP_SetOutputPolarity (COMP_TypeDef *COMPx, uint32_t OutputPol)
 Set comparator output polarity.
__STATIC_INLINE uint32_t DDL_COMP_GetOutputPolarity (COMP_TypeDef *COMPx)
 Get comparator output polarity.

Detailed Description

Function Documentation

◆ DDL_COMP_GetOutputPolarity()

__STATIC_INLINE uint32_t DDL_COMP_GetOutputPolarity ( COMP_TypeDef * COMPx)

Get comparator output polarity.

Parameters
COMPxCOMP instance.
Return values
Returnedvalue can be one of the following values:

Definition at line 489 of file g32r4xx_ddl_comp.h.

◆ DDL_COMP_GetOutputSelect()

◆ DDL_COMP_SetOutputPolarity()

__STATIC_INLINE void DDL_COMP_SetOutputPolarity ( COMP_TypeDef * COMPx,
uint32_t OutputPol )

Set comparator output polarity.

Parameters
COMPxCOMP instance.
OutputPolThis parameter can be one of the following values:
Return values
None

Definition at line 476 of file g32r4xx_ddl_comp.h.

◆ DDL_COMP_SetOutputSelect()