PSoC 6 Peripheral Driver Library

General Description

Variables

const cy_stc_ctb_fast_config_oa0_t Cy_CTB_Fast_Opamp0_Unused
 Configure Opamp0 as unused - powered down. More...
 
const cy_stc_ctb_fast_config_oa0_t Cy_CTB_Fast_Opamp0_Comp
 Configure Opamp0 as a comparator. More...
 
const cy_stc_ctb_fast_config_oa0_t Cy_CTB_Fast_Opamp0_Opamp1x
 Configure Opamp0 as an opamp with 1x drive. More...
 
const cy_stc_ctb_fast_config_oa0_t Cy_CTB_Fast_Opamp0_Opamp10x
 Configure Opamp0 as an opamp with 10x drive. More...
 
const cy_stc_ctb_fast_config_oa0_t Cy_CTB_Fast_Opamp0_Diffamp
 Configure Opamp0 as one stage of a differential amplifier. More...
 
const cy_stc_ctb_fast_config_oa0_t Cy_CTB_Fast_Opamp0_Vdac_Out
 Configure Opamp0 as a buffer for the CTDAC output. More...
 
const cy_stc_ctb_fast_config_oa0_t Cy_CTB_Fast_Opamp0_Vdac_Out_SH
 Configure Opamp0 as a buffer for the CTDAC output with the sample and hold capacitor connected. More...
 
const cy_stc_ctb_fast_config_oa1_t Cy_CTB_Fast_Opamp1_Unused
 Configure Opamp1 as unused - powered down. More...
 
const cy_stc_ctb_fast_config_oa1_t Cy_CTB_Fast_Opamp1_Comp
 Configure Opamp1 as a comparator. More...
 
const cy_stc_ctb_fast_config_oa1_t Cy_CTB_Fast_Opamp1_Opamp1x
 Configure Opamp1 as an opamp with 1x drive. More...
 
const cy_stc_ctb_fast_config_oa1_t Cy_CTB_Fast_Opamp1_Opamp10x
 Configure Opamp1 as an opamp with 10x drive. More...
 
const cy_stc_ctb_fast_config_oa1_t Cy_CTB_Fast_Opamp1_Diffamp
 Configure Opamp1 as one stage of a differential amplifier. More...
 
const cy_stc_ctb_fast_config_oa1_t Cy_CTB_Fast_Opamp1_Vdac_Ref_Aref
 Configure Opamp1 as a buffer for the CTDAC reference. More...
 
const cy_stc_ctb_fast_config_oa1_t Cy_CTB_Fast_Opamp1_Vdac_Ref_Pin5
 Configure Opamp1 as a buffer for the CTDAC reference. More...
 

Variable Documentation

◆ Cy_CTB_Fast_Opamp0_Unused

const cy_stc_ctb_fast_config_oa0_t Cy_CTB_Fast_Opamp0_Unused

Configure Opamp0 as unused - powered down.

See Cy_CTB_FastInit.

◆ Cy_CTB_Fast_Opamp0_Comp

const cy_stc_ctb_fast_config_oa0_t Cy_CTB_Fast_Opamp0_Comp

Configure Opamp0 as a comparator.

No routing is configured.

ctb_fast_config_comp.png

See Cy_CTB_FastInit.

◆ Cy_CTB_Fast_Opamp0_Opamp1x

const cy_stc_ctb_fast_config_oa0_t Cy_CTB_Fast_Opamp0_Opamp1x

Configure Opamp0 as an opamp with 1x drive.

No routing is configured.

ctb_fast_config_opamp1x.png

See Cy_CTB_FastInit.

◆ Cy_CTB_Fast_Opamp0_Opamp10x

const cy_stc_ctb_fast_config_oa0_t Cy_CTB_Fast_Opamp0_Opamp10x

Configure Opamp0 as an opamp with 10x drive.

No routing is configured.

ctb_fast_config_opamp10x.png

See Cy_CTB_FastInit.

◆ Cy_CTB_Fast_Opamp0_Diffamp

const cy_stc_ctb_fast_config_oa0_t Cy_CTB_Fast_Opamp0_Diffamp

Configure Opamp0 as one stage of a differential amplifier.

The opamp is in 10x drive and the switches shown are closed.

ctb_fast_config_oa0_diffamp.png

See the device datasheet for the dedicated CTB port.

To be used with Cy_CTB_FastInit and Cy_CTB_Fast_Opamp1_Diffamp.

◆ Cy_CTB_Fast_Opamp0_Vdac_Out

const cy_stc_ctb_fast_config_oa0_t Cy_CTB_Fast_Opamp0_Vdac_Out

Configure Opamp0 as a buffer for the CTDAC output.

The buffer is in 10x drive and the switches shown are closed. Configure the CTDAC for output buffer mode by calling Cy_CTDAC_FastInit with Cy_CTDAC_Fast_VddaRef_BufferedOut or Cy_CTDAC_Fast_OA1Ref_BufferedOut.

ctb_fast_config_vdac_output.png

See the device datasheet for the dedicated CTB port.

See Cy_CTB_FastInit.

◆ Cy_CTB_Fast_Opamp0_Vdac_Out_SH

const cy_stc_ctb_fast_config_oa0_t Cy_CTB_Fast_Opamp0_Vdac_Out_SH

Configure Opamp0 as a buffer for the CTDAC output with the sample and hold capacitor connected.

The buffer is in 10x drive and the switches shown are closed. Configure the CTDAC for output buffer mode by calling Cy_CTDAC_FastInit with Cy_CTDAC_Fast_VddaRef_BufferedOut or Cy_CTDAC_Fast_OA1Ref_BufferedOut.

ctb_fast_config_vdac_sh.png

See the device datasheet for the dedicated CTB port.

See Cy_CTB_FastInit.

◆ Cy_CTB_Fast_Opamp1_Unused

const cy_stc_ctb_fast_config_oa1_t Cy_CTB_Fast_Opamp1_Unused

Configure Opamp1 as unused - powered down.

See Cy_CTB_FastInit.

◆ Cy_CTB_Fast_Opamp1_Comp

const cy_stc_ctb_fast_config_oa1_t Cy_CTB_Fast_Opamp1_Comp

Configure Opamp1 as a comparator.

No routing is configured.

ctb_fast_config_comp.png

See Cy_CTB_FastInit.

◆ Cy_CTB_Fast_Opamp1_Opamp1x

const cy_stc_ctb_fast_config_oa1_t Cy_CTB_Fast_Opamp1_Opamp1x

Configure Opamp1 as an opamp with 1x drive.

No routing is configured.

ctb_fast_config_opamp1x.png

See Cy_CTB_FastInit.

◆ Cy_CTB_Fast_Opamp1_Opamp10x

const cy_stc_ctb_fast_config_oa1_t Cy_CTB_Fast_Opamp1_Opamp10x

Configure Opamp1 as an opamp with 10x drive.

No routing is configured.

ctb_fast_config_opamp10x.png

See Cy_CTB_FastInit.

◆ Cy_CTB_Fast_Opamp1_Diffamp

const cy_stc_ctb_fast_config_oa1_t Cy_CTB_Fast_Opamp1_Diffamp

Configure Opamp1 as one stage of a differential amplifier.

The opamp is in 10x drive and the switches shown are closed.

ctb_fast_config_oa1_diffamp.png

See the device datasheet for the dedicated CTB port.

To be used with Cy_CTB_FastInit and Cy_CTB_Fast_Opamp0_Diffamp.

◆ Cy_CTB_Fast_Opamp1_Vdac_Ref_Aref

const cy_stc_ctb_fast_config_oa1_t Cy_CTB_Fast_Opamp1_Vdac_Ref_Aref

Configure Opamp1 as a buffer for the CTDAC reference.

The reference comes from the internal analog reference block (AREF). The buffer is in 1x drive and the switches shown are closed. Configure the CTDAC to use the buffered reference by calling Cy_CTDAC_FastInit with Cy_CTDAC_Fast_OA1Ref_UnbufferedOut or Cy_CTDAC_Fast_OA1Ref_BufferedOut.

ctb_fast_config_vdac_aref.png

See Cy_CTB_FastInit.

Note the AREF block needs to be configured using a separate driver.

◆ Cy_CTB_Fast_Opamp1_Vdac_Ref_Pin5

const cy_stc_ctb_fast_config_oa1_t Cy_CTB_Fast_Opamp1_Vdac_Ref_Pin5

Configure Opamp1 as a buffer for the CTDAC reference.

The reference comes from Pin 5. The buffer is in 1x drive and the switches shown are closed. Configure the CTDAC to use the buffered reference by calling Cy_CTDAC_FastInit with Cy_CTDAC_Fast_OA1Ref_UnbufferedOut or Cy_CTDAC_Fast_OA1Ref_BufferedOut.

ctb_fast_config_vdac_pin5.png

See the device datasheet for the dedicated CTB port.

See Cy_CTB_FastInit.