![]() |
Synergy Software Package User's Manual
|
#include <sf_adc_periodic_api.h>
Data Fields | |
| adc_instance_t const *const | p_lower_lvl_adc |
| Pointer to the ADC instance. | |
| timer_instance_t const *const | p_lower_lvl_timer |
| Pointer to the Timer instance. | |
| transfer_instance_t const *const | p_lower_lvl_transfer |
| Pointer to the Transfer instance. | |
| adc_data_size_t * | p_data_buffer |
| Pointer to the buffer that will store the samples. | |
| bool | lower_level |
| Used to check lower level driver (0 for ADC and 1 for SDADC) | |
| uint32_t | data_buffer_length |
| Length of the data buffer that will store the samples. | |
| uint32_t | sample_count |
| Samples per channel to be buffered before notifying the app. | |
| elc_event_t | scan_trigger |
| The hardware trigger that starts the ADC scan. | |
| void(* | p_callback )(sf_adc_periodic_callback_args_t *p_args) |
| Callback function. | |
| void const * | p_context |
| Placeholder for user data. | |
| void const * | p_extend |
| Extension parameter for hardware specific settings. | |
Configuration for RTOS integrated ADC driver