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

Functions

__STATIC_INLINE void DDL_COMP_SetHysteresis (COMP_TypeDef *COMPx, uint32_t Hysteresis)
 Select comparator hysteresis.
__STATIC_INLINE uint32_t DDL_COMP_GetHysteresis (COMP_TypeDef *COMPx)
 Get comparator hysteresis.
__STATIC_INLINE void DDL_COMP_SetOutputBlank (COMP_TypeDef *COMPx, uint32_t Blank)
 Set comparator output blank.
__STATIC_INLINE uint32_t DDL_COMP_GetOutputBlank (COMP_TypeDef *COMPx)
 Get comparator output blank.

Detailed Description

Function Documentation

◆ DDL_COMP_GetHysteresis()

__STATIC_INLINE uint32_t DDL_COMP_GetHysteresis ( COMP_TypeDef * COMPx)

Get comparator hysteresis.

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

Definition at line 294 of file g32r4xx_ddl_comp.h.

◆ DDL_COMP_GetOutputBlank()

__STATIC_INLINE uint32_t DDL_COMP_GetOutputBlank ( COMP_TypeDef * COMPx)

Get comparator output blank.

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

Definition at line 330 of file g32r4xx_ddl_comp.h.

◆ DDL_COMP_SetHysteresis()

__STATIC_INLINE void DDL_COMP_SetHysteresis ( COMP_TypeDef * COMPx,
uint32_t Hysteresis )

Select comparator hysteresis.

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

Definition at line 280 of file g32r4xx_ddl_comp.h.

◆ DDL_COMP_SetOutputBlank()

__STATIC_INLINE void DDL_COMP_SetOutputBlank ( COMP_TypeDef * COMPx,
uint32_t Blank )

Set comparator output blank.

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

Definition at line 312 of file g32r4xx_ddl_comp.h.