Configures the power mode usage for each Comp.
Each power setting consumes different levels of current and supports a different response time. For more details, refer to the device Architecture Technical Reference Manual.
Configures the type of edge that triggers a comparator interrupt or disable the interrupt entirely.
The PTComp has possibility to configuring the switch routing matrix for connection of the inputs of each Comp to the different sources.
For more details, refer to the device Architecture Technical Reference Manual and product datasheet for specific pin number.
Configures the source signal for the post-processing logic.
For more details, refer to the device Architecture Technical Reference Manual.
Configures the level or edge sensing type for handling two outputs from Comps in post-processing.
For more details, refer to the device Architecture Technical Reference Manual.
Configures the post-processing operational mode, refer to Post-processing Configuration.
For more details, refer to the device Architecture Technical Reference Manual.
| Enumerator | |
|---|---|
| CY_AUTANALOG_PTCOMP_PP_CNT_MODE_DIRECT | The mode is DIRECT. |
| CY_AUTANALOG_PTCOMP_PP_CNT_MODE_FRAME | The mode is FRAME. |
| CY_AUTANALOG_PTCOMP_PP_CNT_MODE_WINDOW | The mode is WINDOW. |
Configures the size of counter window in number of clock cycles for PTComp, refer to Post-processing Configuration.
For more details, refer to the device Architecture Technical Reference Manual.
Configures the logical function of the lookup table to handle two outputs from Comps in post-processing.
For more details, refer to the device Architecture Technical Reference Manual.
Defines the range detection conditions for the post-processing counter, refer to group_autanalog_ptc_pp.
For more details, refer to the device Architecture Technical Reference Manual.
| Enumerator | |
|---|---|
| CY_AUTANALOG_PTCOMP_PP_COND_BELOW | The post-processing counter must satisfy the following: |
| CY_AUTANALOG_PTCOMP_PP_COND_INSIDE | The post-processing counter must satisfy the following: |
| CY_AUTANALOG_PTCOMP_PP_COND_ABOVE | The post-processing counter must satisfy the following: |
| CY_AUTANALOG_PTCOMP_PP_COND_OUTSIDE | The post-processing counter must satisfy the following: |