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

Functions

__STATIC_INLINE void DDL_COMP_SetInputPlus (COMP_TypeDef *COMPx, uint32_t InputPlus)
 Set comparator input plus.
__STATIC_INLINE uint32_t DDL_COMP_GetInputPlus (COMP_TypeDef *COMPx)
 Get comparator input plus.
__STATIC_INLINE void DDL_COMP_SetInputMinus (COMP_TypeDef *COMPx, uint32_t InputMinus)
 Set comparator input minus.
__STATIC_INLINE uint32_t DDL_COMP_GetInputMinus (COMP_TypeDef *COMPx)
 Get comparator input minus.

Detailed Description

Function Documentation

◆ DDL_COMP_GetInputMinus()

__STATIC_INLINE uint32_t DDL_COMP_GetInputMinus ( COMP_TypeDef * COMPx)

Get comparator input minus.

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

Definition at line 403 of file g32r4xx_ddl_comp.h.

◆ DDL_COMP_GetInputPlus()

__STATIC_INLINE uint32_t DDL_COMP_GetInputPlus ( COMP_TypeDef * COMPx)

Get comparator input plus.

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

Definition at line 370 of file g32r4xx_ddl_comp.h.

◆ DDL_COMP_SetInputMinus()

__STATIC_INLINE void DDL_COMP_SetInputMinus ( COMP_TypeDef * COMPx,
uint32_t InputMinus )

Set comparator input minus.

Parameters
COMPxCOMP instance.
InputMinusCOMP1-3: This parameter can be one of the following values:
InputMinusCOMP4: This parameter can be one of the following values:
Return values
None

Definition at line 388 of file g32r4xx_ddl_comp.h.

◆ DDL_COMP_SetInputPlus()

__STATIC_INLINE void DDL_COMP_SetInputPlus ( COMP_TypeDef * COMPx,
uint32_t InputPlus )

Set comparator input plus.

Parameters
COMPxCOMP instance.
InputPlusCOMP1-3: This parameter can be one of the following values:
InputPlusCOMP4: This parameter can be one of the following values:
Return values
None

Definition at line 356 of file g32r4xx_ddl_comp.h.