RTEMS: cpukit/rtems/src/clockgettod.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros | Functions | Variables
clockgettod.c File Reference
API » Classic » Clocks

Obtain Current Time of Day (Classic TOD) More...

`#include <rtems/rtems/clock.h>`
`#include <rtems/score/todimpl.h>`
`#include <rtems/config.h>`

## Macros
#define | RTEMS_SECS_PER_MINUTE (60UL)
#define | RTEMS_MINUTE_PER_HOUR (60UL)
#define | RTEMS_SECS_PER_HOUR (RTEMS_SECS_PER_MINUTE * RTEMS_MINUTE_PER_HOUR)
#define | RTEMS_HOURS_PER_DAY (24UL)
#define | RTEMS_SECS_PER_DAY (RTEMS_SECS_PER_HOUR * RTEMS_HOURS_PER_DAY)
#define | RTEMS_DAYS_PER_YEAR (365UL)
#define | RTEMS_YEAR_BASE (1970UL)

## Functions
rtems_status_code | rtems_clock_get_tod (rtems_time_of_day *time_buffer)
| Obtain Current Time of Day (Classic TOD)

## Variables
const uint16_t | _TOD_Days_to_date [2][13]

## Detailed Description

Obtain Current Time of Day (Classic TOD)