UPD78F0386GK-8EU-A Renesas Electronics America, UPD78F0386GK-8EU-A Datasheet - Page 205

no-image

UPD78F0386GK-8EU-A

Manufacturer Part Number
UPD78F0386GK-8EU-A
Description
MCU 96KB FLASH 5KB RAM
Manufacturer
Renesas Electronics America
Series
78K0/Lx2r
Datasheet

Specifications of UPD78F0386GK-8EU-A

Core Processor
78K/0
Core Size
8-Bit
Speed
20MHz
Connectivity
3-Wire SIO, I²C, LIN, UART/USART
Peripherals
LCD, LVD, POR, PWM, WDT
Number Of I /o
26
Program Memory Size
96KB (96K x 8)
Program Memory Type
FLASH
Ram Size
5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
7.4.2 Operation as external event counter
counter 5n (TM5n).
Either the rising or falling edge can be selected.
and an interrupt request signal (INTTM5n) is generated.
The external event counter counts the number of external clock pulses to be input to the TI5n pin by 8-bit timer
TM5n is incremented each time the valid edge specified by timer clock selection register 5n (TCL5n) is input.
When the TM5n count value matches the value of 8-bit timer compare register 5n (CR5n), TM5n is cleared to 0
Whenever the TM5n value matches the value of CR5n, INTTM5n is generated.
<1> Set each register.
<2> When TCE5n = 1 is set, the number of pulses input from the TI5n pin is counted.
<3> When the values of TM5n and CR5n match, INTTM5n is generated (TM5n is cleared to 00H).
<4> After these settings, INTTM5n is generated each time the values of TM5n and CR5n match.
Note 8-bit timer/event counter 50: PM17
Remark For how to enable the INTTM5n signal interrupt, see CHAPTER 19 INTERRUPT FUNCTIONS.
Setting
TM5n count value
Remark N = 00H to FFH
8-bit timer/event counter 51: PM33
INTTM5n
Set the port mode register (PM17 or PM33)
TCL5n: Select TI5n pin input edge.
CR5n:
TMC5n: Stop the count operation, select the mode in which clear & start occurs on match of TM5n and
Figure 7-12. External Event Counter Operation Timing (with Rising Edge Specified)
CR5n
TI5n
n = 0, 1
TI5n pin falling edge
TI5n pin rising edge
Compare value
CR5n, disable the timer F/F inversion operation, disable timer output.
(TMC5n = 0000
Count start
00H
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51
01H
02H
00B
TCL5n = 01H
03H
TCL5n = 00H
User’s Manual U17504EJ2V0UD
= Don’t care)
04H
Note
05H
to 1.
N
1
N
N
00H
01H
02H
03H
203

Related parts for UPD78F0386GK-8EU-A