Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of UIPEthernet by
Clock interface
The clock interface is the interface between the timer library and the platform specific clock functionality. More...
Functions | |
void | uip_clock_init (void) |
Initialize the clock library. | |
clock_time_t | clock_time (void) |
Get the current clock time. |
Detailed Description
The clock interface is the interface between the timer library and the platform specific clock functionality.
The clock interface must be implemented for each platform that uses the timer library.
The clock interface does only one this: it measures time. The clock interface provides a macro, CLOCK_SECOND, which corresponds to one second of system time.
- See also:
- Timer library
Function Documentation
clock_time_t clock_time | ( | void | ) |
Get the current clock time.
This function returns the current system clock time.
- Returns:
- The current clock time, measured in system ticks.
- Note:
- Parameters:
-
@retval
Definition at line 31 of file clock-arch.c.
void uip_clock_init | ( | void | ) |
Initialize the clock library.
This function initializes the clock library and should be called from the main() function of the system.
Generated on Tue Jul 12 2022 18:10:58 by
