| Electronic Components Datasheet Search |
|
HT66F25D Datasheet(PDF) 104 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F25D Datasheet(HTML) 104 Page - Holtek Semiconductor Inc |
|
104 / 177 page ![]() Rev. 1.00 104 ���� ��� �01� Rev. 1.00 105 ���� ��� �01� A/D Flash Type 8-bit MCU with EEPROM HT66F24D/HT66F25D TM1C1 Register Register Name Bit 7 6 5 4 3 2 1 0 Name T1AM1 T1AM0 T1AIO1 T1AIO0 T1AOC T1APOL T1CDN T1CCLR R/W R/W R/W R/W R/W R/W R/W R R/W POR 0 0 0 0 0 0 0 0 Bit7~6 T1AM1~T1AM0:SelectTM1CCRAOperationMode 00:CompareMatchOutputMode 01:CaptureInputMode 10:PWMModeorSinglePulseOutputMode 11:Timer/CounterMode ThesebitssetuptherequiredoperatingmodefortheTM.Toensurereliableoperation theTMshouldbeswitchedoffbeforeanychangesaremadetotheT1AM1and T1AM0bits.IntheTimer/CounterMode,theTMoutputpincontrolmustbedisabled. Bit5~4 T1AIO1~T1AIO0:SelectTP1A_0,TP1A_1outputfunction CompareMatchOutputMode 00:Nochange 01:Outputlow 10:Outputhigh 11:Toggleoutput PWMMode/SinglePulseOutputMode 00:PWMOutputinactivestate 01:PWMOutputactivestate 10:PWMoutput 11:Singlepulseoutput CaptureinputMode 00:InputcaptureatrisingedgeofTP1A_0,TP1A_1 01:InputcaptureatfallingedgeofTP1A_0,TP1A_1 01:Inputcaptureatfalling/risingedgeofTP1A_0,TP1A_1 11:Inputcapturedisabled Timer/CounterMode Unused. ThesetwobitsareusedtodeterminehowtheTMoutputpinchangesstatewhena certainconditionisreached.Thefunctionthatthesebitsselectdependsuponinwhich modetheTMisrunning. IntheCompareMatchOutputMode,theT1AIO1andT1AIO0bitsdeterminehow theTMoutputpinchangesstatewhenacomparematchoccursfromtheComparator A.TheTMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheTMoutput pinshouldbesetupusingtheT1AOCbitintheTM1C1register.Notethattheoutput levelrequestedbytheT1AIO1andT1AIO0bitsmustbedifferentfromtheinitial valuesetupusingtheT1AOCbitotherwisenochangewilloccurontheTMoutputpin whenacomparematchoccurs.AftertheTMoutputpinchangesstate,itcanbereset toitsinitiallevelbychangingtheleveloftheT1ONbitfromlowtohigh. InthePWMMode,theT1AIO1andT1AIO0bitsdeterminehowtheTMoutputpin changesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytochangethevaluesof theT1AIO1andT1AIO0bitsonlyaftertheTMhasbeenswitchedoff.Unpredictable PWMoutputswilloccuriftheT1AIO1andT1AIO0bitsarechangedwhentheTMis 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 |