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

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.3
Table 13.9
NOTES:
Count Source
Count Operation
One-Shot Pulse
Output Time
Count Start Condition • Set TZOS bit in TZOC register to “1” (one-shot starts)
Count Stop Condition • When reloading is completed after the count value is set to “00h”
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 set value is reflected at the following one-shot pulse after writing to the TZPR register.
Programmable one-shot generation mode is mode to output the one-shot pulse from the TZOUT pin
by a program or an external trigger input (input to the INT0 pin). (see Table 13.9 Specification of
Programmable One-Shot Generation Mode). When a trigger is generated, the timer starts
operating from the point only once for a given period equal to the set value in the TZPR register. The
TZSC register is unused in this mode. Figure 13.19 shows the TZMR and PUM Registers in
Programmable One-Shot Generation Mode. Figure 13.20 shows an Operating Example in
Programmable One-shot Generation Mode.
and the INOSTG bit in the PUM register to “1” (INT0 one-shot trigger enabled). A trigger which is
input during the count cannot be acknowledged, however the INT0 interrupt request is generated.
Jan 19, 2006
Item
Programmable One-Shot Generation Mode
Specification of Programmable One-Shot Generation Mode
f1, f2, f8, Timer X underflow
• Decrement the setting value in TZPR register
• When the timer underflows, it reloads the contents of the reload register before
• When a count stops, the timer reloads the contents of the reload register before
(n+1)(m+1)/fi
fi: Count source frequency, n: setting value in PREZ register, m: setting value in
TZPR register
• Input active trigger to INT0 pin
• 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 the timer underflows (at the same time as the
TZOUT output ends) [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 trigger
• When the INOSTG bit in the PUM register is set to “1” (INT0 one-shot trigger
The count value can be read out by reading the TZPR and PREZ registers.
The value written to the TZPR and PREZ registers is written to the reload register
only
• Output level latch select function
• INT0 pin one-shot trigger control and polarity select functions
Page 108 of 254
the count is completed and the TZOS bit is set to “0” (one-shot stop).
it stops.
enabled)
disabled)
programmable I/O port or INT0 interrupt input
external trigger (INT0 interrupt input)
The TZOPL bit can select the output level of the one-shot pulse waveform.
The INOSTG bit can select the trigger input from the INT0 pin is active or
inactive. Also, the INOSEG bit can select the active trigger polarity.
(3)
.
(2)
Specification
(1)
13. Timers

Related parts for R5F21162SP#U0