參數(shù)資料
型號: m789436
廠商: NEC Corp.
元件分類: 8位微控制器
英文描述: 8-Bit Single-Chip Microcontrollers
中文描述: 8位單芯片微控制器
文件頁數(shù): 50/144頁
文件大?。?/td> 1378K
代理商: M789436
CHAPTER 7 8-BIT TIMER
User’s Manual U15075EJ1V0UM00
143
7.4 8-Bit Timer Operation
7.4.1 Operation as 8-bit timer counter
Timer 50 and timer 60 can be independently used as 8-bit timer counters.
The following modes can be used for the 8-bit timer counter.
Interval timer with 8-bit resolution
External event counter with 8-bit resolution (timer 60 only)
Square wave output with 8-bit resolution
(1)
Operation as interval timer with 8-bit resolution
The interval timer with 8-bit resolution repeatedly generates an interrupt at a time interval specified by the
count value preset in 8-bit compare register n0 (CRn0).
To operate 8-bit timer n0 as an interval timer, settings must be made in the following sequence.
<1> Disable operation of 8-bit timer counter n0 (TMn0) (TCEn0 = 0).
<2> Disable timer output of TOn0 (TOEn0 = 0).
<3> Set a count value in CRn0.
<4> Set the operation mode of timer n0 to 8-bit timer counter mode (see Figures 7-4 and 7-5).
<5> Set the count clock for timer n0 (see Tables 7-3 to 7-6).
<6> Enable the operation of TMn0 (TCEn0 = 1).
When the count value of 8-bit timer counter n0 (TMn0) matches the value set in CRn0, TMn0 is cleared to
00H and continues counting. At the same time, an interrupt request signal (INTTMn0) is generated.
Tables 7-3 to 7-6 show interval time, and Figures 7-8 to 7-13 show the timing of the interval timer operation.
Caution
Be sure to stop the timer operation before overwriting the count clock with different data.
Remark
n = 5, 6
相關(guān)PDF資料
PDF描述
m789446 8-Bit Single-Chip Microcontrollers
m789456 8-Bit Single-Chip Microcontrollers
M7A3P1000-1FG144FG144 FPGA, 1000000 GATES, PBGA144
M7A3P1000-1FG144IFG144 FPGA, 1000000 GATES, PBGA144
M7A3P1000-1FG256FG256 FPGA, 1000000 GATES, PBGA256
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M7899-E 制造商:Leviton Manufacturing Co 功能描述:
M7899-HG0 制造商:Leviton Manufacturing Co 功能描述:
M-78B2.5-NZ 制造商:MAKE-PS 制造商全稱:Make-Ps 功能描述:Single Output DC/DC Converter
M-78B3.3-NZ 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Single Output DC/DC Converter,Series M-78B-NZ Up to 9.75 Watt
M-78B5.0-NZ 制造商:MAKE-PS 制造商全稱:Make-Ps 功能描述:Single Output DC/DC Converter