| 전자부품 데이터시트 검색엔진 |
|
HT45F4M 데이터시트(PDF) 57 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4M 데이터시트(HTML) 57 Page - Holtek Semiconductor Inc |
|
57 / 138 page ![]() Rev. 1.10 �6 �an�a�� 1�� �01� Rev. 1.10 �7 �an�a�� 1�� �01� HT45F4M Lithium Battery Backup Power ASSP MCU HT45F4M Lithium Battery Backup Power ASSP MCU Programming Considerations TheTMCounterRegisters,theCapture/CompareCCRAregistersandtheTM1CCRPregisters, beingeither16-bitor10-bit,allhavealowandhighbytestructure.Thehighbytescanbedirectly accessed,butasthelowbytescanonlybeaccessedviaaninternal8-bitbuffer,readingorwriting totheseregisterpairsmustbecarriedoutinaspecificway.Theimportantpointtonoteisthat datatransfertoandfromthe8-bitbufferanditsrelatedlowbyteonlytakesplacewhenawrite orreadoperationtoitscorrespondinghighbyteisexecuted.AstheCCRAandCCRPregisters areimplementedinthewayshowninthefollowingdiagramandaccessingtheseregisterpairsis carriedoutinaspecificwaydescribedabove,itisrecommendedtousethe“MOV”instructionto accesstheCCRAorCCRPlowbyteregisters,namedTMxALorTMxRPL,usingthefollowing accessprocedures.AccessingtheCCRAorCCRPlowbyteregisterwithoutfollowingtheseaccess procedureswillresultinunpredictablevalues. TM C ount er R eg is te r (R ead on ly ) TM xD L TM xD H TM xA L TM xA H 8- bi t Bu ff er TM C CR A Re gi st er ( R ead/ W ri te ) Da ta Bu s TM xR PL TM xR PH TM C CR P Re gi st er ( R ead/ W ri te ) Thefollowingstepsshowthereadandwriteprocedures: • WritingDatatoCCRAorCCRP ♦ Step1.WritedatatoLowByteTMxALorTMxRPL –notethatheredataisonlywrittentothe8-bitbuffer. ♦ Step2.WritedatatoHighByteTMxAHorTMxRPH –heredataiswrittendirectlytothehighbyteregistersandsimultaneouslydataislatchedfrom the8-bitbuffertotheLowByteregisters. • ReadingDatafromtheCounterRegistersandCCRAorCCRP ♦ Step1.ReaddatafromtheHighByteTMxDH,TMxAHorTMxRPH –heredataisreaddirectlyfromtheHighByteregistersandsimultaneouslydataislatched fromtheLowByteregisterintothe8-bitbuffer. ♦ Step2.ReaddatafromtheLowByteTMxDL,TMxALorTMxRPL –thisstepreadsdatafromthe8-bitbuffer. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |