From 6150f3b4a34df80ac65cee5d1818982199b5a027 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 23 Nov 2009 21:18:54 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1320 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/io/templates/adc_lld.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'os/io/templates/adc_lld.h') diff --git a/os/io/templates/adc_lld.h b/os/io/templates/adc_lld.h index affa7b0f3..b229a5f2d 100644 --- a/os/io/templates/adc_lld.h +++ b/os/io/templates/adc_lld.h @@ -65,11 +65,11 @@ typedef struct { /** * @brief Enables the circular buffer mode for the group. */ - bool_t acg_circular; + bool_t acg_circular; /** * @brief Number of the analog channels belonging to the conversion group. */ - adc_channels_num_t acg_num_channels; + adc_channels_num_t acg_num_channels; /* End of the mandatory fields.*/ } ADCConversionGroup; @@ -88,31 +88,31 @@ typedef struct { /** * @brief Driver state. */ - adcstate_t ad_state; + adcstate_t ad_state; /** * @brief Current configuration data. */ - const ADCConfig *ad_config; + const ADCConfig *ad_config; /** * @brief Synchronization semaphore. */ - Semaphore ad_sem; + Semaphore ad_sem; /** * @brief Current callback function or @p NULL. */ - adccallback_t ad_callback; + adccallback_t ad_callback; /** * @brief Current samples buffer pointer or @p NULL. */ - adcsample_t *ad_samples; + adcsample_t *ad_samples; /** * @brief Current samples buffer depth or @p 0. */ - size_t ad_depth; + size_t ad_depth; /** * @brief Current conversion group pointer or @p NULL. */ - ADCConversionGroup *ad_grpp; + const ADCConversionGroup *ad_grpp; /* End of the mandatory fields.*/ } ADCDriver; -- cgit v1.2.3