|
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_AMUXBUSA = 0x02u,
CY_LPCOMP_SW_AMUXBUSB = 0x04u,
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...
|
|