Functions | |
| void | BSP_MAX11046_Init (adc_acq_mode_t type, adc_cont_config_t *contConfig, volatile adc_raw_data_t *rawAdcData, volatile adc_processed_data_t *processedAdcData) |
| Initializes the MAX11046 drivers. | |
| adc_measures_t * | BSP_MAX11046_Run (void) |
| Starts the ADC conversion. | |
| void | BSP_MAX11046_Stop (void) |
| Stops the ADC data collection module, only effective for ADC_MODE_CONT. | |
| void | BSP_MAX11046_DeInit (void) |
| De-initialize the MAX11046 drivers. | |
| timer_trigger_src_t | BSP_MAX11046_SetInputOutputTrigger (tim_in_trigger_config_t *_slaveConfig, tim_out_trigger_config_t *_masterConfig, float _fs) |
| Sets the input and output trigger functions for the ADC. | |
|
extern |
| type | ADC_MODE_SINGLE or ADC_MODE_CONT for single or continuous conversions respectively |
| contConfig | adc_cont_config_t contains the continuous transfer configuration |
| rawAdcData | Pointer to the raw ADC data container |
| processedAdcData | Pointer to the processed ADC data container |
|
extern |
For single conversion mode performs and provides the results in a blocking way. For continuous conversion mode starts the conversions, after each conversion adc_cont_config_t.callback will be called
|
extern |
| _slaveConfig | Configuration for the slave. Send NULL if no slave functionality needed. |
| _masterConfig | Configuration for the master. Send NULL if no master functionality needed. |
| _fs | Required sampling frequency of the ADC converter |