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

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
19.3.2
19.3.3
Access registers TC, TM0, and TM1 in 16-bit units.
The TC register can be read in 16-bit units. This prevents the timer value from being updated
between when the low-order bytes and high-order bytes are being read.
Example of reading timer C:
Apr 14, 2006
Timer Z stops counting after a reset. Set the values in the timer and prescaler before the count
starts.
Even if the prescaler and timer are read out in 16-bit units, these registers are read 1 byte at a
time by the MCU. Consequently, the timer value may be updated during the period when these
two registers are being read.
Do not rewrite bits TZMOD0 to TZMOD1, and the TZS bit simultaneously.
In programmable one-shot generation mode and programmable wait one-shot generation mode,
when setting the TZS bit in the TZMR register to 0 (stops counting) or setting the TZOS bit in the
TZOC register to 0 (stops one-shot), the timer reloads the value of the reload register and stops.
Therefore, in programmable one-shot generation mode and programmable wait one-shot
generation mode read the timer count value before the timer stops.
The TZS bit in the TZMR register has a function to instruct timer Z to start or stop counting and a
function to indicate that the count has started or stopped.
0 (count stops) can be read until the following count source is applied after 1 (count starts) is
written to the TZS bit while the count is being stopped. If the following count source is applied, 1
can be read from the TZS bit. After writing 1 to the TZS bit, do not access registers associated
with timer Z (registers TZMR, PREZ, TZSC, TZPR, TZOC, PUM, TCSC, and TZIC) except for the
TZS bit, until 1 can be read from the TZS bit. The count starts at the following count source after
the TZS bit is set to 1.
Also, after writing 0 (count stops) to the TZS bit during the count, timer Z stops counting at the
following count source.
1 (count starts) can be read by reading the TZS bit until the count stops after writing 0 to the TZS
bit. After writing 0 to the TZS bit, do not access registers associated with timer Z except for the
TZS bit, until 0 can be read from the TZS bit.
MOV.W
Notes on Timer Z
Notes on Timer C
0090H,R0
Page 222 of 233
; Read out timer C
19. Usage Notes

Related parts for R5F21191SP#U0