rtc19 2.1.0.0
|
RTC 19 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
RTC 19 Click example.
This example demonstrates the use of RTC 19 click board by reading and displaying the time and date values.
The demo application is composed of two sections :
Initializes the driver and logger and performs the click default configuration which resets the device and sets the timer interrupt to 1 Hz. After that, it sets the starting time and date.
Waits for a timer countdown interrupt (1 Hz) and then reads and displays on the USB UART the current time and date values.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |