UPD78F0413GA-GAM-AX NEC, UPD78F0413GA-GAM-AX Datasheet - Page 231

8BIT UC, 32K FLASH, 1KB RAM, LCD

UPD78F0413GA-GAM-AX

Manufacturer Part Number
UPD78F0413GA-GAM-AX
Description
8BIT UC, 32K FLASH, 1KB RAM, LCD
Manufacturer
NEC
Datasheet

Specifications of UPD78F0413GA-GAM-AX

Controller Family/series
UPD78F
No. Of I/o's
30
Ram Memory Size
1024Byte
Cpu Speed
10MHz
No. Of Timers
8
No. Of Pwm
RoHS Compliant
Core Size
8bit
Program Memory Size
32KB
Oscillator Type
External, Internal

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F0413GA-GAM-AX
Manufacturer:
ADI
Quantity:
882
Part Number:
UPD78F0413GA-GAM-AX
Manufacturer:
Renesas Electronics America
Quantity:
10 000
7.4.2 Operation as external event counter (TM52 only)
counter 52 (TM52).
Either the rising or falling edge can be selected.
and an interrupt request signal (INTTM52) is generated.
The external event counter counts the number of external clock pulses to be input to the TI52 pin by 8-bit timer
TM52 is incremented each time the valid edge specified by timer clock selection register 52 (TCL52) is input.
When the TM52 count value matches the value of 8-bit timer compare register 52 (CR52), TM52 is cleared to 0
Whenever the TM52 value matches the value of CR52, INTTM52 is generated.
<1> Set each register.
<2> When TCE52 = 1 is set, the number of pulses input from the TI52 pin is counted.
<3> When the values of TM52 and CR52 match, INTTM52 is generated (TM52 is cleared to 00H).
<4> After these settings, INTTM52 is generated each time the values of TM52 and CR52 match.
Remark For how to enable the INTTM52 signal interrupt, see CHAPTER 17 INTERRUPT FUNCTIONS.
Setting
TM52 count value
Remark 1. 8-bit timer/event counter 52 (TM52) can be used as a 24-bit timer/event counter, by connecting
INTTM52
Set the port mode register (PM34) to 1.
TCL52: Select TI52 pin input edge.
CR52:
TMC52: Stop the count operation.
Figure 7-15. External Event Counter Operation Timing (with Rising Edge Specified)
CR52
TI52
2. N = 00H to FFH
TI52 pin falling edge
TI52 pin rising edge
Compare value
(TMC52 = 00000000B)
Count start
it with 16-bit timer/event counter (TM00) in cascade. Also, input enable of TM52 can be
controlled via TMH2. For details, see 6.4.9 External 24-bit event counter operation.
00H
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50, 51, AND 52
01H
02H
TCL52 = 01H
03H
TCL52 = 00H
User’s Manual U18698EJ1V0UD
04H
05H
N
1
N
N
00H
01H
02H
03H
231

Related parts for UPD78F0413GA-GAM-AX