EasyManuals Logo
Home>Renesas>Microcontrollers>RX Series

Renesas RX Series User Manual

Renesas RX Series
1823 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #775 background imageLoading...
Page #775 background image
R01UH0823EJ0100 Rev.1.00 Page 775 of 1823
Jul 31, 2019
RX23W Group 28. Realtime Clock (RTCe)
28.2.12 Day-of-Week Alarm Register (RWKAR)/Binary Counter 3 Alarm Register
(BCNT3AR)
(1) In calendar count mode:
The RWKAR register is an alarm register corresponding to the coded day-of-week counter RWKCNT. When the ENB bit
is set to 1, the RWKAR value is compared with the RWKCNT value. From among the alarm registers (RSECAR,
RMINAR, RHRAR, RWKAR, RDAYAR, RMONAR, and RYRAREN), only those selected with the ENB bits set to 1
are compared with the corresponding counters. When the respective values all match, the IR flag corresponding to the
ALM interrupt is set to 1.
RWKAR values from 0 through 6 (in BCD) can be specified; if a value outside of this range is specified, the RTC does
not operate correctly.
After writing to the RWKAR register, confirm that its value has actually changed before proceeding with further
processing. Refer to
section 28.6.5, Notes When Writing to and Reading from Registers for notes on accessing
registers.
This register is set to 00h by an RTC software reset.
(2) In binary count mode:
The BCNT3AR counter is a readable/writable alarm register corresponding to 32-bit binary counter b31 to b24.
This register is set to 00h by an RTC software reset.
Address(es): RTC.RWKAR 0008 C416h
b7 b6 b5 b4 b3 b2 b1 b0
ENB———— DAYW[2:0]
Value after reset:
xxxxxxxx
x: Undefined
Bit Symbol Bit Name Description R/W
b2 to b0 DAYW[2:0] Day-of-Week Setting
b2 b0
0 0 0: Sunday
0 0 1: Monday
010: Tuesday
0 1 1: Wednesday
100: Thursday
101: Friday
1 1 0: Saturday
1 1 1: Setting Prohibited
R/W
b6 to b3 — Reserved Set these bits to 0. They are read as the set value. R/W
b7 ENB ENB 0: The register value is not compared with the RWKCNT counter value.
1: The register value is compared with the RWKCNT counter value.
R/W
Address(es): RTC.BCNT3AR 0008 C416h
b7 b6 b5 b4 b3 b2 b1 b0
BCNTAR[31:24]
Value after reset:
xxxxxxxx
x: Undefined

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RX Series and is the answer not in the manual?

Renesas RX Series Specifications

General IconGeneral
BrandRenesas
ModelRX Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals