![]() |
RTEMS 6.3
|
RTC configuration. More...
#include <libchip/rtc.h>#include <bsp/io.h>Macros | |
| #define | LPC176X_RTC_NUMBER 1U |
Functions | |
| void | bsp_rtc_initialize (void) |
| Initialize the rtc device. | |
| int | bsp_rtc_get_time (rtems_time_of_day *tod) |
| Gets the information according to the current time. | |
| int | bsp_rtc_set_time (const rtems_time_of_day *tod) |
| Sets the information according to the current time. | |
| bool | bsp_rtc_probe (void) |
| Used to probe. At the moment is not used. | |
Variables | |
| const rtc_fns | lpc176x_rtc_ops |
| Represents the real time clock options. | |
| size_t | RTC_Count = LPC176X_RTC_NUMBER |
| rtc_tbl | RTC_Table [LPC176X_RTC_NUMBER] |
| Table to describes the rtc device. | |
RTC configuration.
| int bsp_rtc_get_time | ( | rtems_time_of_day * | tod | ) |
Gets the information according to the current time.
| tod | Value to be modified. |
| bool bsp_rtc_probe | ( | void | ) |
Used to probe. At the moment is not used.
| int bsp_rtc_set_time | ( | const rtems_time_of_day * | tod | ) |
Sets the information according to the current time.
| tod | Value to get the new information. |
| const rtc_fns lpc176x_rtc_ops |
Represents the real time clock options.
| rtc_tbl RTC_Table[LPC176X_RTC_NUMBER] |
Table to describes the rtc device.