UPD78F9222MC(T)-5A4-A NEC, UPD78F9222MC(T)-5A4-A Datasheet - Page 122
![8BIT MCU, 4K FLASH, 256B RAM, 78F9222](/photos/19/3/190342/42268256_sml.jpg)
UPD78F9222MC(T)-5A4-A
Manufacturer Part Number
UPD78F9222MC(T)-5A4-A
Description
8BIT MCU, 4K FLASH, 256B RAM, 78F9222
Manufacturer
NEC
Datasheet
1.UPD78F9222MCT-5A4-A.pdf
(414 pages)
Specifications of UPD78F9222MC(T)-5A4-A
Controller Family/series
UPD78
No. Of I/o's
17
Ram Memory Size
256Byte
Cpu Speed
10MHz
No. Of Timers
4
No. Of
RoHS Compliant
Core Size
8bit
Program Memory Size
4KB
Oscillator Type
External, Internal
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
UPD78F9222MC(T)-5A4-A
Manufacturer:
NEC
Quantity:
1 000
Company:
Part Number:
UPD78F9222MC(T)-5A4-A
Manufacturer:
NEC/PBF
Quantity:
6 640
Part Number:
UPD78F9222MC(T)-5A4-A
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
- Current page: 122 of 414
- Download datasheet (4Mb)
122
(17) Changing compare register during timer operation
<1> With the 16-bit timer capture/compare register 0n0 (CR0n0) used as a compare register, when changing
<2> If CR010 is changed during timer counting without performing processing <1> above, the value in
CR0n0 around the timing of a match between 16-bit timer counter 00 (TM00) and 16-bit timer
capture/compare register 0n0 (CR0n0) during timer counting, the change timing may conflict with the
timing of the match, so the operation is not guaranteed in such cases. To change CR0n0 during timer
counting, INTTM000 interrupt servicing performs the following operation.
<Changing cycle (CR000)>
1. Disable the timer output inversion operation at the match between TM00 and CR000 (TOC001 = 0).
2. Disable the INTTM000 interrupt (TMMK000 = 1).
3. Rewrite CR000.
4. Wait for 1 cycle of the TM00 count clock.
5. Enable the timer output inversion operation at the match between TM00 and CR000 (TOC001 = 1).
6. Clear the interrupt request flag of INTTM000 (TMIF000 = 0).
7. Enable the INTTM000 interrupt (TMMK000 = 0).
<Changing duty (CR010)>
1. Disable the timer output inversion operation at the match between TM00 and CR010 (TOC004 = 0).
2. Disable the INTTM000 interrupt (TMMK000 = 1).
3. Rewrite CR010.
4. Wait for 1 cycle of the TM00 count clock.
5. Enable the timer output inversion operation at the match between TM00 and CR010 (TOC004 = 1).
6. Clear the interrupt request flag of INTTM000 (TMIF000 = 0).
7. Enable the INTTM000 interrupt (TMMK000 = 0).
While interrupts and timer output inversion are disabled (1 to 4 above), timer counting is continued. If
the value to be set in CR0n0 is small, the value of TM00 may exceed CR0n0. Therefore, set the value,
considering the time lapse of the timer clock and CPU clock after an INTTM000 interrupt has been
generated.
Remark n = 0, 1
CR010 may be rewritten twice or more, causing an inversion of the output level of the TO00 pin at each
rewrite.
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
User’s Manual U16898EJ5V0UD
Related parts for UPD78F9222MC(T)-5A4-A
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![UPD70325L-8](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
16/8 bit single-chip microcomputer
Manufacturer:
NEC
Datasheet:
![UPC1316C](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
Dual audio power amp circuit
Manufacturer:
NEC
Datasheet:
![UPC393C](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
Dual comparator
Manufacturer:
NEC
Datasheet:
![UPA572T](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
MOS type composite field effect transistor
Manufacturer:
NEC
Datasheet:
![UPA672T](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
50 V/100 mA FET array incorporating 2 N-ch MOSFETs
Manufacturer:
NEC
Datasheet:
![UPA802T](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
![UPA803T](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
![UPA805T](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
![UPA807T](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
![UPA836TF](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
Twin transistors equipped with different model chips(6P small MM)
Manufacturer:
NEC
Datasheet:
![UPC1676G](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
Bipolar analog integrated circuit
Manufacturer:
NEC
Datasheet: