@CHIP-RTOS C Library - RTOS API
Get system time and date with
int RTX_Get_TimeDate_us ( TimeDateFineS far *td );
- Output parameter, pointer to TimeDateFineS
allocated by user and filled by this function.
- 0: Location at td
contains system date and time
- This function requires around 185 microseconds
execution time. The time mark read occurs within 18 microseconds
of the time at which this API was called, assuming that no
interrupts were serviced in the meantime.
This API may be called from within any form of
Interrupt Service routine, although due to its rather long
execution time this may not be a good idea.
Inside this API the interrupts are masked for short periods
of time and then restored to the their masking state on entry.
- This library function invokes a RTOS software interrupt
to install a dynamic link into the RTOS.
Refer to this RTOS API function's
for more details.
- RTX API Overview
Supported since or modified in @CHIP-RTOS version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document