ADC Management Task.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
void | adc_task (void) |
ADC Task: More... | |
void | adc_task_init (void) |
main function : initialization and loop to display ADC values More... | |
void adc_task | ( | void | ) |
ADC Task:
References ADC_NUMBER_OF_CONV_SEQ0, ADC_NUMBER_OF_CONV_SEQ1, ADC_SCALE_GAIN, ADC_SCALE_OFFSET, ADC_TRIGGER_SYNC_MIN, adc_values_seq0, adc_values_seq1, adcifa, adcifa_configure_window_monitor(), adcifa_enable_interrupt(), adcifa_get_values_from_sequencer(), ADCIFA_SEQ0, ADCIFA_SEQ1, adcifa_start_sequencer(), ADCIFA_STATUS_COMPLETED, ADCIFA_WINDOW_MODE_BELOW, flag_end_of_acquisition, GUI_BUFFER_LENGTH, adcifa_window_monitor_opt_t::high_threshold, i, j, adcifa_window_monitor_opt_t::low_threshold, adcifa_window_monitor_opt_t::mode, potentiometer_value, signalin_gui, signalin_remote, temp, and trigger_process_state.
Referenced by main().
void adc_task_init | ( | void | ) |
main function : initialization and loop to display ADC values
References adc_conversion_sequencer0_t, adc_conversion_sequencer1_t, ADC_EXT_INPUT_FUNCTION, ADC_EXT_INPUT_PIN, ADC_PDCA_CHANNEL_SEQ0, ADC_POTENTIOMETER_FUNCTION, ADC_POTENTIOMETER_PIN, ADC_TRIGGER_SYNC_MIN, adcifa, adcifa_clear_interrupt(), adcifa_configure(), adcifa_configure_sequencer(), adcifa_configure_window_monitor(), adcifa_enable_interrupt(), adcifa_get_calibration_data(), ADCIFA_SEQ0, ADCIFA_SEQ1, adcifa_start_itimer(), ADCIFA_WINDOW_MODE_BELOW, cpu_irq_restore(), cpu_irq_save(), gpio_enable_module(), adcifa_window_monitor_opt_t::high_threshold, irq_register_handler, adcifa_window_monitor_opt_t::mode, pdca_enable(), pdca_init(), sysclk_get_pbc_hz(), and trigger_process_state.
Referenced by main().