CAPSENSE™ Middleware Library 5.0
Status Macros

General Description

Status macros.

Macros

#define CY_CAPSENSE_STATUS_SUCCESS   (0x00u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: Successfully.
 
#define CY_CAPSENSE_STATUS_BAD_PARAM   (0x01u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: Bad input parameter.
 
#define CY_CAPSENSE_STATUS_BAD_DATA   (0x02u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: Received wrong data.
 
#define CY_CAPSENSE_STATUS_TIMEOUT   (0x04u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: Timeout.
 
#define CY_CAPSENSE_STATUS_INVALID_STATE   (0x08u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: Invalid state.
 
#define CY_CAPSENSE_STATUS_BAD_CONFIG   (0x10u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: Bad configuration.
 
#define CY_CAPSENSE_STATUS_CONFIG_OVERFLOW   (0x20u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: Overflow.
 
#define CY_CAPSENSE_STATUS_HW_BUSY   (0x40u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: HW is busy.
 
#define CY_CAPSENSE_STATUS_HW_LOCKED   (0x80u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: HW is locked.
 
#define CY_CAPSENSE_STATUS_CALIBRATION_FAIL   (0x100u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: Unable to perform calibration.
 
#define CY_CAPSENSE_STATUS_CALIBRATION_REF_CHECK_FAIL   (0x200u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: CapDac calibration fail - The reference/fine CapDAC calibration stage is failed as the raw count minimum across widget is out of range.
 
#define CY_CAPSENSE_STATUS_CALIBRATION_CHECK_FAIL   (0x400u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: CapDac calibration fail - The resulting rawcounts across all sensors in widget are out of defined range.
 
#define CY_CAPSENSE_STATUS_BAD_CLOCK_CONFIG   (0x800u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: Sense Clock Divider is out of the valid range for the specified Clock source configuration.
 
#define CY_CAPSENSE_STATUS_CIC2_ACC_UNDERFLOW   (0x1000u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: Used scan configuration is not sufficient to accumulate at least one valid CIC2 sample.
 
#define CY_CAPSENSE_STATUS_CIC2_ACC_OVERFLOW   (0x2000u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: Used scan configuration leads to the overflow in the CIC2 accumulation register.
 
#define CY_CAPSENSE_STATUS_MIXED_SENSORS   (0x4000u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: Unable to perform a scan when MPSC sensors and other sense method sensors are located in the same frame.
 
#define CY_CAPSENSE_STATUS_UNKNOWN   (0x80000000u)
 Return status cy_capsense_status_t of CAPSENSE™ operation: Unknown.
 
#define CY_CAPSENSE_LP_PROCESS_ENABLED_MASK   (0x1uL)
 State of Low Power sensor processing mask.