adc

Overview

Controls the ADC chip on the TPM.

Python Class & Methods Index

class pyfabil.plugins.tpm.adc.TpmAdc(board, **kwargs)[source]

TpmAdc tests class

adc_power_down_disable()[source]
adc_power_down_enable()[source]
adc_reset()[source]
adc_set_fast_detect(upper_threshold, lower_threshold=None, dwell_samples=100)[source]
adc_single_start(mono_channel_14_bit=False, clock_divider=1, low_bitrate=False, mono_channel_sel=1)[source]

Perform the ADC configuration and initialization procedure as implemented in ADI demo

adc_single_start_dual_14_ddc(sampling_frequency=800000000.0, ddc_frequency=100000000.0, low_bitrate=False)[source]

Perform the ADC configuration and initialization procedure as implemented in ADI demo

adc_single_start_dual_14_divider(clock_divider=2, low_bitrate=False)[source]

Perform the ADC configuration and initialization procedure as implemented in ADI demo

adc_test_pattern_disable()[source]
adc_test_pattern_enable(pattern_type=15)[source]
clean_up()[source]

Perform cleanup :return: Success

initialise()[source]

Initialise TpmPll

status_check()[source]

Perform status check :return: Status