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

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.2.2
Table 13.8
NOTES:
Count Source
Count Operation
Width and Period of
Output Waveform
Count Start Condition Write “1” (count starts) to the TZS bit in the TZMR register
Count Stop Condition Write “0” (count stops) to the TZS bit in the TZMR register
Interrupt Request
Generation Timing
TZOUT Pin Function
INT0 Pin Function
Read from Timer
Write to Timer
Select Function
1. Even when counting the secondary period, read out the TZPR register.
2. The setting value in the TZPR register and TZSC register are made effective by writing a value to
3. The TZOCNT bit is enabled by the followings.
Programmable waveform generation mode is mode to invert the signal output from the TZOUT pin
each time the counter underflows, while the values in the TZPR and TZSC registers are counted
alternately (see Table 13.8 Specification of Programmable Waveform Generation Mode). A
counting starts by counting the value set in the TZPR register. Figure 13.17 shows TZMR and PUM
Registers in Programmable Waveform Generation Mode. Figure 13.18 shows Operating Example of
Timer Z in Programmable Waveform Generation Mode.
the TZPR register. The set values are reflected to the waveform output beginning with the following
primary period after writing to the TZPR register.
Jan 19, 2006
When count starts.
When the timer Z interrupt request is generated. The contents after the TZOCNT bit is changed
are reflected from the output of the following primary period.
Item
Programmable Waveform Generation Mode
Specification of Programmable Waveform Generation Mode
f1, f2, f8, Ti
• Decrement
• When the timer underflows, it reloads the contents of primary reload register and
Primary period: (n+1)(m+1)/fi
Secondary period: (n+1)(p+1)/fi
Period: (n+1){(m+1)+(p+1)}/fi
fi: Count source frequency
n: Setting value in PREZ register, m: setting value in TZPR register, p: setting
value in TZSC register
In half of count source, after Timer Z underflows during secondary period (at the
same time as the TZout output change) [Timer Z interrupt].
Pulse output
(When using this function as a programmable I/O port, set to timer mode.)
Programmable I/O port, or INT0 interrupt input
The count value can be read out by reading the TZPR and PREZ registers
The value written to the TZSC, PREZ and TZPR registers is written to the reload
register only
• Output level latch select function
• Programmable waveform generation output switch function
Page 105 of 254
secondary reload register alternately before the count continues.
The TZOPL bit can select the output level during primary and secondary
periods.
When the TZOCNT bit in the TZOC register is set to “0”, the output from TZOUT
is inverted synchronously when Timer Z underflows. And when setting to “1”,
output the value in the P1_3 bit from TZOUT pin
mer X underflow
(2)
.
Specification
(3)
.
13. Timers
(1)
.

Related parts for R5F21162SP#U0