R_RTC_Set_BinaryAlarm


Sets the condition for the alarm interrupt (ALM) and allows detection of ALM (binary count mode).

[Syntax]

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

[Argument(s)]

I/O

Argument

Description

I

uint32_t  alarm_enable;

Comparison flag

0x0: Comparison does not proceed

0x1: Comparison proceeds

I

uint32_t  alarm_val;

The value of the binary counter

[Return value]

None.