| поискавой системы для электроныых деталей |
|
HT45F4MA датащи(PDF) 65 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4MA датащи(HTML) 65 Page - Holtek Semiconductor Inc |
|
65 / 145 page ![]() Rev. 1.20 �� De�e��e� 1�� 201� Rev. 1.20 �5 De�e��e� 1�� 201� HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU TM0C1 Register Bit 7 6 5 4 3 2 1 0 Na�e T0M1 T0M0 T0IO1 T0IO0 T0OC T0POL T0DPX T0CCLR 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~6 T0M1~T0M0:SelectTM0OperatingMode 00:CompareMatchOutputMode 01:CaptureInputMode 10:PWMModeorSinglePulseOutputMode 11:Timer/CounterMode ThesebitssetuptherequiredoperatingmodefortheTM.Toensurereliableoperation theTMshouldbeswitchedoffbeforeanychangesaremadetothebits.IntheTimer/ CounterMode,theTMoutputpincontrolmustbedisabled. Bit5~4 T0IO1~T0IO0:SelectTM0outputfunction CompareMatchOutputMode 00:Nochange 01:Outputlow 10:Outputhigh 11:Toggleoutput PWMMode/SinglePulseOutputMode 00:Forceinactivestate 01:Forceactivestate 10:PWMoutput 11:Singlepulseoutput CaptureInputMode 00:InputcaptureatrisingedgeofTMcaptureinputpin 01:InputcaptureatfallingedgeofTMcaptureinputpin 10:Inputcaptureatfalling/risingedgeofTMcaptureinputpin 11:Inputcapturedisabled Timer/counterMode Unused ThesetwobitsareusedtodeterminehowtheTMoutputpinchangesstatewhena certainconditionisreached.Thefunctionthatthesebitsselectdependsuponinwhich modetheTMisrunning. IntheCompareMatchOutputMode,theT0IO1~T0IO0bitsdeterminehowtheTM outputpinchangesstatewhenacomparematchoccursfromtheComparatorA.The TMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresentstate whenacomparematchoccursfromtheComparatorA.WhentheT0IO1~T0IO0 bits arebothzero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheTM outputpinshouldbesetupusingtheT0OCbit.Notethattheoutputlevelrequestedby theT0IO1~T0IO0bitsmustbedifferentfromtheinitialvaluesetupusingtheT0OC bitotherwisenochangewilloccurontheTMoutputpinwhenacomparematch occurs.AftertheTMoutputpinchangesstateitcanberesettoitsinitiallevelby changingtheleveloftheT0ONbitfromlowtohigh. InthePWMMode,theT0IO1andT0IO0bitsdeterminehowtheTMoutputpin changesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytochangethevalues oftheT0IO1andT0IO0bitsonlyaftertheTMhasbeenswitchedoff.Unpredictable PWMoutputswilloccuriftheT0IO1andT0IO0bitsarechangedwhentheTMis running. |
|
ссылки 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 |