| Electronic Components Datasheet Search |
|
HT45F65 Datasheet(PDF) 93 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F65 Datasheet(HTML) 93 Page - Holtek Semiconductor Inc |
|
93 / 231 page ![]() Rev. 1.60 9� �ove��e� ��� �01� Rev. 1.60 93 �ove��e� ��� �01� HT45F65/HT45F66/HT45F67 Glucose Meter 8-Bit Flash MCU Programming Considerations TheTMCounterRegistersandtheCapture/CompareCCRAandCCRBregisters,beingeither10- bitor16-bit,allhavealowandhighbytestructure.Thehighbytescanbedirectlyaccessed,butas thelowbytescanonlybeaccessedviaaninternal8-bitbuffer,readingorwritingtotheseregister pairsmustbecarriedoutinaspecificway.Theimportantpointtonoteisthatdatatransfertoand fromthe8-bitbufferanditsrelatedlowbyteonlytakesplacewhenawriteorreadoperationtoits correspondinghighbyteisexecuted. 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 CCRB R eg is te r (R ead/ W ri te ) Da ta Bu s TM xB L TM xB H TM C CR A Re gi st er ( R ead/ W ri te ) Thefollowingstepsshowthereadandwriteprocedures: • WritingDatatoCCRBorCCRA ♦ Step1.WritedatatoLowByteTMxALorTMxBL –Notethatheredataisonlywrittentothe8-bitbuffer. ♦ Step2.WritedatatoHighByteTMxAHorTMxBH –Heredataiswrittendirectlytothehighbyteregistersandsimultaneouslydataislatched fromthe8-bitbuffertotheLowByteregisters. • ReadingDatafromtheCounterRegistersandCCRBorCCRA ♦ Step1.ReaddatafromtheHighByteTMxDH,TMxAHorTMxBH –HeredataisreaddirectlyfromtheHighByteregistersandsimultaneouslydataislatched fromtheLowByteregisterintothe8-bitbuffer. ♦ Step2.ReaddatafromtheLowByteTMxDL,TMxALorTMxBL –Thisstepreadsdatafromthe8-bitbuffer. AstheCCRAandCCRBregistersareimplementedinthewayshowninthefollowingdiagramand accessingtheseregisterpairsiscarriedoutinaspecificwaydescribedabove,itisrecommendedto usethe"MOV"instructiontoaccesstheCCRAandCCRBlowbyteregisters,namedTMxALand TMxBL,usingthefollowingaccessprocedures.AccessingtheCCRAorCCRBlowbyteregisters withoutfollowingtheseaccessprocedureswillresultinunpredictablevalues. |
|
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 |