Intel® Quark™ Microcontroller Software Interface
1.4.0
Intel® Quark™ Microcontroller BSP
|
SS ADC transfer type. More...
#include <qm_ss_adc.h>
Data Fields | |
qm_ss_adc_channel_t * | ch |
Channel sequence array (1-32 channels). More... | |
uint8_t | ch_len |
Number of channels in the above array. More... | |
qm_ss_adc_sample_t * | samples |
Array to store samples. More... | |
uint32_t | samples_len |
Length of sample array. More... | |
void(* | callback )(void *data, int error, qm_ss_adc_status_t status, qm_ss_adc_cb_source_t source) |
Transfer callback. More... | |
void * | callback_data |
Callback user data. More... | |
SS ADC transfer type.
Definition at line 111 of file qm_ss_adc.h.
void(* qm_ss_adc_xfer_t::callback)(void *data, int error, qm_ss_adc_status_t status, qm_ss_adc_cb_source_t source) |
Transfer callback.
Called when a conversion is performed or an error is detected.
[in] | data | The callback user data. |
[in] | error | 0 on success. Negative errno for possible error codes. |
[in] | status | ADC status. |
[in] | source | Interrupt callback source. |
Definition at line 128 of file qm_ss_adc.h.
void* qm_ss_adc_xfer_t::callback_data |
Callback user data.
Definition at line 130 of file qm_ss_adc.h.
qm_ss_adc_channel_t* qm_ss_adc_xfer_t::ch |
Channel sequence array (1-32 channels).
Definition at line 112 of file qm_ss_adc.h.
Referenced by qm_ss_adc_convert(), and qm_ss_adc_irq_convert().
uint8_t qm_ss_adc_xfer_t::ch_len |
Number of channels in the above array.
Definition at line 113 of file qm_ss_adc.h.
Referenced by qm_ss_adc_convert(), and qm_ss_adc_irq_convert().
qm_ss_adc_sample_t* qm_ss_adc_xfer_t::samples |
Array to store samples.
Definition at line 114 of file qm_ss_adc.h.
Referenced by qm_ss_adc_convert(), and qm_ss_adc_irq_convert().
uint32_t qm_ss_adc_xfer_t::samples_len |
Length of sample array.
Definition at line 115 of file qm_ss_adc.h.
Referenced by qm_ss_adc_convert(), and qm_ss_adc_irq_convert().