Support for the emWin GUI library from Segger.
Dependents: lpc4088_displaymodule_emwin
EwHAL Class Reference
This is the main class to get Segger's emwin library up-and-running with the mbed online tools. More...
#include <EwHAL.h>
Public Member Functions | |
void * | getMemoryBlockAddress () |
Returns the address to a memory block which may be used by emwin to allocate objects. | |
uint32_t | getMemoryBlockSize () |
Returns the size of the memory block returned by getMemoryBlockAddress(). | |
uint32_t | getDisplayWidth () |
Returns the width of the display. | |
uint32_t | getDisplayHeight () |
Returns the height of the display. | |
void * | getFrameBufferAddress () |
Returns the address of the framebuffer (video RAM). | |
uint32_t | getFrameBufferSize () |
Returns the size in bytes of the framebuffer (video RAM). | |
int | getNumFrameBuffers () |
Returns the number of frame buffers to use, default is 1 meaning that drawing takes place on the same buffer that is being shown. | |
void | showFrameBuffer (int id) |
Shows frame buffer number id. | |
int32_t | getTouchX () |
Returns the x coordinate of the latest touch event. | |
int32_t | getTouchY () |
Returns the y coordinate of the latest touch event. |
Detailed Description
This is the main class to get Segger's emwin library up-and-running with the mbed online tools.
This class handles the porting/integration layer in emwin.
Definition at line 14 of file EwHAL.h.
Member Function Documentation
uint32_t getDisplayHeight | ( | ) |
uint32_t getDisplayWidth | ( | ) |
void* getFrameBufferAddress | ( | ) |
uint32_t getFrameBufferSize | ( | ) |
void* getMemoryBlockAddress | ( | ) |
uint32_t getMemoryBlockSize | ( | ) |
Returns the size of the memory block returned by getMemoryBlockAddress().
int getNumFrameBuffers | ( | ) |
int32_t getTouchX | ( | ) |
int32_t getTouchY | ( | ) |
void showFrameBuffer | ( | int | id ) |
Shows frame buffer number id.
If getNumFrameBuffers() returns 1 then this id will always be 0, if getNumFrameBuffers() returns N then this function will be called with 0..(N-1).
Generated on Sat Jul 16 2022 18:52:19 by 1.7.2