aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-03-10 20:17:24 +0100
committerJoel Bodenmann <joel@unormal.org>2013-03-10 20:17:24 +0100
commit426a12de6b6de40e576424b0a6391f528dc8a1ed (patch)
tree1a4a745e73bcf33714ead537206677b8f05d3922 /include
parent2088f0fe67c2137c7feddd682639b32497569e76 (diff)
downloaduGFX-426a12de6b6de40e576424b0a6391f528dc8a1ed.tar.gz
uGFX-426a12de6b6de40e576424b0a6391f528dc8a1ed.tar.bz2
uGFX-426a12de6b6de40e576424b0a6391f528dc8a1ed.zip
doxygen fixes
Diffstat (limited to 'include')
-rw-r--r--include/gadc/gadc.h17
-rw-r--r--include/gadc/lld/gadc_lld.h5
-rw-r--r--include/gaudin/gaudin.h17
-rw-r--r--include/gaudin/lld/gaudin_lld.h5
-rw-r--r--include/gdisp/gdisp.h2
-rw-r--r--include/gwin/button.h1
6 files changed, 30 insertions, 17 deletions
diff --git a/include/gadc/gadc.h b/include/gadc/gadc.h
index bd35b30c..56be7cf5 100644
--- a/include/gadc/gadc.h
+++ b/include/gadc/gadc.h
@@ -93,7 +93,8 @@ typedef struct GEventADC_t {
* @brief The buffer containing the conversion samples
*/
adcsample_t *buffer;
- } GEventADC;
+} GEventADC;
+/** @} */
/**
* @brief A callback function (executed in a thread context) for a low speed conversion
@@ -117,11 +118,11 @@ extern "C" {
* @brief Initialise the high speed ADC.
* @details Initialises but does not start the conversions.
*
- * @param[in] physdev A value passed to describe which physical ADC devices/channels to use.
- * @param[in] frequency The frequency to create ADC conversions
- * @param[in] buffer The static buffer to put the ADC samples into.
- * @param[in] bufcount The total number of conversions that will fit in the buffer.
- * @param[in] countPerEvent The number of conversions to do before returning an event.
+ * @param[in] physdev A value passed to describe which physical ADC devices/channels to use.
+ * @param[in] frequency The frequency to create ADC conversions
+ * @param[in] buffer The static buffer to put the ADC samples into.
+ * @param[in] bufcount The total number of conversions that will fit in the buffer.
+ * @param[in] samplesPerEvent The number of conversions to do before returning an event.
*
* @note If the high speed ADC is running it will be stopped. The Event subsystem is
* disconnected from the high speed ADC and any binary semaphore event is forgotten.
@@ -166,6 +167,8 @@ void gadcHighSpeedInit(uint32_t physdev, uint32_t frequency, adcsample_t *buffer
* @note The high speed ADC is capable of signalling via this method, an ISR callback and a
* binary semaphore at the same time.
*
+ * @return The GSourceHandle
+ *
* @api
*/
GSourceHandle gadcHighSpeedGetSource(void);
@@ -249,6 +252,8 @@ void gadcLowSpeedGet(uint32_t physdev, adcsample_t *buffer);
* @param[in] fn The callback function to call when the conversion is complete.
* @param[in] param A parameter to pass to the callback function.
*
+ * @return FALSE if no free low speed ADC slots.
+ *
* @note This may be safely called from within a GTimer callback.
* @note The callback may take a while to occur if the high speed ADC is running as the
* conversion is interleaved with the high speed ADC conversions on a buffer
diff --git a/include/gadc/lld/gadc_lld.h b/include/gadc/lld/gadc_lld.h
index f9cc8b47..d32928c1 100644
--- a/include/gadc/lld/gadc_lld.h
+++ b/include/gadc/lld/gadc_lld.h
@@ -103,11 +103,12 @@ void gadc_lld_init(void);
* @brief Get the number of samples in a conversion.
* @details Calculates and returns the number of samples per conversion for the specified physdev.
*
- * @param[in] physdev A value passed to describe which physical ADC devices/channels to use.
- *
* @note A physdev describing a mono device would return 1, a stereo device would return 2.
* For most ADC's physdev is a bitmap so it is only a matter of counting the bits.
*
+ * @param[in] physdev A value passed to describe which physical ADC devices/channels to use.
+ *
+ * @return Number of samples of the convesion
* @api
*/
size_t gadc_lld_samples_per_conversion(uint32_t physdev);
diff --git a/include/gaudin/gaudin.h b/include/gaudin/gaudin.h
index d9111dae..3cf29d09 100644
--- a/include/gaudin/gaudin.h
+++ b/include/gaudin/gaudin.h
@@ -76,7 +76,8 @@ typedef struct GEventAudioIn_t {
* @brief The buffer containing the audio samples
*/
audin_sample_t *buffer;
- } GEventAudioIn;
+} GEventAudioIn;
+/** @} */
/*===========================================================================*/
/* External declarations. */
@@ -90,11 +91,11 @@ extern "C" {
* @brief Initialise (but not start) the Audio Input Subsystem.
* @details Returns FALSE for an invalid channel or other invalid parameter.
*
- * @param[in] channel The channel to convert. Can be set from 0 to GAUDIN_NUM_CHANNELS - 1.
- * @param[in] frequency The sample frequency
- * @param[in] buffer The static buffer to put the samples into.
- * @param[in] bufcount The total number of conversions that will fit in the buffer.
- * @param[in] countPerEvent The number of conversions to do before returning an event.
+ * @param[in] channel The channel to convert. Can be set from 0 to GAUDIN_NUM_CHANNELS - 1.
+ * @param[in] frequency The sample frequency
+ * @param[in] buffer The static buffer to put the samples into.
+ * @param[in] bufcount The total number of conversions that will fit in the buffer.
+ * @param[in] samplesPerEvent The number of conversions to do before returning an event.
*
* @note Only one channel is active at a time. If an audio input is running it will be stopped.
* The Event subsystem is disconnected from the audio subsystem and any binary semaphore
@@ -119,6 +120,8 @@ extern "C" {
* a block of samples containing less than countPerEvent samples when it reaches the
* end of the buffer.
*
+ * @return FALSE if invalid channel or parameter
+ *
* @api
*/
bool_t gaudinInit(uint16_t channel, uint32_t frequency, audin_sample_t *buffer, size_t bufcount, size_t samplesPerEvent);
@@ -135,6 +138,8 @@ bool_t gaudinInit(uint16_t channel, uint32_t frequency, audin_sample_t *buffer,
* @note The audio input is capable of signalling via this method and a binary semaphore
* at the same time.
*
+ * @return The GSourceHandle
+ *
* @api
*/
GSourceHandle gaudinGetSource(void);
diff --git a/include/gaudin/lld/gaudin_lld.h b/include/gaudin/lld/gaudin_lld.h
index 2b2db86e..0a4bce3d 100644
--- a/include/gaudin/lld/gaudin_lld.h
+++ b/include/gaudin/lld/gaudin_lld.h
@@ -50,14 +50,15 @@ typedef struct gaudin_params_t {
size_t bufcount;
size_t samplesPerEvent;
} gaudin_params;
-/* @} */
+/** @} */
/**
* @brief These routines are the callbacks that the driver uses.
* @details Defined in the high level GAUDIN code.
*
- * @icode
+ * @iclass
* @notapi
+ *
* @{
*/
extern void GAUDIN_ISR_CompleteI(audin_sample_t *buffer, size_t n);
diff --git a/include/gdisp/gdisp.h b/include/gdisp/gdisp.h
index 13937d16..962e5ed4 100644
--- a/include/gdisp/gdisp.h
+++ b/include/gdisp/gdisp.h
@@ -735,7 +735,7 @@ void gdispDrawBox(coord_t x, coord_t y, coord_t cx, coord_t cy, color_t color);
* @param[in] str The string to draw
* @param[in] font The font to use
* @param[in] color The color to use
- * @param[in] bgcolor The background color to use
+ * @param[in] bgColor The background color to use
* @param[in] justify Justify the text left, center or right within the box
*
* @api
diff --git a/include/gwin/button.h b/include/gwin/button.h
index 36b05d83..fb9a2b76 100644
--- a/include/gwin/button.h
+++ b/include/gwin/button.h
@@ -212,6 +212,7 @@ void gwinSetButtonCustom(GHandle gh, GButtonDrawFunction fn, void *param);
*
* @param[in] gh The button handle
* @param[in] isdown Is the button currently down (depressed)
+ * @param[in] txt The text to be display inside the button
* @param[in] pstyle The current drawing style for the state we are in
* @param[in] param A parameter passed in from the user
*