Reads the counter value (year, month, weekday, day, hour, minute, second) of the real-time clock.
#include "r_cg_macrodriver.h" #include "r_cg_rtc.h" MD_STATUS R_RTC_Get_CounterValue ( rtc_counter_value_t * const counter_read_val ); |
rtc_counter_value_t * const counter_read_val; |
Pointer to structure in which to store the counter value being read |
See R_RTC_Set_CounterValue for details about the rtc_counter_value_t counter value. |