Moteur de recherche de fiches techniques de composants électroniques |
|
HT48R002 Fiches technique(PDF) 37 Page - Holtek Semiconductor Inc |
|
HT48R002 Fiches technique(HTML) 37 Page - Holtek Semiconductor Inc |
37 / 71 page Rev. 1.11 36 April 11, 2017 Rev. 1.11 37 April 11, 2017 HT48R002/HT48R003 Cost-Effective I/O 8-Bit OTP MCU HT48R002/HT48R003 Cost-Effective I/O 8-Bit OTP MCU Wa ke - up f unc ti on M U X Re ad D at a R egi st er Co nt ro l Bi t Da ta B us Wr it e C ont ro l R egi st er Ch ip R es et Re ad C on tr ol R egi st er Wr it e Da ta R eg is te r Da ta B it D Q CK S Q D Q CK S Q PA 7/ RE S S yst em W ak e- up RE S PA7 NMOS Input/Output Port Programming Considerations Withintheuserprogram,oneofthethingsfirsttoconsiderisportinitialization.Afterareset,all oftheI/Odataandportcontrolregisterswillbesettohigh.ThismeansthatallI/Opinswillbe defaultedtoaninputstate,thelevelofwhichdependsontheotherconnectedcircuitryandwhether pull-highselectionshavebeenchosen.Iftheportcontrolregistersarethenprogrammedtosetsome pinsasoutputs,theseoutputpinswillhaveaninitialhighoutputvalueunlesstheassociatedport dataregistersarefirstprogrammed.Selectingwhichpinsareinputsandwhichareoutputscanbe achievedbyte-widebyloadingthecorrectvaluesintotheappropriateportcontrolregisterorby programmingindividualbitsintheportcontrolregisterusingthe“SET[m].i”and“CLR[m].i” instructions.Notethatwhenusingthesebitcontrolinstructions,aread-modify-writeoperationtakes place.Themicrocontrollermustfirstreadinthedataontheentireport,modifyittotherequirednew bitvaluesandthenrewritethisdatabacktotheoutputports. T1 T2 T3 T4 T1 T2 T3 T4 S yst em C lo ck Po rt D at a Re ad f ro m Po rt Wr it e to P or t Read Modify Write Timing PinsPA0~PA2,PA5eachhavewake-upfunctions,selectedviathePAWUregister.Whenthedevice isintheSleepMode,variousmethodsareavailabletowakethedeviceup.Oneoftheseisahighto lowtransitionofanypins.SingleormultiplepinsonPortAcanbesettohavethisfunction. |
Numéro de pièce similaire - HT48R002 |
|
Description similaire - HT48R002 |
|
|
Lien URL |
Politique de confidentialité |
ALLDATASHEET.FR |
ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Echange de liens | Fabricants All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |