WebRadioApp  0.1
ew_bsp_clock.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CPU_LOAD_SET_IDLE()
 
#define CPU_LOAD_SET_ACTIVE()
 

Functions

void EwBspClockInit (void)
 Initialises the system clock and the real time clock. More...
 
void EwBspClockTickIncrement (void)
 The function EwBspClockTickIncrement increments the millisecond counter, which is used by the Runtime Environment (RTE) to trigger timer events. More...
 
unsigned long EwBspClockGetTicks (void)
 The function EwBspClockGetTicks returns the current ticks counter value. More...
 
unsigned long EwBspClockGetTime (void)
 Returns the current time in seconds since 01.01.1970. More...
 
void EwBspClockSetTime (unsigned long aTime)
 Sets the given time in seconds since 01.01.1970 at real time clock (RTC). More...
 
int EwBspClockGetCpuLoad (void)
 Returns the current CPU load as percent value. More...
 
void EwBspClockCpuLoadSetActive (void)
 Starts the CPU load counting. Call this function whenever CPU processing is needed. More...
 
void EwBspClockCpuLoadSetIdle (void)
 Stops the CPU load counting. Call this function whenever CPU processing is currently not needed since the program execution is waiting for some system event. More...