| 전자부품 데이터시트 검색엔진 |
|
HT45F56 데이터시트(PDF) 62 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F56 데이터시트(HTML) 62 Page - Holtek Semiconductor Inc |
|
62 / 90 page ![]() Rev. 1.11 62 April 11, 2017 Rev. 1.11 63 April 11, 2017 HT45F56 Shock Detector Flash MCU HT45F56 Shock Detector Flash MCU Programming Considerations TheTMCounterRegistersandtheCapture/CompareCCRAregisters,allhavealowandhighbyte structure.Thehighbytescanbedirectlyaccessed,butasthelowbytescanonlybeaccessedviaan internal8-bitbuffer,readingorwritingtotheseregisterpairsmustbecarriedoutinaspecificway. Theimportantpointtonoteisthatdatatransfertoandfromthe8-bitbufferanditsrelatedlowbyte onlytakesplacewhenawriteorreadoperationtoitscorrespondinghighbyteisexecuted. AstheCCRAregistersisimplementedinthewayshowninthefollowingdiagramandaccessing theseregisterpairsiscarriedoutinaspecificwayasdescribedabove,itisrecommendedtousethe “MOV”instructiontoaccesstheCCRAlowbyteregisters,namedCTMAL,usingthefollowing accessprocedures.AccessingtheCCRAlowbyteregisterswithoutfollowingtheseaccess procedureswillresultinunpredictablevalues. Data Bus 8-bit Buffer CTMDH CTMDL CTMAH CTMAL CTM Counter Register (Read only) CTM CCRA Register (Read/Write) Thefollowingstepsshowthereadandwriteprocedures: • WritingDatatoCCRA ♦ Step1.WritedatatoLowByteCTMAL – notethatheredataisonlywrittentothe8-bitbuffer. ♦ Step2.WritedatatoHighByteCTMAH – heredataiswrittendirectlytothehighbyteregistersandsimultaneouslydataislatched fromthe8-bitbuffertotheLowByteregisters. • ReadingDatafromtheCounterRegistersandCCRA ♦ Step1.ReaddatafromtheHighByteCTMDHorCTMAH – heredataisreaddirectlyfromtheHighByteregistersandsimultaneouslydataislatched fromtheLowByteregisterintothe8-bitbuffer. ♦ Step2.ReaddatafromtheLowByteCTMDLorCTMAL – 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 |