參數(shù)資料
型號: M306H7MG-XXXFP
元件分類: 微控制器/微處理器
英文描述: 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP100
封裝: 14 X 20 MM, 0.65 MM PITCH, PLASTIC, QFP-100
文件頁數(shù): 91/115頁
文件大?。?/td> 3146K
代理商: M306H7MG-XXXFP
Rev.2.10
Oct 25, 2006
Page 77 of 326
REJ03B0152-0210
M306H7MG-XXXFP/MC-XXXFP/FGFP
9.TIMERS
9.1.1
Timer Mode
In timer mode, the timer counts a count source generated internally (see Table 9.1). Figure 9.7 shows TAiMR
register in timer mode.
Table 9.1
Specifications in Timer Mode
Figure 9.7
Timer Ai Mode Register in Timer Mode
Item
Specification
Count source
f1, f2, f8, f32, fC32
Count operation
Down-count
When the timer underflows, it reloads the reload register contents and continues counting
Divide ratio
1/(n+1)
n: set value of TAi register (i= 0 to 4)
000016 to FFFF16
Count start condition
Set TAiS bit of TABSR register to “1” (= start counting)
Count stop condition
Set TAiS bit to “0” (= stop counting)
Interrupt request generation timing
Timer underflow
TAiIN pin function
I/O port or gate input
TAiOUT pin function
I/O port or pulse output
Read from timer
Count value can be read by reading TAi register
Write to timer
When not counting and until the 1st count source is input after counting start
Value written to TAi register is written to both reload register and counter
When counting (after 1st count source input)
Value written to TAi register is written to only reload register
(Transferred to counter when reloaded next)
Select function
Gate function
Counting can be started and stopped by an input signal to TAiIN pin
Pulse output function
Whenever the timer underflows, the output polarity of TAiOUT pin is inverted.
When not counting, the pin outputs a low.
Note 1: TA0OUT pin is N-channel open drain output.
Note 2: The port direction bit for the TAiIN pin must be set to “0” (= input mode).
Timer Ai mode register (i=0 to 4)
Symbol
Address
After reset
TA0MR to TA4MR
039616 to 039A16
0016
Bit name
Function
Bit symbol
RW
b7
b6
b5
b4
b3
b2
b1
b0
Operation mode
select bit
0 0 : Timer mode
b1 b0
TMOD1
TMOD0
MR0
Pulse output function
select bit
0 : Pulse is not output
(TAiOUT pin is a normal port pin)
1 : Pulse is output (Note 1)
(TAiOUT pin is a pulse output pin)
Gate function select bit
0 0 :
Gate function not available
0 1 :
(TAiIN pin functions as I/O port)
1 0 : Counts while input on the TAiIN pin
is low
(Note 2)
1 1 : Counts while input on the TAiIN pin
is high
(Note 2)
b4 b3
MR2
MR1
MR3
Must be set to “0” in timer mode
0 0 : f1 or f2
0 1 : f8
1 0 : f32
1 1 : fC32
b7 b6
TCK1
TCK0
Count source select bit
00
0
RW
相關PDF資料
PDF描述
M306H7MC-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP100
M306NMFHTGP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP128
M306NMFJVGP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP128
M306NKFJVGP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP100
M306NKFHVGP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP100
相關代理商/技術參數(shù)
參數(shù)描述
M306K7F8LRP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M306K9FCLRP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M306K9T2-CPE 功能描述:M-SUPPORT TOOL RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 內(nèi)電路編程器、仿真器以及調(diào)試器 系列:- 產(chǎn)品變化通告:Development Systems Discontinuation 19/Jul/2010 標準包裝:1 系列:* 類型:* 適用于相關產(chǎn)品:* 所含物品:*
M306KAFCLRP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Description
M306N0FG 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER