| Electronic Components Datasheet Search |
|
HT68F003 Datasheet(PDF) 73 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F003 Datasheet(HTML) 73 Page - Holtek Semiconductor Inc |
|
73 / 119 page ![]() Rev. 1.41 72 April 11, 2017 Rev. 1.41 73 April 11, 2017 HT68F002/HT68F0025/HT68F003 Cost-Effective Flash MCU with EEPROM HT68F002/HT68F0025/HT68F003 Cost-Effective Flash MCU with EEPROM 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 |