Functions | |
| cy_en_sar_status_t | Cy_SAR_ScanCountEnable (const SAR_Type *base) |
| Enables the Scanning Counter. More... | |
| __STATIC_INLINE void | Cy_SAR_ScanCountDisable (const SAR_Type *base) |
| Disables the Scanning Counter. More... | |
| __STATIC_INLINE void | Cy_SAR_SelectClock (const SAR_Type *base, cy_en_sar_clock_source_t clock) |
| Switch the SAR input clock source. More... | |
| cy_en_sar_status_t Cy_SAR_ScanCountEnable | ( | const SAR_Type * | base | ) |
Enables the Scanning Counter.
Suitable for PASS_V2.
| base | Pointer to the structure of SAR instance registers. |
| __STATIC_INLINE void Cy_SAR_ScanCountDisable | ( | const SAR_Type * | base | ) |
Disables the Scanning Counter.
| base | Pointer to the structure of SAR instance registers. |
| __STATIC_INLINE void Cy_SAR_SelectClock | ( | const SAR_Type * | base, |
| cy_en_sar_clock_source_t | clock | ||
| ) |
Switch the SAR input clock source.
Suitable for PASS_V2 only. In case of CY_SAR_CLK_DEEPSLEEP it enables SAR operation in Deep Sleep mode.
| base | Pointer to the structure of SAR instance registers. |
| clock | The SAR clock source cy_en_sar_clock_source_t. |