diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-19 19:03:18 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-19 19:03:18 +0000 |
commit | 2ab27d3c01ce51a26587e6aaafcef23b2dda4afe (patch) | |
tree | a97665aa4e865b8156164478b77551aa34d281b9 /os/io/templates/adc_lld.c | |
parent | a943eaecc7cd56c2a49521bf702b0524bb834aa1 (diff) | |
download | ChibiOS-2ab27d3c01ce51a26587e6aaafcef23b2dda4afe.tar.gz ChibiOS-2ab27d3c01ce51a26587e6aaafcef23b2dda4afe.tar.bz2 ChibiOS-2ab27d3c01ce51a26587e6aaafcef23b2dda4afe.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1315 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/io/templates/adc_lld.c')
-rw-r--r-- | os/io/templates/adc_lld.c | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/os/io/templates/adc_lld.c b/os/io/templates/adc_lld.c index d45817778..31fd64691 100644 --- a/os/io/templates/adc_lld.c +++ b/os/io/templates/adc_lld.c @@ -28,6 +28,14 @@ #include <adc.h>
/*===========================================================================*/
+/* Low Level Driver exported variables. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Low Level Driver local variables. */
+/*===========================================================================*/
+
+/*===========================================================================*/
/* Low Level Driver local functions. */
/*===========================================================================*/
@@ -49,7 +57,7 @@ void adc_lld_init(void) { /**
* @brief Configures and activates the ADC peripheral.
*
- * @param[in] adcp pointer to the @p ADCDriver object
+ * @param[in] adcp pointer to the @p ADCDriver object
*/
void adc_lld_start(ADCDriver *adcp) {
@@ -62,7 +70,7 @@ void adc_lld_start(ADCDriver *adcp) { /**
* @brief Deactivates the ADC peripheral.
*
- * @param[in] adcp pointer to the @p ADCDriver object
+ * @param[in] adcp pointer to the @p ADCDriver object
*/
void adc_lld_stop(ADCDriver *adcp) {
@@ -71,28 +79,16 @@ void adc_lld_stop(ADCDriver *adcp) { /**
* @brief Starts an ADC conversion.
*
- * @param[in] adcp pointer to the @p ADCDriver object
- * @param[in] grpp pointer to a @p ADCConversionGroup object
- * @param[out] samples pointer to the samples buffer
- * @param[in] depth buffer depth (matrix rows number). The buffer depth
- * must be one or an even number.
- *
- * @note The buffer is organized as a matrix of M*N elements where M is the
- * channels number configured into the conversion group and N is the
- * buffer depth. The samples are sequentially written into the buffer
- * with no gaps.
+ * @param[in] adcp pointer to the @p ADCDriver object
*/
-void adc_lld_start_conversion(ADCDriver *adcp,
- ADCConversionGroup *grpp,
- void *samples,
- size_t depth) {
+void adc_lld_start_conversion(ADCDriver *adcp) {
}
/**
* @brief Stops an ongoing conversion.
*
- * @param[in] adcp pointer to the @p ADCDriver object
+ * @param[in] adcp pointer to the @p ADCDriver object
*/
void adc_lld_stop_conversion(ADCDriver *adcp) {
|