| поискавой системы для электроныых деталей |
|
HT45F2020 датащи(PDF) 44 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F2020 датащи(HTML) 44 Page - Holtek Semiconductor Inc |
|
44 / 85 page ![]() Rev. 1.00 44 April 11, 2017 Rev. 1.00 45 April 11, 2017 HT45F2020/HT45F2022 Sound Effect Generator Flash MCU HT45F2020/HT45F2022 Sound Effect Generator Flash MCU Programming Considerations TheTMCounterRegistersandtheCapture/CompareCCRAandCCRPregisters,allhavealow andhighbytestructure.Thehighbytescanbedirectlyaccessed,butasthelowbytescanonlybe accessedviaaninternal8-bitbuffer,readingorwritingtotheseregisterpairsmustbecarriedoutin aspecificway.Theimportantpointtonoteisthatdatatransfertoandfromthe8-bitbufferandits relatedlowbyteonlytakesplacewhenawriteorreadoperationtoitscorrespondinghighbyteis executed. AstheCCRAandCCRPregistersareimplementedinthewayshowninthefollowingdiagramand accessingtheseregisterpairsiscarriedoutinaspecificwayasdescribedabove,itisrecommended tousethe“MOV”instructiontoaccesstheCCRAandCCRPlowbyteregisters,namedPTMALand PTMRPL,usingthefollowingaccessprocedures.AccessingtheCCRAorCCRPlowbyteregisters withoutfollowingtheseaccessprocedureswillresultinunpredictablevalues. Data Bus 8-bit Buffer PTMDH PTMDL PTMAH PTMAL PTM Counter Register (Read only) PTM CCRA Register (Read/Write) PTMRPH PTMRPL PTM CCRP Register (Read/Write) Thefollowingstepsshowthereadandwriteprocedures: • WritingDatatoCCRAorCCRP ♦ Step1.WritedatatoLowBytePTMALorPTMRPL – notethatheredataisonlywrittentothe8-bitbuffer. ♦ Step2.WritedatatoHighBytePTMAHorPTMRPH – heredataiswrittendirectlytothehighbyteregistersandsimultaneouslydataislatched fromthe8-bitbuffertotheLowByteregisters. • ReadingDatafromtheCounterRegistersandCCRAorCCRP ♦ Step1.ReaddatafromtheHighBytePTMDH,PTMAHorPTMRPH – heredataisreaddirectlyfromtheHighByteregistersandsimultaneouslydataislatched fromtheLowByteregisterintothe8-bitbuffer. ♦ Step2.ReaddatafromtheLowBytePTMDL,PTMALorPTMRPL – thisstepreadsdatafromthe8-bitbuffer. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |