CAT2 Peripheral Driver Library
PASS Configuration Functions

This function is for configuring the PUMP Clock Source in the PASS IP block. More...

Functions

void Cy_PASS_SetPumpClkSource (PASS_Type *base, cy_en_pass_clk_pump_source_t pumpClk)
 Sets the clock source for both charge pumps in the CTB and SAR ADC. More...
 

Detailed Description

This function is for configuring the PUMP Clock Source in the PASS IP block.

Function Documentation

◆ Cy_PASS_SetPumpClkSource()

void Cy_PASS_SetPumpClkSource ( PASS_Type *  base,
cy_en_pass_clk_pump_source_t  pumpClk 
)

Sets the clock source for both charge pumps in the CTB and SAR ADC.

Recall that each CTB opamp and SAR ADC has its own charge pump.

Parameters
baseThe pointer to structure-describing registers.
pumpClkClock source selection for the pump. See cy_en_ctb_clk_pump_source_t.
Note
This function should be used instead of obsolete Cy_CTB_SetPumpClkSource() function because it will be removed in the next releases.
Function Usage
/* Scenario: Use a 24 MHz clock from the High frequency clock for the charge pump clock. */
/* Select the source for the pump clock to be the High frequency clock. */
/* Scenario: Use a 24 MHz clock from the SRSS for the charge pump clock. */
/* Set the source to IMO, which has been configured for 24 MHz. */
/* Select the source for the pump clock to be from the SRSS. */