PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Data Structures
Data Structures
PDL API Reference » LPComp (Low Power Comparator)

## General Description

## Data Structures
struct | cy_stc_lpcomp_config_t
| The low-power comparator configuration structure. More...
struct | cy_en_lpcomp_trim_t
| The low-power comparator trim structure. More...
struct | cy_stc_lpcomp_context_t
| The low-power comparator context structure, used to improve thread-safe implementation of the PDL. More...

## Data Structure Documentation

## ◆ cy_stc_lpcomp_config_t

struct cy_stc_lpcomp_config_t

Data Fields
cy_en_lpcomp_out_t | outputMode | The low-power comparator outputMode: Direct output, Synchronized output or Pulse output.
cy_en_lpcomp_hyst_t | hysteresis | Enables or disables the low-power comparator hysteresis.
cy_en_lpcomp_pwr_t | power | Sets the low-power comparator power mode.
cy_en_lpcomp_int_t | intType | Sets the low-power comparator interrupt mode.

## ◆ cy_en_lpcomp_trim_t

struct cy_en_lpcomp_trim_t

Data Fields
bool | enable | Enables or disables the low-power comparator trim.
cy_en_lpcomp_trim_polarity_t | polarity | Defines the low-power comparator trim polarity.
cy_en_lpcomp_trim_magnitude_t | magnitude | Defines the low-power comparator trim magnitude.

## ◆ cy_stc_lpcomp_context_t

struct cy_stc_lpcomp_context_t