| Electronic Components Datasheet Search |
|
HT68F005 Datasheet(PDF) 60 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F005 Datasheet(HTML) 60 Page - Holtek Semiconductor Inc |
|
60 / 93 page ![]() Rev. 1.00 60 ��to�e� ��� �01� Rev. 1.00 61 ��to�e� ��� �01� HT68F005/HT68F006 Enhanced I/O Flash Type MCU HT68F005/HT68F006 Enhanced I/O Flash Type MCU TMnC1 Register Bit 7 6 5 4 3 2 1 0 Name TnM1 TnM0 TnI�1 TnI�0 Tn�C TnP�L TnDPX TnCCLR R/W R/W R/W R/W R/W R/W R/W R/W R/W P�R 0 0 0 0 0 0 0 0 Bit7~6 TnM1~TnM0:SelectTMnOperatingMode 00:CompareMatchOutputMode 01:Undefined 10:PWMMode 11:Timer/CounterMode ThesebitssetuptherequiredoperatingmodefortheTM.Toensurereliableoperation theTMshouldbeswitchedoffbeforeanychangesaremadetotheTnM1andTnM0 bits.IntheTimer/CounterMode,theTMoutputpincontrolmustbedisabled. Bit5~4 TnIO1~TnIO0:SelectTPn_0,TPn_1outputfunction CompareMatchOutputMode 00:Nochange 01:Outputlow 10:Outputhigh 11:Toggleoutput PWMMode 00:PWMOutputinactivestate 01:PWMOutputactivestate 10:PWMoutput 11:Undefined Timer/counterMode unused ThesetwobitsareusedtodeterminehowtheTMoutputpinchangesstatewhena certainconditionisreached.Thefunctionthatthesebitsselectdependsuponinwhich modetheTMisrunning. IntheCompareMatchOutputMode,theTnIO1andTnIO0bitsdeterminehowthe TMoutputpinchangesstatewhenacomparematchoccursfromtheComparatorA. TheTMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheTMoutput pinshouldbesetupusingtheTnOCbitintheTMnC1register.Notethattheoutput levelrequestedbytheTnIO1andTnIO0bitsmustbedifferentfromtheinitialvalue setupusingtheTnOCbitotherwisenochangewilloccurontheTMoutputpinwhen acomparematchoccurs.AftertheTMoutputpinchangesstateitcanberesettoits initiallevelbychangingtheleveloftheTnONbitfromlowtohigh. InthePWMMode,theTnIO1andTnIO0bitsdeterminehowtheTMoutputpin changesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytoonlychangethe valuesoftheTnIO1andTnIO0bitsonlyaftertheTMnhasbeenswitchedoff. UnpredictablePWMoutputswilloccuriftheTnIO1andTnIO0bitsarechangedwhen theTMisrunning. |
|
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 |