| Electronic Components Datasheet Search |
|
HT45F5Q Datasheet(PDF) 71 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5Q Datasheet(HTML) 71 Page - Holtek Semiconductor Inc |
|
71 / 114 page ![]() Rev. 1.10 70 De�e��e� 1�� �01� Rev. 1.10 71 De�e��e� 1�� �01� HT45F5Q Charger Flash MCU HT45F5Q Charger Flash MCU HoweveracomparematchfromComparatorAwillalsoautomaticallycleartheST0ONbitandthus generatetheSinglePulseoutputtrailingedge.InthiswaytheCCRAvaluecanbeusedtocontrolthe pulsewidth.AcomparematchfromComparatorAwillalsogenerateaSTMinterrupt.Thecounter canonlyberesetbacktozerowhentheST0ONbitchangesfromlowtohighwhenthecounter restarts.IntheSinglePulseModeCCRPisnotused.TheST0CCLRandST0DPXbitsarenotused inthisMode. Capture Input Mode ToselectthismodebitsST0M1andST0M0intheSTM0C1registershouldbesetto01respectively. Thismodeenablesexternalsignalstocaptureandstorethepresentvalueoftheinternalcounter andcanthereforebeusedforapplicationssuchaspulsewidthmeasurements.Theexternalsignalis suppliedontheSTP0I,whoseactiveedgecanbeeitherarisingedge,afallingedgeorbothrising andfallingedges;theactiveedgetransitiontypeisselectedusingtheST0IO1andST0IO0bitsin theSTM0C1register.ThecounterisstartedwhentheST0ONbitchangesfromlowtohighwhichis initiatedusingtheapplicationprogram. WhentherequirededgetransitionappearsontheSTP0Ithepresentvalueinthecounterwillbe latchedintotheCCRAregistersandaSTMinterruptgenerated.Irrespectiveofwhateventsoccuron theSTP0IthecounterwillcontinuetofreerununtiltheST0ONbitchangesfromhightolow.When aCCRPcomparematchoccursthecounterwillresetbacktozero;inthiswaytheCCRPvalue canbeusedtocontrolthemaximumcountervalue.WhenaCCRPcomparematchoccursfrom ComparatorP,aSTMinterruptwillalsobegenerated.Countingthenumberofoverflowinterrupt signalsfromtheCCRPcanbeausefulmethodinmeasuringlongpulsewidths.TheST0IO1and ST0IO0bitscanselecttheactivetriggeredgeontheSTP0Itobearisingedge,fallingedgeorboth edgetypes.IftheST0IO1andST0IO0bitsarebothsethigh,thennocaptureoperationwilltake placeirrespectiveofwhathappensontheSTP0I,howeveritmustbenotedthatthecounterwill continuetorun. TheST0CCLRandST0DPXbitsarenotusedinthisMode. |
|
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 |