Library Functions.
More...
Library Functions.
| uint32_t TM_EMWIN_Exec |
( |
void |
| ) |
|
Execute EMWIN pending tasks.
- Note
- This function was designed to be used in case memory is enabled using TM_EMWIN_MemoryEnable function. You can also use it (and it is recommended) in case you don't have memory enabled
- Parameters
-
- Return values
-
| Return | values of GUI_Exec() function from EMWIN |
Initializes emWin peripheral.
- Note
- This function initialize LCD, SDRAM, STMPE811 touch and GUI for STM32F429-Discovery board
- Return values
-
| void TM_EMWIN_MemoryDisable |
( |
void |
| ) |
|
Disables memory feature for EMWIN.
- Parameters
-
- Return values
-
| void TM_EMWIN_MemoryEnable |
( |
void |
| ) |
|
Enables memory feature for EMWIN.
- Note
- When you enable memory, then all drawings for EMWIN are stored on LCD layer 1, but layer 2 is shown to user. You have to use TM_EMWIN_Exec() to update data from LCD layer 1 to layer 2 This is used to avoid flickering system when doing a lot of redrawing, for example updating a big graph very fast
- Parameters
-
- Return values
-
Rotates LCD.
- Note
- It does not have any sense, if you have disabled define TM_EMWIN_ROTATE_LCD.
By default, rotation is disabled for memory purpose.
To rotate LCD you need additional RAM, but it is available on F429-Discovery board
- Parameters
-
| rotation | Rotate direction. This parameter can be a value of TM_EMWIN_Result_t enumeration |
- Return values
-
Updates touch.
It must be called periodically every 1ms.
It makes touch controller check every number of ms as defined in EMWIN_UPDATE_TOUCH_MILLIS define
- Parameters
-
- Return values
-