R5F21162SP#U0 Renesas Electronics America, R5F21162SP#U0 Datasheet - Page 107

IC R8C MCU FLASH 8K 20SSOP

R5F21162SP#U0

Manufacturer Part Number
R5F21162SP#U0
Description
IC R8C MCU FLASH 8K 20SSOP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/R8C/Tiny/16r
Datasheets

Specifications of R5F21162SP#U0

Core Processor
R8C
Core Size
16-Bit
Speed
20MHz
Connectivity
I²C, SIO, UART/USART
Peripherals
LED, POR, Voltage Detect, WDT
Number Of I /o
13
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
20-SSOP
For Use With
R0K521134S000BE - KIT EVAL STARTER FOR R8C/13
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
R8C/16 Group, R8C/17 Group
Rev.2.10
REJ09B0169-0210
13.1.4
Table 13.5
Count Source
Count Operation
Count Start Condition
Count Stop Condition
Interrupt Request
Generation Timing
INT10/CNTR00,
INT11/CNTR01 Signal
Pin Function
CNTR0 Pin Function
Read from Timer
Write to Timer
Select Function
Pulse width measurement mode is mode to measure the pulse width of an external signal which
inputs from the INT1/CNTR0 pin (See Table 13.5 Specification of Pulse Width Measurement
Mode). Figure 13.7 shows the TXMR Register in Pulse Width Measurement Mode. Figure 13.8
shows an Operating Example in Pulse Width Measurement Mode.
Jan 19, 2006
Pulse Width Measurement Mode
Item
Specification of Pulse Width Measurement Mode
Page 92 of 254
f1, f2, f8, fRING
• Decrement
• Continuously counts the selected signal only when the measurement pulse is
• When the timer underflows, the contents in the reload register is reloaded
Write “1” (count starts) to TXS bit in TXMR register
Write “0” (count stops) to TXS bit in TXMR register
• When Timer X underflows [Timer X interrupt]
• Rising or falling of CNTR0 input (end of measurement period) [INT1 interrupt]
Measurement pulse input (INT1 interrupt input)
Programmable I/O port
The Count value can be read by reading the TX and PREX registers.
• When writing to the TX and PREX registers while the count stops, the value
• When writing to the TX and PREX registers during the count, the value is
• INT1/CNTR0 signal polarity switch function
• Measurement pulse input pin select function
“H” level, or conversely only “L” level.
and the count is inherited
is written to both the reload register and counter.
written to each reload register of the TX and PREX registers at the following
count source input and the data is transferred to the counter at the second
count source input and the count re-starts at the third count source input.
The R0EDG bit can select “H” or “L” level duration as the input pulse
measurement
The CNTRSEL bit in the UCON register can select the CNTR00 or CNTR01
pin
Specification
13. Timers

Related parts for R5F21162SP#U0