参数资料
型号: HD404629R
英文描述: HMCS400 Series Application Notes/Q&A
中文描述: HMCS400系列应用笔记/ Q首页
文件页数: 98/215页
文件大小: 808K
代理商: HD404629R
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页当前第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页第213页第214页第215页
Rev. 1.0, 03/99, page 93 of 209
d. The R2 port in the H4344/H4889 and the R8 port in the H4318/H4359/H4369 are 4-bit I/O
ports. Both R2 and R8 are capable of 4-bit input using the LAR and LBR commands, and
4-bit output using the LRA and LRB commands. The output data is stored in the PDR of
the respective pins.
In this example task, the R2
0
to R2
3
pins in the H4344/H4889 Series and the R8
0
to R8
3
pins
in the H4318/H4359/H4369 Series are set for output and used to output pulses to the
stepping motor.
Table 3 describes the functions of the R2 port in the H4344/H4889 and the R8 port in the
H4318/H4359/H4369.
Table 3
R2 Port Functions in H4344/H4889 and R8 Port Functions in
H4318/H4359/H4369
Data Control Register R2 (DCR2)
Note: Applies to H4344/H4889 Series
Function
DCR2 switches the I/O pin function of the R2 port. When any bit of DCR2 is cleared
to “0”, the output buffer (CMOS) of the corresponding pin is turned OFF and the
output is set to high impedance. When the respective bit of DCR2 is set to “1”, the
output buffer of the corresponding pin is set ON and the corresponding PDR value is
output.
Data Control Register R8 (DCR8)
Note: Applies to H4318/H4359/H4369 Series
Function
DCR8 switches the I/O pin function of the R8 port. When any bit of DCR8 is cleared
to “0”, the output buffer (CMOS) of the corresponding pin is turned OFF and the
output is set to high impedance. When the respective bit of DCR8 is set to “1”, the
output buffer of the corresponding pin is set ON and the corresponding PDR value is
output.
Port Mode Register 3 (PMR3)
Note: Applies to H4889 Series
Function
PMR3 is a 4-bit write-only register. Bits PMR33 to PMR30 switch the functions of the
R2 port’s dual-function pins.
Port Data Register (PDR)
Function
The I/O pins of the R ports have built-in PDRs to store the output data. When the LRA
and LRB commands are executed, the contents of the accumulator (A) and B register
(B) are transferred to the PDR of the specified R port. When the corresponding bit of
the DCR of the R port is “1”, the output buffer of the appropriate pin is set ON and the
value in the PDR is output via that pin. The PDR is initialized to $F at a reset.
相关PDF资料
PDF描述
HD404638R HMCS400 Series Application Notes/Q&A
HD404638RF 4-Bit Microcontroller
HD404639R HMCS400 Series Application Notes/Q&A
HD404639RF 4-Bit Microcontroller
HD404829R HMCS400 Series Application Notes/Q&A
相关代理商/技术参数
参数描述
HD404629RFS 制造商:未知厂家 制造商全称:未知厂家 功能描述:4-Bit Microcontroller
HD404629RH 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:AS Microcomputer Incorporating a DTMF Generator Circuit
HD404629RSERIES 制造商:未知厂家 制造商全称:未知厂家 功能描述:
HD404629RTF 制造商:未知厂家 制造商全称:未知厂家 功能描述:4-Bit Microcontroller
HD404629TF 制造商:未知厂家 制造商全称:未知厂家 功能描述:4-Bit Microcontroller