| Moteur de recherche de fiches techniques de composants électroniques |
|
HT45F56 Fiches technique(PDF) 56 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F56 Fiches technique(HTML) 56 Page - Holtek Semiconductor Inc |
|
56 / 90 page ![]() Rev. 1.11 56 April 11, 2017 Rev. 1.11 57 April 11, 2017 HT45F56 Shock Detector Flash MCU HT45F56 Shock Detector Flash MCU Compact Type TM Operation Modes TheCompactTypeTMcanoperateinoneofthreeoperatingmodes,CompareMatchOutputMode, PWMModeorTimer/CounterMode.TheoperatingmodeisselectedusingtheCTM1andCTM0 bitsintheCTMC1register. Compare Match Output Mode Toselectthismode,bitsCTM1andCTM0intheCTMC1register,shouldbesetto“00” respectively.Inthismodeoncethecounterisenabledandrunningitcanbeclearedbythree methods.Theseareacounteroverflow,acomparematchfromComparatorAandacomparematch fromComparatorP.WhentheCTCCLRbitislow,therearetwowaysinwhichthecountercanbe cleared.OneiswhenacomparematchoccursfromComparatorP,theotheriswhentheCCRPbits areallzerowhichallowsthecountertooverflow.HerebothCTMAFandCTMPFinterruptrequest flagsfortheComparatorAandComparatorPrespectively,willbothbegenerated. IftheCTCCLRbitintheCTMC1registerishighthenthecounterwillbeclearedwhenacompare matchoccursfromComparatorA.However,hereonlytheCTMAFinterruptrequestflagwillbe generatedevenifthevalueoftheCCRPbitsislessthanthatoftheCCRAregisters.Thereforewhen CTCCLRishighnoCTMPFinterruptrequestflagwillbegenerated.IftheCCRAbitsareallzero, thecounterwilloverflowwhenitsreachesitsmaximum10-bit,3FFHex,value,howeverherethe CTMAFinterruptrequestflagwillnotbegenerated. Asthenameofthemodesuggests,afteracomparisonismade,theCTMoutputpinwillchange state.TheCTMoutputpinconditionhoweveronlychangesstatewhenaCTMAFinterruptrequest flagisgeneratedafteracomparematchoccursfromComparatorA.TheCTMPFinterruptrequest flag,generatedfromacomparematchoccursfromComparatorP,willhavenoeffectontheCTM outputpin.ThewayinwhichtheCTMoutputpinchangesstatearedeterminedbytheconditionof theCTIO1andCTIO0bitsintheCTMC1register.TheCTMoutputpincanbeselectedusingthe CTIO1andCTIO0bitstogohigh,togolowortotogglefromitspresentconditionwhenacompare matchoccursfromComparatorA.TheinitialconditionoftheCTMoutputpin,whichissetupafter theCTONbitchangesfromlowtohigh,issetupusingtheCTOCbit.NotethatiftheCTIO1and CTIO0bitsarezerothennopinchangewilltakeplace. |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants 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 |