Reads the counter value of the real-time clock.(in the case of the calendar mode setting)
[Syntax]
#include r_cg_macrodriver.h
#include r_cg_rtc.h
MD_STATUS R_RTC_Get_BinaryCounterValue ( uint32_t * const counter_read_val );
[Argument(s)]
I/O |
Argument |
Description |
O |
uint32_t * const counter_read_val; |
Pointer to structure in which to store the counter value being read |
[Return value]
Macro |
Description |
MD_OK |
Normal completion |
MD_ERROR |
Read failure |