From 9b7b88dbe922226c92d056ae04e2096ee734ad4d Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 26 Apr 2014 10:05:37 +0000 Subject: [PATCH] Updated ADC diagram and documentation. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6888 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/dox/adc.dox | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/os/hal/dox/adc.dox b/os/hal/dox/adc.dox index 02bb24ac6..8ac1cb556 100644 --- a/os/hal/dox/adc.dox +++ b/os/hal/dox/adc.dox @@ -54,7 +54,7 @@ stop -> stop [label="\nadcStop()"]; ready -> active [label="\nadcStartConversion() (async)\nadcConvert() (sync)"]; active -> ready [label="\nadcStopConversion()\nsync return"]; - active -> active [label="\nasync callback (half buffer)\nasync callback (full buffer circular)\n>acg_endcb<"]; + active -> active [label="\nasync callback (half buffer, circular)\nasync callback (full buffer)\n>acg_endcb<"]; active -> complete [label="\n\nasync callback (full buffer)\n>end_cb<"]; active -> error [label="\n\nasync callback (error)\n>error_cb<"]; complete -> active [label="\nadcStartConversionI()\nthen\ncallback return"]; @@ -85,7 +85,7 @@ stop -> stop [label="\nadcStop()"]; ready -> active [label="\nadcStartConversion() (async)\nadcConvert() (sync)"]; active -> ready [label="\nadcStopConversion()\nsync return"]; - active -> active [label="\nasync callback (half buffer)\nasync callback (full buffer circular)\n>acg_endcb<"]; + active -> active [label="\nasync callback (half buffer, circular)\nasync callback (full buffer)\n>acg_endcb<"]; active -> complete [label="\n\nasync callback (full buffer)\n>end_cb<"]; active -> error [label="\n\nasync callback (error)\n>error_cb<"]; complete -> active [label="\nadcStartConversionI()\nthen\ncallback return"]; @@ -131,8 +131,7 @@ * The driver is able to invoke callbacks during the conversion process. A * callback is invoked when the operation has been completed or, in circular * mode, when the buffer has been filled and the operation is restarted. In - * linear and circular modes a callback is also invoked when the buffer is - * half filled.
+ * circular mode a callback is also invoked when the buffer is half filled.
* The "half filled" and "filled" callbacks in circular mode allow to * implement "streaming processing" of the sampled data, while the driver is * busy filling one half of the buffer the application can process the