| Electronic Components Datasheet Search |
|
HT45F4MA Datasheet(PDF) 81 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4MA Datasheet(HTML) 81 Page - Holtek Semiconductor Inc |
|
81 / 145 page ![]() Rev. 1.20 80 De�e��e� 1�� 201� Rev. 1.20 81 De�e��e� 1�� 201� HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU TM1C1 Register Bit 7 6 5 4 3 2 1 0 Na�e T1M1 T1M0 T1IO1 T1IO0 T1OC T1POL T1CAPTS T1CCLR 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 T1M1~T1M0:SelectTM1OperationMode 00:CompareMatchOutputMode 01:CaptureInputMode 10:PWMModeorSinglePulseOutputMode 11:Timer/CounterMode ThesebitssetuptherequiredoperatingmodefortheTM.Toensurereliableoperation theTMshouldbeswitchedoffbeforeanychangesaremadetotheT1M1andT1M0 bits.IntheTimer/CounterMode,theTMoutputpincontrolmustbedisabled. Bit5~4 T1IO1~T1IO0:SelectTP1_0,TP1_1outputfunction CompareMatchOutputMode 00:Nochange 01:Outputlow 10:Outputhigh 11:Toggleoutput PWMMode/SinglePulseOutputMode 00:PWMOutputinactivestate 01:PWMOutputactivestate 10:PWMoutput 11:Singlepulseoutput CaptureinputMode 00:InputcaptureatrisingedgeofTP1_0,TP1_1 01:InputcaptureatfallingedgeofTP1_0,TP1_1 01:Inputcaptureatfalling/risingedgeofTP1_0,TP1_1 11:Inputcapturedisabled Timer/CounterMode Unused. ThesetwobitsareusedtodeterminehowtheTMoutputpinchangesstatewhena certainconditionisreached.Thefunctionthatthesebitsselectdependsuponinwhich modetheTMisrunning. IntheCompareMatchOutputMode,theT1IO1andT1IO0bitsdeterminehowthe TMoutputpinchangesstatewhenacomparematchoccursfromtheComparatorA. TheTMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheTMoutput pinshouldbesetupusingtheT1OCbitintheTM1C1register.Notethattheoutput levelrequestedbytheT1IO1andT1IO0bitsmustbedifferentfromtheinitialvalue setupusingtheT1OCbitotherwisenochangewilloccurontheTMoutputpinwhen acomparematchoccurs.AftertheTMoutputpinchangesstate,itcanberesettoits initiallevelbychangingtheleveloftheT1ONbitfromlowtohigh. InthePWMMode,theT1IO1andT1IO0bitsdeterminehowtheTMoutputpin changesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytochangethevalues oftheT1IO1andT1IO0bitsonlyaftertheTMhasbeenswitchedoff.Unpredictable PWMoutputswilloccuriftheT1IO1andT1IO0bitsarechangedwhentheTMis running. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |