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

MPD789871 参数 Datasheet PDF下载

MPD789871图片预览
型号: MPD789871
PDF下载: 下载PDF文件 查看货源
内容描述: 8位单芯片微控制器 [8-Bit Single-Chip Microcontrollers]
分类和应用: 微控制器
文件页数/大小: 321 页 / 1339 K
品牌: NEC [ NEC ]
 浏览型号MPD789871的Datasheet PDF文件第125页浏览型号MPD789871的Datasheet PDF文件第126页浏览型号MPD789871的Datasheet PDF文件第127页浏览型号MPD789871的Datasheet PDF文件第128页浏览型号MPD789871的Datasheet PDF文件第130页浏览型号MPD789871的Datasheet PDF文件第131页浏览型号MPD789871的Datasheet PDF文件第132页浏览型号MPD789871的Datasheet PDF文件第133页  
CHAPTER 6 16-BIT TIMER  
6.5 Notes on Using 16-Bit Timer  
Usable functions differ according to the settings of the count clock selection, CPU clock operation, system clock  
oscillation status, and BZOE90 (bit 0 of buzzer output control register 90 (BZC90)).  
Refer to the following table.  
Count  
Clock  
CPU  
System Clock  
BZOE90  
1/0  
Capture  
TM90  
Read  
Buzzer  
Output  
Timer  
Timer  
Clock  
Output  
Interrupt  
Main System Clock Subsystem Clock  
Note 1  
X/22,  
Main  
Sub  
Oscillating  
Stopped  
Oscillating/Stopped  
×
×
×
×
×
×
×
×
×
×
Note 2  
×
×
×
×
×
×
×
×
×
×
×
×
f
fX/26,  
fX/27  
×
×
×
×
×
×
×
×
×
×
×
×
Oscillating  
Stopped  
Oscillating  
Note 2  
×
×
×
×
×
×
×
fXT  
Main  
Oscillating  
Oscillating  
0
1
Stopped  
1/0  
0
Stopped  
Oscillating  
(STOP mode)  
1
Stopped  
1/0  
0
Sub  
Oscillating  
Stopped  
Oscillating  
1
0
1
Notes 1. TM90 is enabled only when the CPU clock is in high-speed mode.  
2. Output is enabled when BZOE90 = 1.  
Cautions 1. The capture function uses fX/2 for control (refer to Figure 6-1 Block Diagram of 16-Bit  
Timer). Therefore, the capture function cannot be used when the main system clock is  
stopped.  
2. The read function of TM90 uses the CPU clock for control (refer to Figure 6-1), and reads an  
undefined value when the CPU clock is slower than the count clock (values are not  
guaranteed). When reading TM90, set the count clock to the same speed as the CPU clock  
(when the CPU clock is the main system clock, high-speed mode is set), or select a clock  
slower than the CPU clock.  
3. When the subsystem clock is selected as the count clock and BZOE90 is set to 0, the  
subsystem clock selected as the TM90 count clock is one that has been synchronized with  
the main system clock (refer to Figure 6-1). Therefore, when the main system clock  
oscillation is stopped, the timer operation is stopped because the clock supplied to the 16-  
bit timer is stopped (timer interrupt is not generated).  
Moreover, when the subsystem clock is selected as the count clock and BZOE90 is set to 1,  
the capture and TM90 read values are not guaranteed because the subsystem clock is not  
synchronized. Therefore, be sure to set BZOE90 to 0 when using the capture and TM90  
read functions (when the subsystem clock is selected as the count clock, buzzer output,  
capture, and TM90 read functions cannot be used at the same time).  
User’s Manual U15075EJ1V0UM00  
129  
 复制成功!