R5F21191SP#U0 Renesas Electronics America, R5F21191SP#U0 Datasheet - Page 144

IC R8C MCU FLASH 8K 20SSOP

R5F21191SP#U0

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

Specifications of R5F21191SP#U0

Core Processor
R8C
Core Size
16-Bit
Speed
20MHz
Connectivity
SIO, UART/USART
Peripherals
LED, POR, Voltage Detect, WDT
Number Of I /o
13
Program Memory Size
4KB (4K x 8)
Program Memory Type
FLASH
Ram Size
384 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x1b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
20-SSOP
For Use With
R0K521134S000BE - KIT EVAL STARTER FOR R8C/13R0E521174CPE10 - EMULATOR COMPACT R8C/18/19/1
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
R8C/18 Group, R8C/19 Group
Rev.1.30
REJ09B0222-0130
14.2.3
Table 14.9
NOTES:
Count sources
Count operations
One-shot pulse
output time
Count start conditions • Set the TZOS bit in the TZOC register to 1 (one-shot starts).
Count stop conditions • When reloading completes 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 functions
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.
In programmable one-shot generation mode, one-shot pulse is output from the TZOUT pin by a
program or an external trigger input (input to the INT0 pin) (refer to Table 14.9 Programmable One-
Shot Generation Mode Specifications). 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 not used in this mode. Figure 14.19 shows Registers TZMR and PUM in Programmable One-Shot
Generation Mode. Figure 14.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 an INT0 interrupt request is generated.
Apr 14, 2006
Item
Programmable One-shot Generation Mode
Programmable One-Shot Generation Mode Specifications
f1, f2, f8, Timer X underflow
• Decrement the value set in the TZPR register
• When the timer underflows, it reloads the contents of the reload register before
• When the count stops, the timer reloads the contents of the reload register
(n+1)(m+1)/fi
fi: Count source frequency, n: value set in PREZ register, m: value set in TZPR
register
• Input active trigger to the 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 a cycle of the count source, after the timer underflows (at the same time as
the TZOUT output ends) [timer Z interrupt].
Pulse output
(To use this pin as a programmable I/O port, select 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 registers TZPR and PREZ.
The value written to registers TZPR and PREZ is written to the reload register
only
• Output level latch select function
• INT0 pin one-shot trigger control and polarity select functions
Page 127 of 233
the count completes and the TZOS bit is set to 0 (one-shot stops).
before it stops.
enabled): external trigger (INT0 interrupt input)
disabled): programmable I/O port or INT0 interrupt input
The TZOPL bit can select the output level of the one-shot pulse waveform.
The INOSTG bit can select the trigger as active or inactive from the INT0 pin.
Also, the INOSEG bit can select the active trigger polarity.
(3)
.
Specification
(2)
(1)
14. Timers

Related parts for R5F21191SP#U0