| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT45F4N bảng dữ liệu(PDF) 93 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4N bảng dữ liệu(HTML) 93 Page - Holtek Semiconductor Inc |
|
93 / 170 page ![]() Rev. 1.30 9� De�e��e� 1�� �01� Rev. 1.30 93 De�e��e� 1�� �01� HT45F4N/HT45FH4N Power Bank Flash MCU HT45F4N/HT45FH4N Power Bank Flash MCU IntheCompareMatchOutputMode,theTnIO1andTnIO0bitsdeterminehowthe TMoutputpinchangesstatewhenacomparematchoccursfromtheComparatorA. TheTMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresentstate whenacomparematchoccursfromtheComparatorA.Whenthesebitsarebothzero, thennochangewilltakeplaceontheoutput.TheinitialvalueoftheTMoutputpin shouldbesetupusingtheTnOCbit.NotethattheoutputlevelrequestedbytheTnIO1 andTnIO0bitsmustbedifferentfromtheinitialvaluesetupusingtheTnOCbit otherwisenochangewilloccurontheTMoutputpinwhenacomparematchoccurs. AftertheTMoutputpinchangesstateitcanberesettoitsinitiallevelbychangingthe leveloftheTnONbitfromlowtohigh. InthePWMMode,theTnIO1andTnIO0bitsdeterminehowtheTMoutputpin changesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytochangethevalues oftheTnIO1andTnIO0bitsonlyaftertheTMhasbeenswitchedoff.Unpredictable PWMoutputswilloccuriftheTnIO1andTnIO0bitsarechangedwhentheTMis running. Bit3 TnOC:TPn_0,TPn_1Outputcontrolbit CompareMatchOutputMode 0:initiallow 1:initialhigh PWMMode/SinglePulseOutputMode 0:Activelow 1:Activehigh ThisistheoutputcontrolbitfortheTMoutputpin.Itsoperationdependsupon whetherTMisbeingusedintheCompareMatchOutputModeorinthePWMMode/ SinglePulseOutputMode.IthasnoeffectiftheTMisintheTimer/CounterMode.In theCompareMatchOutputModeitdeterminesthelogicleveloftheTMoutputpin beforeacomparematchoccurs.InthePWMModeitdeterminesifthePWMsignalis activehighoractivelow. Bit2 TnPOL:TPn_0,TPn_1OutputpolarityControl 0:non-invert 1:invert ThisbitcontrolsthepolarityoftheTPn_0,TPn_1outputpin.Whenthebitissethigh theTMoutputpinwillbeinvertedandnotinvertedwhenthebitiszero.Ithasno effectiftheTMisintheTimer/CounterMode. Bit1 TnCAPTS:TMncapturetriggersourceselect 0:FromTPn_0,TPn_1pin 1:FromTCKnpin Bit0 TnCCLR:SelectTMnCounterclearcondition 0:TMnComparatrorPmatch 1:TMnComparatrorAmatch Thisbitisusedtoselectthemethodwhichclearsthecounter.Rememberthatthe PeriodicTMcontainstwocomparators,ComparatorAandComparatorP,eitherof whichcanbeselectedtocleartheinternalcounter.WiththeTnCCLRbitsethigh, thecounterwillbeclearedwhenacomparematchoccursfromtheComparatorA. Whenthebitislow,thecounterwillbeclearedwhenacomparematchoccursfrom theComparatorPorwithacounteroverflow.Acounteroverflowclearingmethodcan onlybeimplementediftheCCRPbitsareallclearedtozero.TheTnCCLRbitisnot usedinthePWM,SinglePulseorInputCaptureMode. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |