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

HD64F3337YF16 参数 Datasheet PDF下载

HD64F3337YF16图片预览
型号: HD64F3337YF16
PDF下载: 下载PDF文件 查看货源
内容描述: 单片机 [Single-Chip Microcomputer]
分类和应用: 微控制器和处理器外围集成电路
文件页数/大小: 747 页 / 2993 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号HD64F3337YF16的Datasheet PDF文件第73页浏览型号HD64F3337YF16的Datasheet PDF文件第74页浏览型号HD64F3337YF16的Datasheet PDF文件第75页浏览型号HD64F3337YF16的Datasheet PDF文件第76页浏览型号HD64F3337YF16的Datasheet PDF文件第78页浏览型号HD64F3337YF16的Datasheet PDF文件第79页浏览型号HD64F3337YF16的Datasheet PDF文件第80页浏览型号HD64F3337YF16的Datasheet PDF文件第81页  
Before Execution of BCLR Instruction  
P47  
Input  
Low  
0
P46  
Input  
High  
0
P45  
Output  
Low  
1
P44  
Output  
Low  
1
P43  
Output  
Low  
1
P42  
Output  
Low  
1
P41  
Output  
Low  
1
P40  
Output  
Low  
1
Input/output  
Pin state  
DDR  
DR  
1
0
0
0
0
0
0
0
Execution of BCLR Instruction  
BCLR #0, @P4DDR ; Clear bit 0 in data direction register  
After Execution of BCLR Instruction  
P47  
Output  
Low  
1
P46  
Output  
High  
1
P45  
Output  
Low  
1
P44  
Output  
Low  
1
P43  
Output  
Low  
1
P42  
Output  
Low  
1
P41  
Output  
Low  
1
P40  
Input  
High  
0
Input/output  
Pin state  
DDR  
DR  
1
0
0
0
0
0
0
0
Explanation: To execute the BCLR instruction, the CPU begins by reading P4DDR. Since  
P4DDR is a write-only register, it is read as H'FF, even though its true value is H'3F.  
Next the CPU clears bit 0 of the read data, changing the value to H'FE.  
Finally, the CPU writes this value (H'FE) back to P4DDR to complete the BCLR instruction.  
As a result, P40DDR is cleared to 0, making P40 an input pin. In addition, P47DDR and P46DDR  
are set to 1, making P47 and P46 output pins.  
47  
 复制成功!