WebRadioApp  0.1
ew_bsp_event.h
Go to the documentation of this file.
1 /*******************************************************************************
2  *
3  * E M B E D D E D W I Z A R D P R O J E C T
4  *
5  * Copyright (c) TARA Systems
6  *GmbH written by Paul Banach and Manfred Schweyer
7  *
8  ********************************************************************************
9  *
10  * This software is delivered "as is" and shows the usage of other software
11  * components. It is provided as an example software which is intended to be
12  * modified and extended according to particular requirements.
13  *
14  * TARA Systems hereby disclaims all warranties and conditions with regard to
15  *the software, including all implied warranties and conditions of
16  *merchantability and non-infringement of any third party IPR or other rights
17  *which may result from the use or the inability to use the software.
18  *
19  ********************************************************************************
20  *
21  * DESCRIPTION:
22  * This file is part of the interface (glue layer) between an Embedded Wizard
23  * generated UI application and the board support package (BSP) of a dedicated
24  * target.
25  * This template provides a system event mechanism, that can be used in
26  * combination with an operating system to sleep and to continue (resume) the
27  * operation of the UI main loop.
28  *
29  *******************************************************************************/
30 
42 #ifndef EW_BSP_EVENT_H
43 #define EW_BSP_EVENT_H
44 
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48 
49 /*******************************************************************************
50  * FUNCTION:
51  * EwBspEventWait
52  *
53  * DESCRIPTION:
54  * The function EwBspEventWait should be called from the Embedded
55  * Wizard main loop in case there are no pending events, signals or timers
56  *that have to be processed by the UI application. The function EwBspEventWait
57  *is used to sleep the given time span or to suspend the UI task. The function
58  *returns as soon as a new system event occurs or when the given timeout value
59  *is expired. Typically, a system event is a touch event or a key event or any
60  *event from your device driver.
61  *
62  * ARGUMENTS:
63  * aTimeout - timeout value in milliseconds.
64  *
65  * RETURN VALUE:
66  * None
67  *
68  *******************************************************************************/
69 void EwBspEventWait(int aTimeout);
70 
71 /*******************************************************************************
72  * FUNCTION:
73  * EwBspEventTrigger
74  *
75  * DESCRIPTION:
76  * The function EwBspEventTrigger is used in combination with an
77  * operating system to continue (resume) the operation of the UI main loop.
78  * Typically, a system event is a touch event or a key event or any event
79  * from your device driver.
80  *
81  * ARGUMENTS:
82  * None
83  *
84  * RETURN VALUE:
85  * None
86  *
87  *******************************************************************************/
88 void EwBspEventTrigger(void);
89 
90 #ifdef __cplusplus
91 }
92 #endif
93 
94 #endif /* EW_BSP_EVENT_H */
95 
96 /* msy */
97 
ew_bsp_event.h
EwBspEventWait
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
ew_bsp_clock.h
CPU_LOAD_SET_ACTIVE
#define CPU_LOAD_SET_ACTIVE()
Definition: ew_bsp_clock.h:56
EwBspEventTrigger
void EwBspEventTrigger(void)
The function EwBspEventTrigger is used in combination with an operating system to continue (resume) t...
Definition: ew_bsp_event.c:109
CPU_LOAD_SET_IDLE
#define CPU_LOAD_SET_IDLE()
Definition: ew_bsp_clock.h:55
ewconfig.h
This file contains general configuration settings for the target system, like memory ranges and displ...