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

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
(2) Measuring the pulse width by using one input signal of the TI000 pin (free-running mode)
200
Compare match interrupt
Set the free-running timer mode (TMC003 and TMC002 = 01). The count value of TM00 is captured to CR000 in
the phase reverse to the valid edge detected on the TI000 pin. When the valid edge of the TI000 pin is detected,
the count value of TM00 is captured to CR010.
By this measurement method, values are stored in separate capture registers when a width from one edge to
another is measured. Therefore, the capture values do not have to be saved. By subtracting the value of one
capture register from that of another, a high-level width, low-level width, and cycle are calculated.
If an overflow occurs, the value becomes negative if one captured value is simply subtracted from another and,
therefore, a borrow occurs (bit 0 (CY) of the program status word (PSW) is set to 1). If this happens, ignore CY
and take the calculated value as the pulse width. In addition, clear bit 0 (OVF00) of 16-bit timer mode control
register 00 (TMC00) to 0.
Capture trigger input
Capture trigger input
(TMC003, TMC002)
Capture interrupt
Capture register
Capture register
TM00 register
Operable bits
Overflow flag
(INTTM010)
(INTTM000)
(OVF00)
(CR000)
(CR010)
(TI000)
(TI010)
FFFFH
0000H
Figure 6-50. Timing Example of Pulse Width Measurement (2)
0000H
L
L
00
0000H
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
A
TMC00 = 04H, PRM00 = 10H, CRC00 = 07H
01
M
A
User’s Manual U18698EJ1V0UD
B
M
0 write clear
N
B
N
C
0 write clear
S
C
D
S
0 write clear
P
D
P
E
0 write clear
Q
E
Q

Related parts for UPD78F0413GA-GAM-AX