参数资料
型号: M306NAMCV-XXXFP
元件分类: 微控制器/微处理器
英文描述: 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP100
封装: 14 X 20 MM, 0.65 MM PITCH, PLASTIC, QFP-100
文件页数: 290/295页
文件大小: 3365K
代理商: M306NAMCV-XXXFP
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页第213页第214页第215页第216页第217页第218页第219页第220页第221页第222页第223页第224页第225页第226页第227页第228页第229页第230页第231页第232页第233页第234页第235页第236页第237页第238页第239页第240页第241页第242页第243页第244页第245页第246页第247页第248页第249页第250页第251页第252页第253页第254页第255页第256页第257页第258页第259页第260页第261页第262页第263页第264页第265页第266页第267页第268页第269页第270页第271页第272页第273页第274页第275页第276页第277页第278页第279页第280页第281页第282页第283页第284页第285页第286页第287页第288页第289页当前第290页第291页第292页第293页第294页第295页
Mitsubishi microcomputers
M16C / 6N0 / 6N1 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
93
Figure 1.14.8. Timer Ai mode register in event counter mode
(2) Event counter mode
In this mode, the timer counts an external signal or an internal timer's overflow. Timers A0 and A1 can
count a single-phase external signal. Timers A2, A3, and A4 can count a single-phase and a two-phase
external signal. Table 1.14.2 lists timer specifications when counting a single-phase external signal.
Figure 1.14.8 shows the timer Ai mode register in event counter mode.
Table 1.14.2 lists timer specifications when counting a two-phase external signal. Figure 1.14.9 shows
the timer Ai mode register in event counter mode.
Item
Specification
Count source
External signals input to TAiIN pin (effective edge can be selected by software)
TB2 overflow, TAj overflow
Up count or down count can be selected by external signal or software
When the timer overflows or underflows, it reloads the reload register con
tents before continuing counting (Note)
Divide ratio
1/ (FFFF16 - n + 1) for up count
1/ (n + 1) for down count
n : Set value
Count start condition
Count stop condition
Count start flag is set (= "1")
Count start flag is reset (= "0")
Interrupt request
generation timing
The timer overflows or underflows
TAiIN pin function
TAiOUT pin function
Programmable I/O port or count source input
Programmable I/O port, pulse output, or up/down count select input
Read from timer
Count value can be read out by reading timer Ai register
When counting stopped
When a value is written to timer Ai register, it is written to both reload register and counter
When counting in progress
When a value is written to timer Ai register, it is written to only reload register
(Transferred to counter at next reload time)
Free-run count function
Count operation
Write to timer
Select function
Even when the timer overflows or underflows, the reload register content is not reloaded to it
Pulse output function
Each time the timer overflows or underflows, the TAiOUT
pin’s polarity is reversed
Note: This does not apply when the free-run function is selected.
Timer Ai mode register
(When not using two-phase pulse signal processing)
Symbol
Address
When reset
TAiMR(i = 0, 1)
039616, 039716
0016
W
R
b7
b6
b5
b4
b3
b2
b1
b0
Operation mode select bit
0 1 : Event counter mode (Note 1)
b1 b0
TMOD0
MR0
Pulse output function
select bit
0 : Pulse is not output
(TAiOUT pin is a normal port pin)
1 : Pulse is output (Note 2)
(TAiOUT pin is a pulse output pin)
Count polarity
select bit (Note 3)
MR2
MR1
MR3
0 (Must always be fixed to "0" in event counter mode)
TCK0
Count operation type
select bit
01
0
0 : Counts external signal’s falling edge
1 : Counts external signal’s rising edge
Up/down switching
cause select bit
0 : Up/down flag’s content
1 : TAiOUT pin’s input signal (Note 4)
0 : Reload type
1 : Free-run type
Bit symbol
Bit name
Function
RW
TCK1
Invalid in event counter mode
Can be "0" or "1"
TMOD1
Note 1: In event counter mode, the count source is selected by the event / trigger select
bit (addresses 038216 and 038316).
Note 2: The settings of the corresponding port register and port direction register
are invalid.
Note 3: Valid only when counting an external signal.
Note 4: When an "L" signal is input to the TAiOUT pin, the downcount is activated. When
"H", the upcount is activated. Set the corresponding port direction register to "0".
Timer A
Table 1.14.2. Timer specifications in event counter mode (when not processing two-phase pulse signal)
相关PDF资料
PDF描述
M306NBMCV-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP100
M306NBMCT-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP100
M306NAMCT-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP100
M306NBFCTFP 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP100
M306NKME-XXXGP 16-BIT, MROM, 24 MHz, MICROCONTROLLER, PQFP100
相关代理商/技术参数
参数描述
M306NKFHGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:Renesas MCU
M306NKFHGP#U3 功能描述:IC M16C MCU FLASH 384K 100LQFP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:M16C™ M16C/60/6NK 标准包装:1 系列:AVR® ATmega 核心处理器:AVR 芯体尺寸:8-位 速度:16MHz 连通性:I²C,SPI,UART/USART 外围设备:欠压检测/复位,POR,PWM,WDT 输入/输出数:32 程序存储器容量:32KB(16K x 16) 程序存储器类型:闪存 EEPROM 大小:1K x 8 RAM 容量:2K x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 5.5 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 125°C 封装/外壳:44-TQFP 包装:剪切带 (CT) 其它名称:ATMEGA324P-B15AZCT
M306NKFHTGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:Renesas MCU
M306NKFHVGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:Renesas MCU
M306NKFJGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:Renesas MCU