| Electronic Components Datasheet Search |
|
HT66F007 Datasheet(PDF) 63 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F007 Datasheet(HTML) 63 Page - Holtek Semiconductor Inc |
|
63 / 131 page ![]() Rev. 1.41 62 April 11, 2017 Rev. 1.41 63 April 11, 2017 HT66F007/HT66F008 Cost-Effective A/D Flash MCU with EEPROM HT66F007/HT66F008 Cost-Effective A/D Flash MCU with EEPROM Programming Considerations TheTMCounterRegistersandtheCompareCCRAregister,beingeither10-bitor16-bit,allhavea lowandhighbytestructure.Thehighbytescanbedirectlyaccessed,butasthelowbytescanonly beaccessedviaaninternal8-bitbuffer,readingorwritingtotheseregisterpairsmustbecarriedout inaspecificway.Theimportantpointtonoteisthatdatatransfertoandfromthe8-bitbufferand itsrelatedlowbyteonlytakesplacewhenawriteorreadoperationtoitscorrespondinghighbyteis executed. AstheCCRAregisterisimplementedinthewayshowninthefollowingdiagramandaccessing thisregisteriscarriedoutinaspecificwaydescribedabove,itisrecommendedtousethe“MOV” instructiontoaccesstheCCRAlowbyteregister,namedTMxAL,inthefollowingaccess procedures.AccessingtheCCRAlowbyteregisterwithoutfollowingtheseaccessprocedureswill resultinunpredictablevalues. Data Bus 8-bit Buffer TMxDH TMxDL TMxAH TMxAL TM Counter Register (Read only) TM CCRA Register (Read/Write) Thefollowingstepsshowthereadandwriteprocedures: • WritingDatatoCCRA ♦ Step1.WritedatatoLowByteTMxAL – notethatheredataisonlywrittentothe8-bitbuffer. ♦ Step2.WritedatatoHighByteTMxAH – heredataiswrittendirectlytothehighbyteregistersandsimultaneouslydataislatched fromthe8-bitbuffertotheLowByteregisters. • ReadingDatafromtheCounterRegistersandCCRA ♦ Step1.ReaddatafromtheHighByteTMxDH,TMxAH – heredataisreaddirectlyfromtheHighByteregistersandsimultaneouslydataislatched fromtheLowByteregisterintothe8-bitbuffer. ♦ Step2.ReaddatafromtheLowByteTMxDL,TMxAL – 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 |