| Electronic Components Datasheet Search |
|
HT45F56 Datasheet(PDF) 62 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F56 Datasheet(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. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |