r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 378

no-image

r5f21368sdfp

Manufacturer Part Number
r5f21368sdfp
Description
Renesas Mcu R8c Family / R8c/3xt-a Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21368sdfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Under development
R8C/36T-A Group
R01UH0240EJ0001 Rev.0.01
Apr 28, 2011
18.2.21 Timer RE2 Alarm Day-of-the-Week Register (TREAWK)
TRECR register
RTCRST bit in
Bits AWK0 to AWK2 (Day-of-the-week alarm data bits)
After reset by
Bit
b0
b1
b2
b3
b4
b5
b6
b7
After Reset
The TREAWK register is used in real-time clock mode.
Write to this register when the BSY bit in the TRESEC register is 0 (data not being updated).
The TREAWK register is compared with the TREWK register when the ENBWK bit is 1 (day-of-the-week
alarm enabled). If the values of both the registers match, the ALIF bit in the TREIFR register is set to 1
(interrupt requested). When the ALIE bit in the TREIFR register is 1 (alarm interrupt enabled), an interrupt
request is generated.
Set 000b (Sunday) to 110b (Saturday).
Address 0017Eh
Symbol ENBWK
ENBWK Day-of-the-week alarm enable bit
Symbol
AWK0
AWK1
AWK2
Bit
Preliminary document
Specifications in this document are tentative and subject to change.
Day-of-the-week alarm data bits
Nothing is assigned. The write value must be 0. The read value is 0.
b7
0
0
b6
0
0
Bit Name
b5
0
0
b4
0
0
0: Day-of-the-week alarm disabled
1: Day-of-the-week alarm enabled
b2 b1 b0
0 0 0: Sunday
0 0 1: Monday
0 1 0: Tuesday
0 1 1: Wednesday
1 0 0: Thursday
1 0 1: Friday
1 1 0: Saturday
1 1 1: Do not set.
(not compared with the TREWK register)
(compared with the TREWK register)
b3
0
0
AWK2
b2
0
0
Function
AWK1
b1
0
0
AWK0
b0
0
0
Page 347 of 725
18. Timer RE2
R/W
R/W
R/W
R/W
R/W

Related parts for r5f21368sdfp