| Electronic Components Datasheet Search |
|
HT66F20 Datasheet(PDF) 131 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F20 Datasheet(HTML) 131 Page - Holtek Semiconductor Inc |
|
131 / 298 page ![]() Rev. 1.90 1�0 �e���a�� 18� �01� Rev. 1.90 1�1 �e���a�� 18� �01� HT66F20/HT66F30/HT66F40/HT66F50/HT66F60 HT66FU30/HT66FU40/HT66FU50/HT66FU60 Enhanced A/D Flash Type 8-Bit MCU with EEPROM HT66F20/HT66F30/HT66F40/HT66F50/HT66F60 HT66FU30/HT66FU40/HT66FU50/HT66FU60 Enhanced A/D Flash Type 8-Bit MCU with EEPROM • TM2C1 Register – 16-bit STM Bit 7 6 5 4 3 2 1 0 Name T�M1 T�M0 T�IO1 T�IO0 T�OC T�POL T�DPX T�CCLR 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 T2M1~T2M0:SelectTM2OperatingMode 00:CompareMatchOutputMode 01:CaptureInputMode 10:PWMModeorSinglePulseOutputMode 11:Timer/CounterMode ThesebitssetuptherequiredoperatingmodefortheTM.Toensurereliableoperation theTMshouldbeswitchedoffbeforeanychangesaremadetotheT2M1andT2M0 bits.IntheTimer/CounterMode,theTMoutputpincontrolmustbedisabled. Bit5~4 T2IO1~T2IO0:SelectTP2_0,TP2_1outputfunction CompareMatchOutputMode 00:Nochange 01:Outputlow 10:Outputhigh 11:Toggleoutput PWMMode/SinglePulseOutputMode 00:PWMoutputinactivestate 01:PWMoutputactivestate 10:PWMoutput 11:Singlepulseoutput CaptureInputMode 00:InputcaptureatrisingedgeofTP2_0,TP2_1 01:InputcaptureatfallingedgeofTP2_0,TP2_1 10:Inputcaptureatfalling/risingedgeofTP2_0,TP2_1 11:Inputcapturedisabled Timer/counterMode: Unused ThesetwobitsareusedtodeterminehowtheTMoutputpinchangesstatewhena certainconditionisreached.Thefunctionthatthesebitsselectdependsuponinwhich modetheTMisrunning. IntheCompareMatchOutputMode,theT2IO1andT2IO0bitsdeterminehowthe TMoutputpinchangesstatewhenacomparematchoccursfromtheComparatorA. TheTMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheTMoutput pinshouldbesetupusingtheT2OCbitintheTM2C1register.Notethattheoutput levelrequestedbytheT2IO1andT2IO0bitsmustbedifferentfromtheinitialvalue setupusingtheT2OCbitotherwisenochangewilloccurontheTMoutputpinwhen acomparematchoccurs.AftertheTMoutputpinchangesstateitcanberesettoits initiallevelbychangingtheleveloftheT2ONbitfromlowtohigh. InthePWMMode,theT2IO1andT2IO0bitsdeterminehowtheTMoutputpin changesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytochangethevalues oftheT2IO1andT2IO0bitsonlyaftertheTMhasbeenswitchedoff.Unpredictable PWMoutputswilloccuriftheT2IO1andT2IO0bitsarechangedwhentheTMis 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 |