欢迎访问ic37.com |
会员登录 免费注册
发布采购

M37754S4CGP 参数 Datasheet PDF下载

M37754S4CGP图片预览
型号: M37754S4CGP
PDF下载: 下载PDF文件 查看货源
内容描述: 单芯片16位CMOS微机 [SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER]
分类和应用: 微控制器和处理器外围集成电路计算机时钟
文件页数/大小: 115 页 / 1558 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号M37754S4CGP的Datasheet PDF文件第20页浏览型号M37754S4CGP的Datasheet PDF文件第21页浏览型号M37754S4CGP的Datasheet PDF文件第22页浏览型号M37754S4CGP的Datasheet PDF文件第23页浏览型号M37754S4CGP的Datasheet PDF文件第25页浏览型号M37754S4CGP的Datasheet PDF文件第26页浏览型号M37754S4CGP的Datasheet PDF文件第27页浏览型号M37754S4CGP的Datasheet PDF文件第28页  
MITSUBISHI MICROCOMPUTERS  
M37754M8C-XXXGP, M37754M8C-XXXHP  
M37754S4CGP, M37754S4CHP  
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER  
TIMER  
(1) Timer mode [00]  
There are eight 16-bit timers. They are divided by type into timer A(5)  
Figure 18 shows the bit configuration of the timer Ai mode register  
during timer mode. Bits 0 and 1 of the timer Ai mode register must be  
“0” in timer mode. Bits 3, 4, and 5 are used to select the gate func-  
tion. Bits 4 and 5 must be “0” when not selecting the gate function.  
Bit 3 is ignored if bit 4 is “0”.  
and timer B(3).  
The timer I/O pins are multiplexed with I/O pins for port P5 and P6.  
To use these pins as timer input pins, the data direction register bit  
corresponding to the pin must be cleared to “0” to specify input mode.  
Bits 6 and 7 are used to select the timer counter source.  
The counting of the selected clock starts when the count start bit is  
“1” and stops when it is “0”.  
TIMER A  
Figure 17 shows a block diagram of timer A.  
Figure 19 shows the bit configuration of the count start bit. The  
counter is decremented, an interrupt is caused and the interrupt re-  
quest bit in the timer Ai interrupt control register is set when the con-  
tents becomes 000016. At the same time, the contents of the reload  
register is transferred to the counter and count is continued.  
When data is written to timer Ai register with timer Ai halted, the same  
data is also written to the rregister and the counter. When data  
is written to timer Ai whthe data is written to the reload  
register, but not to the new data is reloaded from the re-  
load register to ththe next reload time and counting con-  
tinues. The cocounter can be read at any time.  
When the he timer Ai register is n, the timer frequency  
dividin+1).  
Timer A has four modes: timer mode, event counter mode, one-shot  
pulse mode, and pulse width modulation mode. The mode is se-  
lected with bits 0 and 1 of the timerAi mode register (i = 0 to 4). Each  
of these modes is described below.  
Data bus (odd)  
Data bus (even)  
(Lower 8 bits)  
(Higher 8 bits)  
Clock source selection  
• Timer  
Pf  
2
• One-shot  
Reload register(16)  
• Pulse wid
Pf16  
Pf64  
ion)  
ounter  
Pf512  
Counter(16)  
A
ddresses  
Up/Down  
Polarity  
selection  
Count start bit  
(4016  
Down count  
Always decremented  
except in event count mode  
Timer A0 4716 4616  
Timer A1 4916 4816  
Timer A2 4B16 4A16  
Timer A3 4D16 4C16  
Timer A4 4F16 4E16  
TAiIN  
(i = 0–4)  
)
External trigger  
Up-down bit  
(4416  
)
Pulse output  
Toggle flip-flop  
TAiOUT  
(i = 0–4)  
Note: Perform write and read to/from timer Ai register in the condition of 16-bit data length : data length flag (m) = “0”.  
Fig. 17 Block diagram of timer A  
23  
 复制成功!