| Electronic Components Datasheet Search |
|
HT45F2020 Datasheet(PDF) 55 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F2020 Datasheet(HTML) 55 Page - Holtek Semiconductor Inc |
|
55 / 85 page ![]() Rev. 1.00 54 April 11, 2017 Rev. 1.00 55 April 11, 2017 HT45F2020/HT45F2022 Sound Effect Generator Flash MCU HT45F2020/HT45F2022 Sound Effect Generator Flash MCU Single Pulse Output Mode Toselectthismode,bitsPTM1andPTM0inthePTMC1registershouldbesetto10respectively andalsothePTIO1andPTIO0bitsshouldbesetto11respectively.TheSinglePulseOutputMode, asthenamesuggests,willgenerateasingleshotpulseonthePTMoutputpin. ThetriggerforthepulseoutputleadingedgeisalowtohightransitionofthePTONbit,whichcan beimplementedusingtheapplicationprogram.HoweverintheSinglePulseMode,thePTONbit canalsobemadetoautomaticallychangefromlowtohighusingtheexternalPTCKpin,whichwill inturninitiatetheSinglePulseoutput.WhenthePTONbittransitionstoahighlevel,thecounter willstartrunningandthepulseleadingedgewillbegenerated.ThePTONbitshouldremainhigh whenthepulseisinitsactivestate.Thegeneratedpulsetrailingedgewillbegeneratedwhenthe PTONbitisclearedtozero,whichcanbeimplementedusingtheapplicationprogramorwhena comparematchoccursfromComparatorA. HoweveracomparematchfromComparatorAwillalsoautomaticallyclearthePTONbitandthus generatetheSinglePulseoutputtrailingedge.InthiswaytheCCRAvaluecanbeusedtocontrolthe pulsewidth.AcomparematchfromComparatorAwillalsogenerateaPTMinterrupt.Thecounter canonlyberesetbacktozerowhenthePTONbitchangesfromlowtohighwhenthecounter restarts.IntheSinglePulseModeCCRPisnotused.ThePTCCLRisnotusedinthisMode. PTON bit 0 → 1 S/W Command SET“PTON” or PTCK Pin Transition PTON bit 1 → 0 CCRA Trailing Edge S/W Command CLR“PTON” or CCRA Compare Match PTP Output Pin Pulse Width = CCRA Value CCRA Leading Edge Single Pulse Generation |
|
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 |