aboutsummaryrefslogtreecommitdiffstats
path: root/gfx.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-03-11 17:13:31 +1000
committerinmarket <andrewh@inmarket.com.au>2014-03-11 17:13:31 +1000
commitea5a1b849df6e5085a92957ad387f9e653674415 (patch)
tree72ede5ed78263a6fdba25039398b5c2a55bd1d3a /gfx.h
parent944c33cbff5f2cfb1c80f48193aa2161574864fd (diff)
downloaduGFX-ea5a1b849df6e5085a92957ad387f9e653674415.tar.gz
uGFX-ea5a1b849df6e5085a92957ad387f9e653674415.tar.bz2
uGFX-ea5a1b849df6e5085a92957ad387f9e653674415.zip
Combine GAUDIN and GAUDOUT into a single GAUDIO module.
Simplify GAUDIN (now GAUDIO RECORD) api. Update audio demo's to match. Port Win32 driver to new audio api.
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h35
1 files changed, 11 insertions, 24 deletions
diff --git a/gfx.h b/gfx.h
index 77aba969..de6047fc 100644
--- a/gfx.h
+++ b/gfx.h
@@ -62,7 +62,7 @@
* @brief GFX Graphics Display Basic API
* @details Defaults to FALSE
* @note Also add the specific hardware driver to your makefile.
- * Eg. include $(GFXLIB)/drivers/gdisp/Nokia6610/gdisp_lld.mk
+ * Eg. include $(GFXLIB)/drivers/gdisp/Nokia6610/driver.mk
*/
#ifndef GFX_USE_GDISP
#define GFX_USE_GDISP FALSE
@@ -106,9 +106,9 @@
* @details Defaults to FALSE
* @note Also add the specific hardware drivers to your makefile.
* Eg.
- * include $(GFXLIB)/drivers/ginput/toggle/Pal/ginput_lld.mk
+ * include $(GFXLIB)/drivers/ginput/toggle/Pal/driver.mk
* and...
- * include $(GFXLIB)/drivers/ginput/touch/MCU/ginput_lld.mk
+ * include $(GFXLIB)/drivers/ginput/touch/MCU/driver.mk
*/
#ifndef GFX_USE_GINPUT
#define GFX_USE_GINPUT FALSE
@@ -121,24 +121,14 @@
#define GFX_USE_GADC FALSE
#endif
/**
- * @brief GFX Audio Input Device API
+ * @brief GFX Audio API
* @details Defaults to FALSE
* @note Also add the specific hardware drivers to your makefile.
* Eg.
- * include $(GFXLIB)/drivers/gaudin/GADC/gaudin_lld.mk
+ * include $(GFXLIB)/drivers/gaudio/GADC/driver.mk
*/
- #ifndef GFX_USE_GAUDIN
- #define GFX_USE_GAUDIN FALSE
- #endif
- /**
- * @brief GFX Audio Output Device API
- * @details Defaults to FALSE
- * @note Also add the specific hardware drivers to your makefile.
- * Eg.
- * include $(GFXLIB)/drivers/gaudout/PWM/gaudout_lld.mk
- */
- #ifndef GFX_USE_GAUDOUT
- #define GFX_USE_GAUDOUT FALSE
+ #ifndef GFX_USE_GAUDIO
+ #define GFX_USE_GAUDIO FALSE
#endif
/**
* @brief GFX Miscellaneous Routines API
@@ -173,8 +163,7 @@
#include "src/gwin/sys_options.h"
#include "src/ginput/sys_options.h"
#include "src/gadc/sys_options.h"
-#include "src/gaudin/sys_options.h"
-#include "src/gaudout/sys_options.h"
+#include "src/gaudio/sys_options.h"
/**
* Interdependency safety checks on the sub-systems.
@@ -187,8 +176,7 @@
#include "src/gwin/sys_rules.h"
#include "src/ginput/sys_rules.h"
#include "src/gdisp/sys_rules.h"
-#include "src/gaudout/sys_rules.h"
-#include "src/gaudin/sys_rules.h"
+#include "src/gaudio/sys_rules.h"
#include "src/gadc/sys_rules.h"
#include "src/gevent/sys_rules.h"
#include "src/gtimer/sys_rules.h"
@@ -210,8 +198,7 @@
#include "src/gwin/sys_defs.h"
#include "src/ginput/sys_defs.h"
#include "src/gadc/sys_defs.h"
-#include "src/gaudin/sys_defs.h"
-#include "src/gaudout/sys_defs.h"
+#include "src/gaudio/sys_defs.h"
#ifdef __cplusplus
extern "C" {
@@ -231,7 +218,7 @@ extern "C" {
/**
* @brief The one call to end it all
*
- * @note This will deinitialise each sub-system that has been turned on.
+ * @note This will de-initialise each sub-system that has been turned on.
*
* @api
*/