參數(shù)資料
型號: UPD78F0397DGF(T)-JBT-A
元件分類: 微控制器/微處理器
英文描述: 8-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP100
封裝: 20 X 14 MM, LEAD FREE, PLASTIC, QFP-100
文件頁數(shù): 59/321頁
文件大?。?/td> 4156K
代理商: UPD78F0397DGF(T)-JBT-A
CHAPTER 7 8-BIT TIMER
User’s Manual U15075EJ1V0UM00
151
(3)
Operation as square-wave output with 8-bit resolution
Square waves of any frequency can be output at an interval specified by the value preset in 8-bit compare
register n0 (CRn0).
To operate timer n0 for square-wave output, settings must be made in the following sequence.
<1> When using timer 50, set P31 to output mode (PM31 = 0).
When using timer 60, set P32 to output mode (PM32 = 0) or set P33 to output mode (PM33 = 0) (When
TO61 is selected as timer output).
<2> Set the output latches of P31, P32, and P33 to 0.
<3> Disable operation of timer counter n0 (TMn0) (TCEn0 = 0).
<4> Set a count clock for timer n0 and enable output of TOn0 (TOEn0 = 1)
Note.
<5> Set a count value in CRn0.
<6> Enable the operation of TMn0 (TCEn0 = 1).
When the count value of TMn0 matches the value set in CRn0, the TOn0 pin output will be inverted.
Through application of this mechanism, square waves of any frequency can be output. As soon as a match
occurs, TMn0 is cleared to 00H and continues counting. At the same time, an interrupt request signal
(INTTMn0) is generated.
The square-wave output is cleared to 0 by setting TCEn0 to 0.
Tables 7-5 and 7-6 show the square-wave output range, and Figure 7-15 shows the timing of square-wave
output.
Note
In the case of timer 60, either TO60 or TO61 can be selected as the timer output pin. If TO61 is
selected, set TOE61 = 1.
Caution
Be sure to stop the timer operation before overwriting the count clock with different data.
Remark
n = 5, 6
Table 7-5. Square-Wave Output Range of Timer 50 (During fX = 5.0 MHz Operation)
TCL502
TCL501
TCL500
Minimum Pulse Width
Maximum Pulse Width
Resolution
000
1/fX (0.2
s)
2
8/fX (51.2
s)
1/fX (0.2
s)
001
2
3/fX (1.6
s)
2
11/fX (409.6
s)
2
3/fX (1.6
s)
010
2
7/fX (25.6
s)
2
15/fX (6.55 ms)
2
7/fX (25.6
s)
011
1/fXT (30.5
s)
2
8/fXT (7.81 ms)
1/fXT (30.5
s)
1
0
Input cycle of timer 60 match
signal
Input cycle of timer 60 match
signal
× 8
Input cycle of timer 60 match
signal
1
0
1
Input cycle of timer 60 output
× 8
Input cycle of timer 60
Remarks 1. fX: Main system clock oscillation frequency
2. fXT: Subsystem clock oscillation frequency
相關(guān)PDF資料
PDF描述
UPD78F0397DGC(T)-8EU-A 8-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP100
UPD78F0534FC(T)-AA1-A 8-BIT, FLASH, 20 MHz, MICROCONTROLLER, PBGA64
UPD78F0535GC(S)-UBS-A 8-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP64
UPD78F0536GC-UBS 8-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP64
UPD78F0537GB(A)-GAH-AX 8-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD78F0397GC(T)-8EA 制造商:Renesas Electronics Corporation 功能描述:
UPD78F0397GC(T)-8EA-A 制造商:Renesas Electronics Corporation 功能描述:
UPD78F0400GA-GAM-AX 功能描述:IC MCU 8BIT 8KB FLASH 48LQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:78K0/Lx3 標(biāo)準(zhǔn)包裝:300 系列:78K0R/Ix3 核心處理器:78K/0R 芯體尺寸:16-位 速度:40MHz 連通性:3 線 SIO,I²C,LIN,UART/USART 外圍設(shè)備:DMA,LVD,POR,PWM,WDT 輸入/輸出數(shù):27 程序存儲器容量:16KB(16K x 8) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:38-SSOP 包裝:托盤
UPD78F0401GA-GAM-AX 功能描述:MCU 8BIT 16K FLASH RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:78K0/Lx3 標(biāo)準(zhǔn)包裝:300 系列:78K0R/Ix3 核心處理器:78K/0R 芯體尺寸:16-位 速度:40MHz 連通性:3 線 SIO,I²C,LIN,UART/USART 外圍設(shè)備:DMA,LVD,POR,PWM,WDT 輸入/輸出數(shù):27 程序存儲器容量:16KB(16K x 8) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:38-SSOP 包裝:托盤
UPD78F0402GA-GAM-AX 功能描述:MCU 8BIT 24K FLASH RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:78K0/Lx3 標(biāo)準(zhǔn)包裝:300 系列:78K0R/Ix3 核心處理器:78K/0R 芯體尺寸:16-位 速度:40MHz 連通性:3 線 SIO,I²C,LIN,UART/USART 外圍設(shè)備:DMA,LVD,POR,PWM,WDT 輸入/輸出數(shù):27 程序存儲器容量:16KB(16K x 8) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:38-SSOP 包裝:托盤