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

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
Table 13.10
NOTES:
Count Source
Count Operation
Wait Time
One-Shot Pulse Output Time (n+1)(p+1)/fi
Count Start Condition
Count Stop Condition
Interrupt Request
Generation Timing
TZOUT Pin Function
INT0 Pin Function
Read from Timer
Write to Timer
Select Function
1. Set the TZS bit in the TZMR register to “1” (count starts).
2. Set the TZS bit to “1” (count starts), the INT0EN bit in the INTEN register to “1” (enables INT0 input),
3. The setting values are reflected beginning with the following one-shot pulse after writing to the
and the INOSTG bit in the PUM register to “1” (enabling INT0 one-shot trigger). A trigger which is
input during the count cannot be acknowledged, however the INT0 interrupt request is generated.
TZPR register.
Jan 19, 2006
Item
Specification of Programmable Wait One-shot Generation Mode
Page 112 of 254
f1, f2, f8, Timer X underflow
• Decrement the setting value in Timer Z primary
• When a count of TZPR register underflows, the timer reloads the
• When a count of the TZSC register underflows, the timer reloads the
• When a count stops, the timer reloads the contents of the reload register
(n+1)(m+1)/fi
fi: Count source frequency
n: setting value in PREZ register, m: setting value in TZPR register
fi: Count source frequency
n: setting value in PREZ register, p: setting value in TZSC register
• Set the TZOS bit in the TZOC register to “1” (one-shot starts)
• Input active trigger to the INT0 pin
• When reloading completes after Timer Z underflows during secondary
• When the TZS bit in the TZMR register is set to “0” (count stops)
• When the TZOS bit in the TZOC register is set to “0” (one-shot stops)
In half cycles of count source after timer Z underflows during secondary
period (complete at the same time as waveform output from the TZOUT
pin) [timer Z interrupt]
Pulse output
(When using this function as a programmable I/O port, set to timer mode.)
• When the INOSTG bit in the PUM register is set to “0” (INT0 one-shot
• When the INOSTG bit in the PUM register is set to “1” (INT0 one-shot
The count value can be read out by reading the TZPR and PREZ
registers.
The value written to the TZPR, PREZ and TZSC register is written to the
reload register only
• Output level latch select function
• INT0 pin one-shot trigger control function and polarity select function
contents of the TZSC register before the count continues.
contents of the TZPR register before the count completes and the TZOS
bit is set to “0”.
before it stops.
period
trigger disabled), programmable I/O port or INT0 interrupt input
trigger enabled), external trigger (INT0 interrupt input)
The TZOPL bit can select the output level for the one-shot pulse
waveform.
inactive. Also, the INOSEG bit can select the active trigger polarity
The INOSTG bit can select the trigger input from INT0 pin is active or
(3)
.
Specification
(2)
(1)
13. Timers

Related parts for R5F21162SP#U0