| поискавой системы для электроныых деталей |
|
HT45F5R датащи(PDF) 82 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5R датащи(HTML) 82 Page - Holtek Semiconductor Inc |
|
82 / 138 page ![]() Rev. 1.10 8� De�e��e� 1�� �01� Rev. 1.10 8� De�e��e� 1�� �01� HT45F5R Charger ASSP Flash MCU HT45F5R Charger ASSP Flash MCU PTMnRPL Register Bit 7 6 5 4 3 2 1 0 Na�e D7 D� D5 D4 D� D� D1 D0 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 0 0 0 0 0 0 0 0 Bit7~0 D7~D0:PTMnCCRPlowbyteregisterbit7~bit0 PTMn10-bitCCRPbit7~bit0 PTMnRPH Register Bit 7 6 5 4 3 2 1 0 Na�e — — — — — — D9 D8 R/W — — — — — — R/W R/W POR — — — — — — 0 0 Bit7~2 Unimplemented,readas"0" Bit1~0 D9~D8:PTMnCCRPhighbyteregisterbit1~bit0 PTMn10-bitCCRPbit9~bit8 Periodic Type TM Operating Modes TheStandardTypeTMcanoperateinoneoffiveoperatingmodes,CompareMatchOutputMode, PWMOutputMode,SinglePulseOutputMode,CaptureInputModeorTimer/CounterMode.The operatingmodeisselectedusingthePTnM1andPTnM0bitsinthePTMnC1register. Compare Output Mode Toselectthismode,bitsPTnM1andPTnM0inthePTMnC1register,shouldbesetto00 respectively.Inthismodeoncethecounterisenabledandrunningitcanbeclearedbythree methods.Theseareacounteroverflow,acomparematchfromComparatorAandacomparematch fromComparatorP.WhenthePTnCCLRbitislow,therearetwowaysinwhichthecountercanbe cleared.OneiswhenacomparematchfromComparatorP,theotheriswhentheCCRPbitsareall zerowhichallowsthecountertooverflow.HerebothPTMnAFandPTMnPFinterruptrequestflags forComparatorAandComparatorPrespectively,willbothbegenerated. IfthePTnCCLRbitinthePTMnC1registerishighthenthecounterwillbeclearedwhenacompare matchoccursfromComparatorA.However,hereonlythePTMnAFinterruptrequestflagwill begeneratedevenifthevalueoftheCCRPbitsislessthanthatoftheCCRAregisters.Therefore whenPTnCCLRishighnoPTMnPFinterruptrequestflagwillbegenerated.IntheCompareMatch OutputMode,theCCRAcannotbeclearedtozero. IftheCCRAbitsareallzero,thecounterwilloverflowwhenitsreachesitsmaximum10-bit,3FF Hex,value,howeverherethePTMnAFinterruptrequestflagwillnotbegenerated. Asthenameofthemodesuggests,afteracomparisonismade,thePTMnoutputpin,willchange state.ThePTMnoutputpinconditionhoweveronlychangesstatewhenaPTMnAFinterruptrequest flagisgeneratedafteracomparematchoccursfromComparatorA.ThePTMnPFinterruptrequest flag,generatedfromacomparematchoccursfromComparatorP,willhavenoeffectonthePTMn outputpin.ThewayinwhichthePTMnoutputpinchangesstatearedeterminedbytheconditionof thePTnIO1andPTnIO0bitsinthePTMnC1register.ThePTMnoutputpincanbeselectedusing thePTnIO1andPTnIO0bitstogohigh,togolowortotogglefromitspresentconditionwhena comparematchoccursfromComparatorA.TheinitialconditionofthePTMnoutputpin,whichis setupafterthePTnONbitchangesfromlowtohigh,issetupusingthePTnOCbit.Notethatifthe PTnIO1andPTnIO0bitsarezerothennopinchangewilltakeplace. |
|
ссылки 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 |