UPD78F0890GK(A)-GAJ-AX NEC, UPD78F0890GK(A)-GAJ-AX Datasheet - Page 198

8BIT MCU, 128K FLASH, 7K RAM, LQFP

UPD78F0890GK(A)-GAJ-AX

Manufacturer Part Number
UPD78F0890GK(A)-GAJ-AX
Description
8BIT MCU, 128K FLASH, 7K RAM, LQFP
Manufacturer
NEC
Datasheet

Specifications of UPD78F0890GK(A)-GAJ-AX

Controller Family/series
UPD78F
No. Of I/o's
55
Ram Memory Size
7KB
Cpu Speed
20MHz
No. Of Timers
10
No. Of Pwm
RoHS Compliant
Core Size
8bit
Program Memory Size
128KB
Oscillator Type
External, Internal
7.4.3 Pulse width measurement operations
counter 0n (TM0n).
restarting the timer in synchronization with the edge of the signal input to the TI00n pin.
the necessary pulse width. Clear the overflow flag after checking it.
prescaler mode register 0n (PRM0n) and the valid level of the TI00n or TI01n pin is detected twice, thus eliminating
noise with a short pulse width.
198
It is possible to measure the pulse width of the signals input to the TI00n pin and TI01n pin using 16-bit timer
There are two measurement methods: measuring with TM0n used in free-running mode, and measuring by
When an interrupt occurs, read the valid value of the capture register, check the overflow flag, and then calculate
The capture operation is not performed until the signal pulse width is sampled in the count clock cycle selected by
The basic operation setting procedure is as follows.
<1> Set the CRC0n register (see Figures 7-35, 7-38, 7-40, and 7-42 for the set value).
<2> Set the count clock by using the PRM0n register.
<3> Set the TMC0n register to start the operation (see Figures 7-35, 7-38, 7-40, and 7-42 for the set value).
Setting
Caution To use two capture registers, set the TI00n and TI01n pins.
Remarks 1. For the setting of the TI00n (or TI01n) pin, see 7.3 (5) Port mode register 0 (PM0) to (7) Port
Rising edge detection
2. For how to enable the INTTM00n (or INTTM01n) interrupt, see CHAPTER 17
3. n = 0 to 3
mode register 13 (PM13).
FUNCTIONS.
Count clock
INTTM01n
Figure 7-34. CR01n Capture Operation with Rising Edge Specified
CR01n
TM0n
TI00n
CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 TO 03
N
3
User’s Manual U17554EJ4V0UD
N
2
N
1
N
N
N + 1
INTERRUPT

Related parts for UPD78F0890GK(A)-GAJ-AX