R_RTC_Set_BinaryAlarmValue


Sets the alarm conditions.(in the case of the binary mode setting)

[Syntax]

#include    "r_cg_macrodriver.h"
#include    "r_cg_rtc.h"
void    R_RTC_Set_BinaryAlarmValue ( uint32_t alarm_enable, uint32_t alarm_val );

[Argument(s)]

I/O

Argument

Description

I

uint32_t alarm_enable;

Alarm enable

(Set the value to the Binary Counter Alarm Enable Register)

 

uint32_t alarm_val

Alarm conditions (count value)

(Set the value to the Binary Counter Alarm Register)

[Return value]

None.