參數(shù)資料
型號: m789436
廠商: NEC Corp.
元件分類: 8位微控制器
英文描述: 8-Bit Single-Chip Microcontrollers
中文描述: 8位單芯片微控制器
文件頁數(shù): 30/144頁
文件大?。?/td> 1378K
代理商: M789436
CHAPTER 6 16-BIT TIMER
User’s Manual U15075EJ1V0UM00
125
6.4.2 Operation as timer output
Timer outputs are repeatedly generated at the count value preset in 16-bit compare register 90 (CR90) based on
the intervals of the value set in TCL901 and TCL900.
To operate the 16-bit timer as a timer output, the following settings are required.
Set P26 to output mode (PM26 = 0).
Reset output latch of P26 to 0.
Set the count value in CR90.
Set 16-bit timer mode control register 90 (TMC90) as shown in Figure 6-7.
Figure 6-7. Settings of 16-Bit Timer Mode Control Register 90 for Timer Output Operation
0/1
1
0
0/1
1
TOD90 TOF90 CPT901 CPT900 TOC90 TCL901 TCL900 TOE90
TMC90
Setting of count clock (see Table 6-2)
Inverse enable of timer output data
TO90 output enable
Caution
If both the CPT901 flag and CPT900 flag are set to 0, the capture operation is prohibited.
When the count value of 16-bit timer counter 90 (TM90) matches the value set in CR90, the output status of the
TO90/P26 pin is inverted. This enables timer output. At that time, TM90 counting continues and an interrupt request
signal (INTTM90) is generated.
Figure 6-8 shows the timing of timer output (see Table 6-2 for the interval time of the 16-bit timer).
Figure 6-8. Timer Output Timing
Count clock
TM90 count value
CR90
INTTM90
TO90Note
TOF90
0000H
0001H
N
FFFFH 0000H
0001H
N
FFFFH
NN
N
Interrupt
acknowledgement
Interrupt
acknowledgement
Overflow flag set
t
Note
The initial value of TO90 becomes low level when output is enabled (TOE90 = 1).
Remark
N = 0000H to FFFFH
相關(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