| Electronic Components Datasheet Search |
|
HT66F25D Datasheet(PDF) 106 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F25D Datasheet(HTML) 106 Page - Holtek Semiconductor Inc |
|
106 / 177 page ![]() Rev. 1.00 10� ���� ��� �01� Rev. 1.00 107 ���� ��� �01� A/D Flash Type 8-bit MCU with EEPROM HT66F24D/HT66F25D TM1C2 Register Register Name Bit 7 6 5 4 3 2 1 0 Name T1BM1 T1BM0 T1BIO1 T1BIO0 T1BOC T1BPOL T1PWM1 T1PWM0 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 T1BM1~T1BM0:SelectTM1CCRBOperationMode 00:CompareMatchOutputMode 01:CaptureInputMode 10:PWMModeorSinglePulseOutputMode 11:Timer/CounterMode ThesebitssetuptherequiredoperatingmodefortheTM.Toensurereliableoperation theTMshouldbeswitchedoffbeforeanychangesaremadetotheT1BM1and T1BM0bits.IntheTimer/CounterMode,theTMoutputpincontrolmustbedisabled. Bit5~4 T1BIO1~T1BIO0:SelectTP1B_0,TP1B_1,TP1B_2outputfunction CompareMatchOutputMode 00:Nochange 01:Outputlow 10:Outputhigh 11:Toggleoutput PWMMode/SinglePulseOutputMode 00:PWMOutputinactivestate 01:PWMOutputactivestate 10:PWMoutput 11:Singlepulseoutput CaptureinputMode 00:InputcaptureatrisingedgeofTP1B_0,TP1B_1,TP1B_2 01:InputcaptureatfallingedgeofTP1B_0,TP1B_1,TP1B_2 01:Inputcaptureatfalling/risingedgeofTP1B_0,TP1B_1,TP1B_2 11:Inputcapturedisabled Timer/CounterMode Unused. ThesetwobitsareusedtodeterminehowtheTMoutputpinchangesstatewhena certainconditionisreached.Thefunctionthatthesebitsselectdependsuponinwhich modetheTMisrunning. IntheCompareMatchOutputMode,theT1BIO1andT1BIO0bitsdeterminehow theTMoutputpinchangesstatewhenacomparematchoccursfromtheComparator A.TheTMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheTMoutput pinshouldbesetupusingtheT1BOCbitintheTM1C2register.Notethattheoutput levelrequestedbytheT1BIO1andT1BIO0bitsmustbedifferentfromtheinitial valuesetupusingtheT1BOCbitotherwisenochangewilloccurontheTMoutputpin whenacomparematchoccurs.AftertheTMoutputpinchangesstate,itcanbereset toitsinitiallevelbychangingtheleveloftheT1ONbitfromlowtohigh. InthePWMMode,theT1BIO1andT1BIO0bitsdeterminehowtheTMoutputpin changesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytochangethevaluesof theT1BIO1andT1BIO0bitsonlyaftertheTMhasbeenswitchedoff.Unpredictable PWMoutputswilloccuriftheT1BIO1andT1BIO0bitsarechangedwhentheTMis 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 |