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

7906 参数 Datasheet PDF下载

7906图片预览
型号: 7906
PDF下载: 下载PDF文件 查看货源
内容描述: 16位单片机 [16-BIT SINGLE-CHIP MICROCOMPUTER]
分类和应用: 计算机
文件页数/大小: 531 页 / 3056 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号7906的Datasheet PDF文件第214页浏览型号7906的Datasheet PDF文件第215页浏览型号7906的Datasheet PDF文件第216页浏览型号7906的Datasheet PDF文件第217页浏览型号7906的Datasheet PDF文件第219页浏览型号7906的Datasheet PDF文件第220页浏览型号7906的Datasheet PDF文件第221页浏览型号7906的Datasheet PDF文件第222页  
THREE-PHASE WAVEFORM MODE  
10.2 Block description  
10.2.6 Port P5 direction register  
The position-data input pins are multiplexed with port P5 pin.  
When using these pins as position-data-input pins, clear the corresponding bits of the port P5 direction  
register to “0” in order to set these port pins for the input mode.  
Figure 10.2.9 shows the relationship between the port P5 direction register and position-data-input pins.  
b7 b6 b5 b4 b3 b2 b1 b0  
Port P5 direction register (Address D16)  
Bit  
Corresponding pin  
Functions  
At reset R/W  
Undefined  
4 to 0 Nothing is assigned.  
0 : Input mode  
1 : Output mode  
0
0
0
5
6
7
Pin IDW (Pin INT5/TB0IN)  
Pin IDV (Pin INT6/TB1IN)  
Pin IDU (Pin INT7/TB2IN)  
RW  
RW  
RW  
When using this pin as a position-data input pin,  
be sure to clear the corresponding bit to “0.”  
Note: The pins in ( ) are I/O pins of other internal peripheral devices, which are multiplexed.  
Fig. 10.2.9 Relationship between port P5 direction register and position-data-input pins  
10.2.7 Timers A0 through A2  
Each of timers A0 through A2 is used to control the output width of each phase, and these timers are used  
in the one-shot pulse mode.  
Figure 10.2.10 shows the structure of timer A0/A1/A2 mode register (in the three-phase waveform mode).  
Because the underflow signal of timer A3 serves as a trigger for timers A0 through A3, it is unnecessary  
to set the one-shot start bit to “1.”  
Note that, in three-phase mode 1, each of timers A0 through A2 has the following two registers: timer A0/  
A1/A2 register (addresses 4616 and 4716, 4816 and 4916, 4A16 and 4B16) and timer A0  
1
/A1  
1
/A2 register  
1
(addresses D016 and D116, D216 and D316, D416 and D516). These two registers are used to control the output  
width.  
Figure 10.2.11 shows the structures of the timer A0/A1/A2 mode register and timer A0  
1
/A1  
1
/A2 register.  
1
b7 b6 b5 b4 b3 b2 b1 b0  
Timer A0/A1/A2 mode register (Addresses 5616 to 5816)  
0 1 1 0 1 0  
Bit  
0
Bit name  
Function  
At reset R/W  
Fix these bits to “0110102” in the three-phase waveform mode.  
0
0
0
0
0
0
0
0
RW  
RW  
RW  
RW  
RW  
RW  
RW  
RW  
1
2
3
4
5
Count source select bits  
See Table 7.2.3.  
6
7
Fig. 10.2.10 Structure of timer A0/A1/A2 mode register (three-phase waveform mode)  
7906 Group User’s Manual Rev.2.0  
10-13  
 复制成功!