參數(shù)資料
型號: UPD78F9212CS-CAB-A
廠商: Renesas Electronics America
文件頁數(shù): 20/175頁
文件大?。?/td> 0K
描述: MCU 8BIT 4KB FLASH 16PIN
標(biāo)準(zhǔn)包裝: 400
系列: 78K0S/Kx1+
核心處理器: 78K0S
芯體尺寸: 8-位
速度: 10MHz
外圍設(shè)備: LVD,POR,PWM,WDT
輸入/輸出數(shù): 13
程序存儲器容量: 4KB(4K x 8)
程序存儲器類型: 閃存
RAM 容量: 128 x 8
電壓 - 電源 (Vcc/Vdd): 2 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 4x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 16-DIP(0.300",7.62mm)
包裝: 托盤
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
User’s Manual U16994EJ6V0UD
114
6.4.4
Square-wave output operation
Setting
The basic operation setting procedure is as follows.
<1>
Set the count clock by using the PRM00 register.
<2>
Set the CRC00 register (see Figure 6-28 for the set value).
<3>
Set the TOC00 register (see Figure 6-28 for the set value).
<4>
Set any value to the CR000 register (0000H cannot be set).
<5>
Set the TMC00 register to start the operation (see Figure 6-28 for the set value).
Caution
Changing the CR000 setting during TM00 operation may cause a malfunction. To change the
setting, refer to 6.5 Cautions Related to 16-bit Timer/Event Counter 00 (17) Changing compare
register during timer operation.
Remarks 1. For the setting of the TO00 pin, see 6.3 (5) Port mode register 2 (PM2) and port mode control
register 2 (PMC2).
2. For how to enable the INTTM000 interrupt, see CHAPTER 10 INTERRUPT FUNCTIONS.
A square wave with any selected frequency can be output at intervals determined by the count value preset to 16-
bit timer capture/compare register 000 (CR000).
The TO00 pin output status is reversed at intervals determined by the count value preset to CR000 + 1 by setting
bit 0 (TOE00) and bit 1 (TOC001) of 16-bit timer output control register 00 (TOC00) to 1. This enables a square wave
with any selected frequency to be output.
Figure 6-28. Control Register Settings in Square-Wave Output Mode (1/2)
(a) Prescaler mode register 00 (PRM00)
ES110
0/1
ES100
0/1
ES010
0/1
ES000
0/1
3
0
2
0
PRM001
0/1
PRM000
0/1
PRM00
Selects count clock.
Setting invalid (setting “10” is prohibited.)
(b) Capture/compare control register 00 (CRC00)
7
0
6
0
5
0
4
0
3
0
CRC002
0/1
CRC001
0/1
CRC000
0
CRC00
CR000 used as compare register
相關(guān)PDF資料
PDF描述
UPD78F9222CS-CAC-A MCU 8BIT 4KB FLASH 20PIN
UPD78F9234CS-CAA-A MCU 8BIT 8KB FLASH 30PIN
UPD78F9418AGC-8BT-A IC MCU 8BIT 32K FLASH 80QFP
USB-232-DIL IC USB ASYNC SRL UART 28-DIL
USB-DAQ-DIL IC SYSTEM DATA LOGGER 28-DIL
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD78F9212FH(T)-2A2-A 制造商:Renesas Electronics Corporation 功能描述:
UPD78F9212FH-2A2-A 制造商:Renesas Electronics Corporation 功能描述:
UPD78F9212FH-2A2-E1-A 制造商:Renesas Electronics Corporation 功能描述:
UPD78F9212GR(T)-JJG 制造商:Renesas Electronics Corporation 功能描述: 制造商:NEC Electronics Corporation 功能描述: 制造商:NEC Electronics Corporation 功能描述:8-BIT, FLASH, 10 MHz, MICROCONTROLLER, PDSO16
UPD78F9212GR(T)-JJG-A 制造商:NEC Electronics Corporation 功能描述:8BIT MCU 4K FLASH 128B RAM 78F9212