Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of RA8875 by
Diff: DisplayDefs.h
- Revision:
- 31:c72e12cd5c67
- Child:
- 32:0e4f2ae512e2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/DisplayDefs.h Mon Jan 20 19:19:48 2014 +0000
@@ -0,0 +1,18 @@
+#ifndef DISPLAYDEFS_H
+#define DISPLAYDEFS_H
+
+typedef uint16_t color_t;
+
+/// return values from functions
+typedef enum
+{
+ noerror, ///< no errors, command completed successfully
+ bad_parameter, ///< one or more parameters are invalid
+ file_not_found, ///< specified file could not be found
+ not_bmp_format, ///< file is a not bmp file
+ not_supported_format, ///< file format is not yet supported
+ image_too_big, ///< image is too large for the screen
+ not_enough_ram, ///< could not allocate ram for scanline
+} RetCode_t;
+
+#endif // DISPLAYDEFS_H
