| поискавой системы для электроныых деталей |
|
HT45F5R датащи(PDF) 80 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5R датащи(HTML) 80 Page - Holtek Semiconductor Inc |
|
80 / 138 page ![]() Rev. 1.10 80 De�e��e� 1�� �01� Rev. 1.10 81 De�e��e� 1�� �01� HT45F5R Charger ASSP Flash MCU HT45F5R Charger ASSP Flash MCU Bit5~4 PTnIO1~PTnIO0:SelectPTMnfunction Comparematchoutputmode 00:Nochange 01:Outputlow 10:Outputhigh 11:Toggleoutput PWMoutputmode/singlepulseoutputmode 00:PWMoutputinactivestate 01:PWMoutputactivestate 10:PWMoutput 11:Singlepulseoutput Captureinputmode 00:InputcaptureatrisingedgeofPTPnIorPTCKn 01:InputcaptureatfallingedgeofPTPnIorPTCKn 10:Inputcaptureatfalling/risingedgeofPTPnIorPTCKn 11:Inputcapturedisabled Timer/Countermode Unused ThesetwobitsareusedtodeterminehowthePTMnoutputpinchangesstatewhena certainconditionisreached.Thefunctionthatthesebitsselectdependsuponinwhich modethePTMnisrunning. IntheCompareMatchOutputMode,thePTnIO1andPTnIO0bitsdeterminehowthe PTMnoutputpinchangesstatewhenacomparematchoccursfromtheComparatorA. ThePTMnoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueofthePTMnoutput pinshouldbesetupusingthePTnOCbitinthePTMnC1register.Notethattheoutput levelrequestedbythePTnIO1andPTnIO0bitsmustbedifferentfromtheinitialvalue setupusingthePTnOCbitotherwisenochangewilloccuronthePTMnoutputpin whenacomparematchoccurs.AfterthePTMnoutputpinchangesstate,itcanbereset toitsinitiallevelbychangingthelevelofthePTnONbitfromlowtohigh. InthePWMMode,thePTnIO1andPTnIO0bitsdeterminehowthePTMnoutput pinchangesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytoonlychangethe valuesofthePTnIO1andPTnIO0bitsonlyaftertheTMhasbeenswitchedoff. UnpredictablePWMoutputswilloccurifthePTnIO1andPTnIO0bitsarechanged whenthePTMnisrunning. Bit3 PTnOC:PTPnoutputcontrolbit Comparematchoutputmode 0:Initiallow 1:Initialhigh PWMoutputmode/singlepulseoutputmode 0:Activelow 1:Activehigh ThisistheoutputcontrolbitforthePTMnoutputpin.Itsoperationdependsupon whetherPTMnisbeingusedintheCompareMatchOutputModeorinthePWM Mode/SinglePulseOutputMode.IthasnoeffectifthePTMnisintheTimer/Counter Mode.IntheCompareMatchOutputModeitdeterminesthelogiclevelofthePTMn outputpinbeforeacomparematchoccurs.InthePWMModeitdeterminesifthe PWMsignalisactivehighoractivelow. Bit2 PTnPOL:PTPnoutputpolaritycontrol 0:Non-invert 1:Invert ThisbitcontrolsthepolarityofthePTPnoutputpin.Whenthebitissethighthe PTMnoutputpinwillbeinvertedandnotinvertedwhenthebitiszero.Ithasnoeffect ifthePTMnisintheTimer/CounterMode. |
|
ссылки 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 |