欢迎访问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文件第153页浏览型号7906的Datasheet PDF文件第154页浏览型号7906的Datasheet PDF文件第155页浏览型号7906的Datasheet PDF文件第156页浏览型号7906的Datasheet PDF文件第158页浏览型号7906的Datasheet PDF文件第159页浏览型号7906的Datasheet PDF文件第160页浏览型号7906的Datasheet PDF文件第161页  
TIMER B  
8.2 Block description  
8.2.5 Port P2 direction register, Port P5 direction register  
The input pins of timer Bi are multiplexed with port P5 pins. By using the TB0IN/TB1IN/TB2IN pin select bit  
(see Figure 8.2.5.), pin TB0IN/TB1IN/TB2IN can be allocated to the corresponding port P2 pin.  
When using pins P5  
5
(P2  
4
)/TB0IN, P5  
6
(P2  
5
)/TB1IN, P5  
7
(P2 )/TB2IN as timer Bis input pins, be sure to clear  
6
the corresponding bits of the port direction register, which is multiplexed, to 0in order to set these pins  
to the input mode. (See Figure 8.2.6.)  
b7 b6 b5 b4 b3 b2 b1 b0  
Port P2 pin function control register (Address AE16  
)
0
Function  
Bit  
0
Bit name  
At reset R/W  
0
RW  
Pin TB0IN select bit  
0 : Allocate pin TB0IN to P5  
5
.
.
1 : Allocate pin TB0IN to P2  
4
Pin TB1IN select bit  
Pin TB2IN select bit  
0 : Allocate pin TB1IN to P5  
1 : Allocate pin TB1IN to P2  
6
.
.
1
2
3
0
0
0
RW  
RW  
RW  
5
0 : Allocate pin TB2IN to P5  
1 : Allocate pin TB2IN to P2  
7
.
.
6
Pin INT3/RTPTRG0 select bit  
0: Allocate pin INT  
1: Allocate pin INT  
3
/RTPTRG0 to P7  
/RTPTRG0 to P2  
4
.
.
(Note)  
3
7
6 to 4  
7
Nothing is assigned.  
Undefined  
0
RW  
Fix this bit to 0.”  
Note: When allocating pin INT  
3
/RTPTRG0 to P7  
4
, be sure the D-A output enable bit (bit 1 at address 9616) = 0(output disabled).  
1
Fig. 8.2.5 Structure of port P2 pin function control register  
7906 Group Users Manual Rev.2.0  
8-6