| Electronic Components Datasheet Search |
|
HT66F0187 Datasheet(PDF) 72 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F0187 Datasheet(HTML) 72 Page - Holtek Semiconductor Inc |
|
72 / 192 page ![]() Rev. 1.20 �2 ����st 2�� 201� Rev. 1.20 �3 ����st 2�� 201� HT66F0187 A/D Flash MCU with EEPROM HT66F0187 A/D Flash MCU with EEPROM Programming Considerations TheTMCounterRegistersandtheCapture/CompareCCRAandCCRPregisters,beingeither10-bit or16-bit,allhavealowandhighbytestructure.Thehighbytescanbedirectlyaccessed,butas thelowbytescanonlybeaccessedviaaninternal8-bitbuffer,readingorwritingtotheseregister pairsmustbecarriedoutinaspecificway.Theimportantpointtonoteisthatdatatransfertoand fromthe8-bitbufferanditsrelatedlowbyteonlytakesplacewhenawriteorreadoperationtoits correspondinghighbyteisexecuted. AstheCCRAregisterandPTMCCRPregistersareimplementedinthewayshowninthe followingdiagramandaccessingtheregisteriscarriedoutinaspecificwaydescribedabove,itis recommendedtousethe“MOV”instructiontoaccesstheCCRAorPTMCCRPlowbyteregister, namedxTMnALorPTMRPL,usingthefollowingaccessprocedures.AccessingtheCCRAor PTMCCRPlowbyteregisterwithoutfollowingtheseaccessprocedureswillresultinunpredictable values. Data B�s 8-bit B�ffer xTMnDH xTMnDL PTMRPH PTMRPL xTMn�H xTMn�L TM Co�nter Re�ister (Read only) TM CCR� Re�ister (Read/Write) PTM CCRP Re�ister (Read/Write) Thefollowingstepsshowthereadandwriteprocedures: • WritingDatatoCCRAorPTMCCRP ♦ Step1.WritedatatoLowBytexTMnALorPTMRPL – Notethatheredataisonlywrittentothe8-bitbuffer. ♦ Step2.WritedatatoHighBytexTMnAHorPTMRPH – Heredataiswrittendirectlytothehighbyteregistersandsimultaneouslydataislatched fromthe8-bitbuffertotheLowByteregisters. • ReadingDatafromtheCounterRegistersandCCRAorPTMCCRP ♦ Step1.ReaddatafromtheHighBytexTMnDH,xTMnAHorPTMRPH – HeredataisreaddirectlyfromtheHighByteregistersandsimultaneouslydataislatched fromtheLowByteregisterintothe8-bitbuffer. ♦ Step2.ReaddatafromtheLowBytexTMnDL,xTMnALorPTMRPL – 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 |