EasyManuals Logo

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 #785 background image
R01UH0823EJ0100 Rev.1.00 Page 785 of 1823
Jul 31, 2019
RX23W Group 28. Realtime Clock (RTCe)
28.2.21 Time Capture Control Register n (RTCCRn) (n = 0, 1)
Note 1. Indicates that an event has been detected. Writing 1 to this bit has no effect. Writing 0 sets this bit to 0.
The RTCCRn register is used both in calendar count mode and in binary count mode.
RTCCR0 and RTCCR1 control the RTCIC0 and RTCIC1 pins, respectively.
RTCCRn is updated in synchronization with the count source. When RTCCRn is modified, check that all the bits except
for the TCST bit have been updated before continuing with further processing.
This register is set to 00h by an RTC software reset.
TCCT[1:0] Bits (Time Capture Control)
These bits control the edge detection of the time capture event input pins (RTCIC0 and RTCIC1). The detection edge is
selectable. The TCCT[1:0] bits should be set while the TCEN bit is 1.
TCST Bit (Time Capture Status)
This bit indicates that an event of the time capture event input pins (RTCIC0 and RTCIC1) has been detected.
When the TCST bit is 0, no event is detected.
When the TCST bit is 1, this bit indicates that an event of the corresponding pin has been detected and the capture
register is valid. When multiple events have been detected, the capture time for the first event is retained.
If an event is detected while the count operation is stopped (the RCR2.START bit is 0), the captured value is not
guaranteed. In this case, set the TCST bit to 0 for deleting the captured value.
Writing 0 sets the TCST bit to 0. In addition, writing any other value except 0 has no effect.
Set the TCST bit while the TCCT[1:0] bits are 00b (no event is detected).
The TCST bit is set to 0 in synchronization with the count source. When the TCST bit is set to 0, check that the bit has
been updated before continuing with further processing.
Address(es): RTC.RTCCR0 0008 C440h, RTC.RTCCR1 0008 C442h
b7 b6 b5 b4 b3 b2 b1 b0
TCEN TCNF[1:0] TCST TCCT[1:0]
Value after reset:
xxxxxxxx
x: Undefined
Bit Symbol Bit Name Description R/W
b1, b0 TCCT[1:0] Time Capture Control
b1 b0
0 0: No event is detected.
0 1: Rising edge is detected.
1 0: Falling edge is detected.
1 1: Both edges are detected.
R/W
b2 TCST Time Capture Status 0: No event is detected.
1: An event is detected.
*1
R/W
b3 Reserved This bit is read as 0. The write value should be 0. R/W
b5, b4 TCNF[1:0] Time Capture Noise
Filter Control
b5 b4
0 0: The noise filter is off.
0 1: Setting prohibited
1 0: The noise filter is on (count source).
1 1: The noise filter is on (count source by divided by 32).
R/W
b6 Reserved This bit is read as 0. The write value should be 0. R/W
b7 TCEN Time Capture Event
Input Pin Enable
0: The RTCICn pin is disabled as the time capture event input.
1: The RTCICn pin is enabled as the time capture event input.
R/W

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
CoreRXv1, RXv2, RXv3
Flash MemoryUp to 8 MB
RAMUp to 1 MB
Operating Voltage1.62V to 5.5V
Operating Temperature-40°C to +85°C or +105°C
PackageBGA, LQFP
ADC Resolution12-bit
DAC Resolution12-bit
Communication InterfacesSCI, SPI, I2C, USB, Ethernet, CAN
Architecture32-bit
Security FeaturesMemory Protection Unit (MPU)

Related product manuals