 |
WebRadioApp
0.1
|
Go to the documentation of this file.
69 #if defined __ICCARM__
70 #define TOOLCHAIN_STRING "IAR Embedded Workbench"
71 #define COMPILER_VERSION_STRING EW_STRINGIZE(__VER__)
72 #elif defined __CC_ARM || (__ARMCC_VERSION >= 6000000)
73 #define TOOLCHAIN_STRING "Keil MDK"
74 #define COMPILER_VERSION_STRING EW_STRINGIZE(__ARMCC_VERSION)
75 #elif defined __GNUC__
76 #define TOOLCHAIN_STRING "GCC"
77 #define COMPILER_VERSION_STRING \
78 EW_STRINGIZE(__GNUC__) \
79 "." EW_STRINGIZE(__GNUC_MINOR__) "." EW_STRINGIZE(__GNUC_PATCHLEVEL__)
81 #define TOOLCHAIN_STRING "unknown"
84 #ifdef EW_DONT_USE_PATH_FUNCTIONS
85 #define VECTOR_GRAPHICS_SUPPORT_STRING "disabled"
87 #define VECTOR_GRAPHICS_SUPPORT_STRING "enabled"
90 #ifdef EW_DONT_USE_WARP_FUNCTIONS
91 #define WARP_FUNCTION_SUPPORT_STRING "disabled"
93 #define WARP_FUNCTION_SUPPORT_STRING "enabled"
96 #ifdef EW_DONT_USE_INDEX8_SURFACES
97 #define INDEX8_SURFACE_SUPPORT_STRING "disabled"
99 #define INDEX8_SURFACE_SUPPORT_STRING "enabled"
102 #ifdef EW_DONT_USE_RGB565_SURFACES
103 #define RGB565_SURFACE_SUPPORT_STRING "disabled"
105 #define RGB565_SURFACE_SUPPORT_STRING "enabled"
108 #ifdef EW_DONT_USE_BIDI_FUNCTIONS
109 #define BIDI_TEXT_SUPPORT_STRING "disabled"
111 #define BIDI_TEXT_SUPPORT_STRING "enabled"
114 #if EW_USE_GRAPHICS_ACCELERATOR == 1
115 #define GRAPHICS_ACCELERATOR_STRING "DMA2D"
117 #define GRAPHICS_ACCELERATOR_STRING "none"
120 #if (EW_USE_FREE_RTOS == 1)
121 #define OPERATING_SYSTEM_STRING "FreeRTOS"
123 #define OPERATING_SYSTEM_STRING "none"
126 #if (EW_USE_EXTERNAL_FLASH == 1)
127 #define EXTERNAL_FLASH_STRING "QSPI Flash"
129 #define EXTERNAL_FLASH_STRING "none"
int YPos
Definition: ew_bsp_touch.h:90
@ CoreKeyCodeUp
Definition: Core.h:187
void EwBspTouchDone(void)
Terminates the touch driver.
Definition: ew_bsp_touch.c:114
int DisplayWidth
Definition: ew_bsp_display.h:112
static XEnum EwGetKeyCommand(void)
The function EwGetKeyCommand reads the next key code from the console and translates it into an Embed...
Definition: ewmain.c:392
static CoreRoot RootObject
Definition: ewmain.c:109
@ CoreKeyCodeDown
Definition: Core.h:188
#define BIDI_TEXT_SUPPORT_STRING
Definition: ewmain.h:111
XBitmap * EwBeginUpdateArea(XViewport *aViewport, XRect aArea)
void EwBspClockSetTime(unsigned long aTime)
Sets the given time in seconds since 01.01.1970 at real time clock (RTC).
Definition: ew_bsp_clock.c:303
#define EwNewObject(aClass, aArg)
Definition: ewrte.h:1142
void EwBspEventWait(int aTimeout)
The function EwBspEventWait should be called from the Embedded Wizard main loop in case there are no ...
Definition: ew_bsp_event.c:62
@ CoreKeyCodePower
Definition: Core.h:263
#define PLATFORM_STRING
Definition: ewconfig.h:56
static XViewport * Viewport
Definition: ewmain.c:110
#define GRAPHICS_ACCELERATOR_STRING
Definition: ewmain.h:117
#define EW_BSP_DISPLAY_UPDATE_SCRATCHPAD
Definition: ew_bsp_display.h:58
unsigned long XHandle
Definition: ewrte.h:291
@ CoreKeyCodeLeft
Definition: Core.h:189
const XPoint EwScreenSize
Definition: Core.c:145
void EwDoneGraphicsEngine(void)
Definition: ew_bsp_display.h:84
int UpdateMode
Definition: ew_bsp_display.h:114
int DeviceDriver_ProcessData(void)
The function DeviceDriver_ProcessData() is called from the main UI loop, in order to process data and...
Definition: DeviceDriver.cpp:253
#define EW_MEMORY_POOL_SIZE
Definition: ewconfig.h:184
#define WARP_FUNCTION_SUPPORT_STRING
Definition: ewmain.h:93
XInt32 Y
Definition: ewrte.h:1632
void EwDoneViewport(XViewport *aViewport)
void EwBspClockInit(void)
Initialises the system clock and the real time clock.
Definition: ew_bsp_clock.c:200
XObject EwNewObjectIndirect(const void *aClass, XHandle aArg)
#define TOOLCHAIN_STRING
Definition: ewmain.h:81
#define EW_MAX_SURFACE_CACHE_SIZE
Definition: ewgfxdefs.h:89
int EwBspDisplayGetUpdateArea(XRect *aUpdateRect)
The function EwBspDisplayGetUpdateArea returns the next update area depending on the selected display...
Definition: ew_bsp_display.c:604
#define EW_BSP_TOUCH_DOWN
Definition: ew_bsp_touch.h:50
XBool CoreRoot__DriveKeyboardHitting(void *_this, XEnum aCode, XChar aCharCode, XBool aDown)
Definition: Core.c:4450
int EwBspTouchGetEvents(XTouchEvent **aTouchEvent)
The function EwBspTouchGetEvents reads the current touch positions from the touch driver and returns ...
Definition: ew_bsp_touch.c:129
#define CHECK_HANDLE(handle)
Definition: ewmain.c:92
#define EW_MAX_GLYPH_SURFACE_HEIGHT
Definition: ewgfxdefs.h:189
Definition: ew_bsp_touch.h:74
@ CoreKeyCodeMenu
Definition: Core.h:186
This file implements a generic framework for running Embedded Wizard generated GUI applications on a ...
unsigned char EwBspConsoleGetCharacter(void)
The function EwBspConsoleGetCharacter returns the current character from the console interface....
Definition: ew_bsp_console.c:184
#define EW_EXTRA_POOL_SIZE
Definition: ewconfig.h:189
#define EW_MEMORY_POOL_ADDR
Definition: ewconfig.h:182
XRect CoreRoot__UpdateCanvas(void *_this, GraphicsCanvas aCanvas, XPoint aOffset)
Definition: Core.c:4123
XRect EwNewRect(XInt32 aX1, XInt32 aY1, XInt32 aX2, XInt32 aY2)
void DeviceDriver_Initialize(void)
The function DeviceDriver_Initialize() initializes the module and prepares all necessary things to ac...
Definition: DeviceDriver.cpp:168
int EwProcessTimers(void)
unsigned long XEnum
Definition: ewrte.h:1593
#define EW_RTE_VERSION
Definition: ewrte.h:38
#define EW_GFX_VERSION
Definition: ewgfx.h:157
void EwPrint(const char *aFormat,...)
@ CoreKeyCodeNoKey
Definition: Core.h:183
void EwDone(void)
EwDone() is responsible to shutdown the application and to release all used resources.
Definition: ewmain.c:188
XRect CoreRoot__UpdateGE20(void *_this, GraphicsCanvas aCanvas)
Definition: Core.c:4056
#define VECTOR_GRAPHICS_SUPPORT_STRING
Definition: ewmain.h:87
const XClass EwApplicationClass
Definition: Core.c:148
void DeviceDriver_Deinitialize(void)
The function DeviceDriver_Deinitialize() deinitializes the module and finalizes the access or communi...
Definition: DeviceDriver.cpp:218
#define EW_BSP_TOUCH_MOVE
Definition: ew_bsp_touch.h:54
XBitmap * EwBeginUpdate(XViewport *aViewport)
int EwBspDisplayInit(XDisplayInfo *aDisplayInfo)
The function EwBspDisplayInit initializes the display hardware and returns the display parameter.
Definition: ew_bsp_display.c:331
void CoreRoot__EndUpdate(void *_this)
Definition: Core.c:4076
int Finger
Definition: ew_bsp_touch.h:91
XViewport * EwInitViewport(XPoint aSize, XRect aExtent, XInt32 aOrient, XInt32 aOpacity, void *aDisplay1, void *aDisplay2, void *aDisplay3, XViewportProc aProc)
int EwProcessSignals(void)
#define EW_EXTRA_POOL_ADDR
Definition: ewconfig.h:188
XBool CoreRoot__DriveMultiTouchHitting(void *_this, XBool aDown, XInt32 aFinger, XPoint aPos)
Definition: Core.c:4753
void EwDumpHeap(int aDetailed)
XBool CoreRoot__DoesNeedUpdate(void *_this)
Definition: Core.c:4265
This file implements an interface between an Embedded Wizard generated UI application and a certain d...
int EwReclaimMemory(void)
XInt32 CoreRoot__BeginUpdate(void *_this)
Definition: Core.c:4240
int EwNextTimerExpiration(void)
#define OPERATING_SYSTEM_STRING
Definition: ewmain.h:123
#define EW_MAX_ISSUE_TASKS
Definition: ewgfxdefs.h:226
#define EW_STRINGIZE(aArg)
Definition: ewdef.h:75
void EwEndUpdate(XViewport *aViewport, XRect aArea)
void EwBspTouchInit(int aWidth, int aHeight)
Initializes the touch driver.
Definition: ew_bsp_touch.c:79
void EwAddHeapMemoryPool(void *aAddress, long aSize)
@ CoreKeyCodeRight
Definition: Core.h:190
#define EW_BSP_TOUCH_UP
Definition: ew_bsp_touch.h:57
void EwBspDisplayDone(void)
The function EwBspDisplayDone deinitializes the display hardware.
Definition: ew_bsp_display.c:586
#define RGB565_SURFACE_SUPPORT_STRING
Definition: ewmain.h:105
unsigned long EwBspClockGetTime(void)
Returns the current time in seconds since 01.01.1970.
Definition: ew_bsp_clock.c:257
int EwInitGraphicsEngine(void *aArgs)
XRect CoreRoot__GetUpdateRegion(void *_this, XInt32 aRegionNo)
Definition: Core.c:4158
@ CoreKeyCodeExit
Definition: Core.h:185
#define RTC_MINIMUM_TIME
Definition: ewconfig.h:66
void * FrameBuffer
Definition: ew_bsp_display.h:108
CoreRoot CoreRoot__Initialize(void *_this, XPoint aSize)
Definition: Core.c:4289
XBool CoreRoot__DriveMultiTouchMovement(void *_this, XInt32 aFinger, XPoint aPos)
Definition: Core.c:4555
static void EwUpdate(XViewport *aViewport, CoreRoot aApplication)
The function EwUpdate performs the screen update of the dirty area.
Definition: ewmain.c:336
int XPos
Definition: ew_bsp_touch.h:89
XPoint Point1
Definition: ewrte.h:1657
#define EW_SURFACE_ROTATION
Definition: ewgfxdefs.h:76
GraphicsCanvas GraphicsCanvas__DetachBitmap(void *_this)
Definition: Graphics.c:217
XInt32 X
Definition: ewrte.h:1631
GraphicsCanvas GraphicsCanvas__AttachBitmap(void *_this, XHandle aBitmap)
Definition: Graphics.c:262
This file contains general configuration settings for the target system, like memory ranges and displ...
#define EW_BSP_DISPLAY_UPDATE_NORMAL
Definition: ew_bsp_display.h:49
#define RTC_DEFAULT_TIME
Definition: ewconfig.h:67
void EwPrintSystemInfo(void)
This function prints system and configuration information - very helpful in case of any support issue...
Definition: ewmain.c:431
int EwInit(void)
EwInit() is responsible to initialize the system, to configure the display, to get access to the desi...
Definition: ewmain.c:124
static XDisplayInfo DisplayInfo
Definition: ewmain.c:111
int BufferHeight
Definition: ew_bsp_display.h:111
int DisplayHeight
Definition: ew_bsp_display.h:113
#define INDEX8_SURFACE_SUPPORT_STRING
Definition: ewmain.h:99
int BufferWidth
Definition: ew_bsp_display.h:110
#define EW_MAX_GLYPH_SURFACE_WIDTH
Definition: ewgfxdefs.h:185
void EwUnlockObject(register XObject aObject)
int EwInitHeap(int aLargeObjectSize)
#define EXTERNAL_FLASH_STRING
Definition: ewmain.h:129
void EwPrintProfilerStatistic(int aDetailed)
@ CoreKeyCodeOk
Definition: Core.h:184
void EwLockObject(register XObject aObject)
int EwProcess(void)
EwProcess() implements one cycle of the main loop. This function has to be called in an (endless) loo...
Definition: ewmain.c:237
void * DoubleBuffer
Definition: ew_bsp_display.h:109