diff options
Diffstat (limited to 'os/hal/platforms/LPC17xx/adc_lld.h')
-rw-r--r-- | os/hal/platforms/LPC17xx/adc_lld.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/os/hal/platforms/LPC17xx/adc_lld.h b/os/hal/platforms/LPC17xx/adc_lld.h index 0f13cd731..dbff8f746 100644 --- a/os/hal/platforms/LPC17xx/adc_lld.h +++ b/os/hal/platforms/LPC17xx/adc_lld.h @@ -20,6 +20,7 @@ * @brief LPC17xx ADC subsystem low level driver header. * @note Values in samples buffer are from DR register. * To get ADC values make conversion (DR >> 6) & 0x03FF. + * DMA only support one ADC channel. * @addtogroup ADC * @{ */ @@ -308,9 +309,9 @@ struct ADCDriver { uint32_t num; #if LPC17xx_ADC_USE_DMA /** - * @brief ADC DMA configuration structure. + * @brief Half buffer indicator. */ - lpc17xx_dma_channel_config_t adc_dma_cfg; + bool_t half_buffer; #endif }; |