|
| enum | cy_en_lpcomp_out_t {
CY_LPCOMP_OUT_PULSE = 0u
,
CY_LPCOMP_OUT_DIRECT = 1u
,
CY_LPCOMP_OUT_SYNC = 2u
} |
| | The low-power comparator output modes. More...
|
| |
| enum | cy_en_lpcomp_hyst_t {
CY_LPCOMP_HYST_ENABLE = 1u
,
CY_LPCOMP_HYST_DISABLE = 0u
} |
| | The low-power comparator hysteresis modes. More...
|
| |
| enum | cy_en_lpcomp_channel_t {
CY_LPCOMP_CHANNEL_0 = 0x1u
,
CY_LPCOMP_CHANNEL_1 = 0x2u
} |
| | The low-power comparator channel number. More...
|
| |
| enum | cy_en_lpcomp_int_t {
CY_LPCOMP_INTR_DISABLE = 0u
,
CY_LPCOMP_INTR_RISING = 1u
,
CY_LPCOMP_INTR_FALLING = 2u
,
CY_LPCOMP_INTR_BOTH = 3u
} |
| | The low-power comparator interrupt modes. More...
|
| |
| enum | cy_en_lpcomp_pwr_t {
CY_LPCOMP_MODE_OFF = 0u
,
CY_LPCOMP_MODE_ULP = 1u
,
CY_LPCOMP_MODE_LP = 2u
,
CY_LPCOMP_MODE_NORMAL = 3u
} |
| | The low-power comparator power-mode selection. More...
|
| |
| enum | cy_en_lpcomp_inputs_t {
CY_LPCOMP_SW_GPIO = 0x01u
,
CY_LPCOMP_SW_LOCAL_VREF = 0x08u
} |
| | The low-power comparator inputs. More...
|
| |
| enum | cy_en_lpcomp_status_t {
CY_LPCOMP_SUCCESS = 0x00u
,
CY_LPCOMP_BAD_PARAM = CY_LPCOMP_ID | CY_PDL_STATUS_ERROR | 0x01u
,
CY_LPCOMP_TRIMM_ERR = CY_LPCOMP_ID | CY_PDL_STATUS_ERROR | 0x02u
} |
| | The low-power comparator error codes. More...
|
| |
| enum | cy_en_lpcomp_trim_polarity_t {
CY_LPCOMP_TRIM_NEGATIVE = 0x00UL
,
CY_LPCOMP_TRIM_POSITIVE = 0x01UL
} |
| | The low-power comparator trim polarity. More...
|
| |
| enum | cy_en_lpcomp_trim_magnitude_t {
CY_LPCOMP_TRIM_0mV = 0x00UL
,
CY_LPCOMP_TRIM_1mV = 0x01UL
,
CY_LPCOMP_TRIM_2mV = 0x02UL
,
CY_LPCOMP_TRIM_3mV = 0x03UL
,
CY_LPCOMP_TRIM_4mV = 0x04UL
,
CY_LPCOMP_TRIM_5mV = 0x05UL
,
CY_LPCOMP_TRIM_6mV = 0x06UL
,
CY_LPCOMP_TRIM_7mV = 0x07UL
,
CY_LPCOMP_TRIM_8mV = 0x08UL
,
CY_LPCOMP_TRIM_9mV = 0x09UL
,
CY_LPCOMP_TRIM_10mV = 0x0AUL
,
CY_LPCOMP_TRIM_11mV = 0x0BUL
,
CY_LPCOMP_TRIM_12mV = 0x0CUL
,
CY_LPCOMP_TRIM_13mV = 0x0DUL
,
CY_LPCOMP_TRIM_14mV = 0x0EUL
,
CY_LPCOMP_TRIM_15mV = 0x0FUL
} |
| | The low-power comparator trim magnitude. More...
|
| |