Subdirectory provided by Embedded Artists
Dependencies: DM_FATFileSystem DM_HttpServer DM_USBHost EthernetInterface USBDevice mbed-rpc mbed-rtos mbed-src
Dependents: lpc4088_displaymodule_hello_world_Sept_2018
Fork of DMSupport by
Diff: Bios/bios.h
- Revision:
- 39:e1cb4dd9bfeb
- Parent:
- 28:8ae20cb0b943
--- a/Bios/bios.h Wed Apr 15 09:41:56 2015 +0200 +++ b/Bios/bios.h Tue Apr 28 11:47:20 2015 +0000 @@ -5,7 +5,7 @@ #include <stdbool.h> #define BIOS_MAGIC 0xEA0123EA -#define BIOS_VER 0x000200 // MAJOR.MINOR.BUILD +#define BIOS_VER 0x000500 // MAJOR.MINOR.BUILD #define BIOS_VER_MASK 0xffffff typedef enum { @@ -26,6 +26,12 @@ Res_24bit_rgb888 = 1<<2, } Resolution_t; +typedef enum { + FrameRate_Low, + FrameRate_Normal, + FrameRate_High, +} FrameRate_t; + typedef struct { uint16_t x; uint16_t y; @@ -46,7 +52,7 @@ typedef BiosError_t (*simpleFunc)(void* data); typedef BiosError_t (*macFunc)(void* data, char* mac); -typedef BiosError_t (*powerUpFunc)(void* data, void* framebuffer, Resolution_t wanted); +typedef BiosError_t (*powerUpFunc)(void* data, void* framebuffer, Resolution_t res, FrameRate_t rate); typedef BiosError_t (*backlightFunc)(void* data, int percent); typedef BiosError_t (*infoFuncD)(void* data, uint16_t* width,