aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-02-02 20:00:34 +0100
committerJoel Bodenmann <joel@unormal.org>2014-02-02 20:00:34 +0100
commitd299756abaf5813850ec732be3d71d96b9fa32fc (patch)
tree7133e28e8134af1daaa269785cb2d382d88fe7ba /include
parente50b495c48648bf53621a4afc63682579387ba4f (diff)
parentd2de6c351785f323fd4b2a4e337a95bda4c9a626 (diff)
downloaduGFX-d299756abaf5813850ec732be3d71d96b9fa32fc.tar.gz
uGFX-d299756abaf5813850ec732be3d71d96b9fa32fc.tar.bz2
uGFX-d299756abaf5813850ec732be3d71d96b9fa32fc.zip
Merge branch 'master' into gfile
Diffstat (limited to 'include')
-rw-r--r--include/gfx.h11
-rw-r--r--include/gtimer/gtimer.h15
2 files changed, 21 insertions, 5 deletions
diff --git a/include/gfx.h b/include/gfx.h
index 3a10103f..d261a6ce 100644
--- a/include/gfx.h
+++ b/include/gfx.h
@@ -204,8 +204,15 @@ extern "C" {
*/
void gfxInit(void);
- /* Compatibility for old programs */
- void DEPRECATED("Use gfxInit() instead") gdispInit(void);
+ /**
+ * @brief The one call to end it all
+ *
+ * @note This will deinitialise each sub-system that has been turned on.
+ * @note Do not call this without a previous @p gfxInit();
+ *
+ * @api
+ */
+ void gfxDeinit(void);
#ifdef __cplusplus
}
diff --git a/include/gtimer/gtimer.h b/include/gtimer/gtimer.h
index 14de352f..06072c7c 100644
--- a/include/gtimer/gtimer.h
+++ b/include/gtimer/gtimer.h
@@ -68,13 +68,22 @@ extern "C" {
#endif
/**
- * @brief Initialise a timer.
+ * @brief Initialise a timer
*
- * @param[in] pt pointer to a GTimer structure
+ * @param[in] pt Pointer to a GTimer structure
*
* @api
*/
-void gtimerInit(GTimer *pt);
+void gtimerInit(GTimer* pt);
+
+/**
+ * @brief Deinitialise a timer
+ *
+ * @param[in] pt Pointer to a GTimer structure
+ *
+ * @api
+ */
+void gtimerDeinit(GTimer* pt);
/**
* @brief Set a timer going or alter its properties if it is already going.