diff options
author | Joel Bodenmann <joel@unormal.org> | 2014-02-02 19:56:05 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2014-02-02 19:56:05 +0100 |
commit | 9774c86d0e8c171f414eecdf6b1b3f9598986b69 (patch) | |
tree | 69ede6a9893ea9f157719ba2d9dfc84d05e4c588 /include | |
parent | d646a43b6eb9e0cfb8abd37cf56344b8f65619a5 (diff) | |
parent | d2de6c351785f323fd4b2a4e337a95bda4c9a626 (diff) | |
download | uGFX-9774c86d0e8c171f414eecdf6b1b3f9598986b69.tar.gz uGFX-9774c86d0e8c171f414eecdf6b1b3f9598986b69.tar.bz2 uGFX-9774c86d0e8c171f414eecdf6b1b3f9598986b69.zip |
Merge branch 'master' into gwin
Diffstat (limited to 'include')
-rw-r--r-- | include/gfx.h | 11 | ||||
-rw-r--r-- | include/gtimer/gtimer.h | 15 |
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. |