| Electronic Components Datasheet Search |
|
HT66F007 Datasheet(PDF) 67 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F007 Datasheet(HTML) 67 Page - Holtek Semiconductor Inc |
|
67 / 131 page ![]() Rev. 1.41 66 April 11, 2017 Rev. 1.41 67 April 11, 2017 HT66F007/HT66F008 Cost-Effective A/D Flash MCU with EEPROM HT66F007/HT66F008 Cost-Effective A/D Flash MCU with EEPROM TMnC1 Register Bit 7 6 5 4 3 2 1 0 Name TnM1 TnM0 TnIO1 TnIO0 TnOC TnPOL TnDPX TnCCLR 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 TnM1~TnM0:SelectTMnOperatingMode 00:CompareMatchOutputMode 01:Undefined 10:PWMMode 11:Timer/CounterMode ThesebitssetuptherequiredoperatingmodefortheTM.Toensurereliableoperationthe TMshouldbeswitchedoffbeforeanychangesaremadetothebits.IntheTimer/Counter Mode,theTMoutputpincontrolmustbedisabled. Bit5~4 TnIO1~TnIO0:SelectTMnoutputfunction 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,theTnIO1~TnIO0bitsdeterminehowtheTM outputpinchangesstatewhenacomparematchoccursfromtheComparatorA.The TMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresentstate whenacomparematchoccursfromtheComparatorA.WhentheTnIO1~TnIO0bits arebothzero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheTM outputpinshouldbesetupusingtheTnOCbit.Notethattheoutputlevelrequestedby theTnIO1~TnIO0bitsmustbedifferentfromtheinitialvaluesetupusingtheTnOC bitotherwisenochangewilloccurontheTMoutputpinwhenacomparematch occurs.AftertheTMoutputpinchangesstateitcanberesettoitsinitiallevelby changingtheleveloftheTnONbitfromlowtohigh. InthePWMMode,theTnIO1andTnIO0bitsdeterminehowtheTMoutputpin changesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytochangethevalues oftheTnIO1andTnIO0bitsonlyaftertheTMhasbeenswitchedoff.Unpredictable PWMoutputswilloccuriftheTnIO1andTnIO0bitsarechangedwhentheTMis 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 |