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

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
Figure 13.4
13.1.1
Table 13.2
Count source
Count Operation
Division Ratio
Count Start Condition
Count Stop Condition
Interrupt Request
Generation Timing
INT10/CNTR00,
INT11/CNTR01 Pin
Function
CNTR0 Pin Function
Read from Timer
Write to timer
Timer X Mode Register
b7 b6 b5 b4
NOTES :
0 0 0 0 0
Timer mode is mode to count the count source which is internally generated (See Table 13.2
Specification of Timer Mode). Figure 13.4 shows the TXMR Register in Timer Mode.
1.
2.
3. Refer to 20.4.2 Tim er X for precautions on the TXS bit.
The IR bit in the INT1IC register may be set to “1” (requests interrupt) w hen the R0EDG bit is rew ritten.
Refer to 20.2.5 Changing Interrupt Factor.
This bit is used to select the polarity of INT1
Jan 19, 2006
Item
Timer Mode
b3 b2
Specification of Timer Mode
TXMR Register in Timer Mode
b1 b0
0
0
Bit Symbol
TXMOD0
TXMOD1
TXOCNT
TXMOD2
Symbol
R0EDG
TXEDG
TXUND
TXMR
TXS
Page 87 of 254
f1, f2, f8, fRING
• Decrement
• When the timer underflows, the contents in the reload register is reloaded and
1/(n+1)(m+1) n: setting value of PREX register, m: setting value of TX register
Write “1” (count starts) to the TXS bit in the TXMR register
Write “0” (count stops) to the TXS bit in the TXMR register
When Timer X underflows [Timer X interrupt]
Programmable I/O port, or INT1 interrupt input
Programmable I/O port
The count value can be read by reading the TX and PREX registers
• When writing to the TX and PREX registers while the count stops, the value is
• When writing to the TX and PREX registers during the count, the value is
the count is inherited
written to both the reload register and counter.
written to each reload register of the TX and PREX registers at the following
count source input and the data is transferred to the counter at the second
count source input and the count re-starts at the third count source input.
Operating Mode Select Bit 0, 1
_____
INT1
Polarity Sw itch Bit
Timer X Count Start Flag
Set to “0” in timer mode
Operating Mode Select Bit 2
Set to “0” in timer mode
Set to “0” in timer mode
/CNTR0 Signal
_____
Address
Bit Name
008Bh
interrupt in timer mode.
(1, 2)
(3)
Specification
b1 b0
0 0 : Timer mode or pulse period measurement
0 : Rising edge
1 : Falling edge
0 : Stops counting
1 : Starts counting
0 : Other than pulse period measurement mode
mode
After Reset
Function
00h
13. Timers
RW
RW
RW
RW
RW
RW
RW
RW
RW

Related parts for R5F21162SP#U0