| Electronic Components Datasheet Search |
|
HT66F20 Datasheet(PDF) 115 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F20 Datasheet(HTML) 115 Page - Holtek Semiconductor Inc |
|
115 / 298 page ![]() Rev. 1.90 114 �e���a�� 18� �01� Rev. 1.90 115 �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 TMnC0 Register Bit 7 6 5 4 3 2 1 0 Name TnPAU TnCK� TnCK1 TnCK0 TnON TnRP� TnRP1 TnRP0 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 TnPAU:TMnCounterPauseControl 0:Run 1:Pause Thecountercanbepausedbysettingthisbithigh.Clearingthebittozerorestores normalcounteroperation.WheninaPauseconditiontheTMwillremainpoweredup andcontinuetoconsumepower.Thecounterwillretainitsresidualvaluewhenthisbit changesfromlowtohighandresumecountingfromthisvaluewhenthebitchanges toalowvalueagain. Bit6~4 TnCK2~TnCK0:SelectTMnCounterclock 000:fSYS/4 001:fSYS 010:fH/16 011:fH/64 100:fTBC 101:Undefined 110:TCKnrisingedgeclock 111:TCKnfallingedgeclock ThesethreebitsareusedtoselecttheclocksourcefortheTM.SelectingtheReserved clockinputwilleffectivelydisabletheinternalcounter.Theexternalpinclocksource canbechosentobeactiveontherisingorfallingedge.TheclocksourcefSYSisthe systemclock,whilefHandfTBCareotherinternalclocks,thedetailsofwhichcanbe foundintheoscillatorsection. Bit3 TnON:TMnCounterOn/OffControl 0:Off 1:On Thisbitcontrolstheoverallon/offfunctionoftheTM.Settingthebithighenablesthe countertorun,clearingthebitdisablestheTM.Clearingthisbittozerowillstopthe counterfromcountingandturnofftheTMwhichwillreduceitspowerconsumption. Whenthebitchangesstatefromlowtohightheinternalcountervaluewillberesetto zero,howeverwhenthebitchangesfromhightolow,theinternalcounterwillretain itsresidualvalue. IftheTMisintheCompareMatchOutputModethentheTMoutputpinwillbereset toitsinitialcondition,asspecifiedbytheTnOCbit,whentheTnONbitchangesfrom lowtohigh. Bit2~0 TnRP2~TnRP0:TMnCCRP3-bitregister,comparedwiththeTMnCounterbit9~bit7 ComparatorPMatchPeriod 000:1024TMnclocks 001:128TMnclocks 010:256TMnclocks 011:384TMnclocks 100:512TMnclocks 101:640TMnclocks 110:768TMnclocks 111:896TMnclocks ThesethreebitsareusedtosetupthevalueontheinternalCCRP3-bitregister,which arethencomparedwiththeinternalcounter'shighestthreebits.Theresultofthis comparisoncanbeselectedtocleartheinternalcounteriftheTnCCLRbitissetto zero.SettingtheTnCCLRbittozeroensuresthatacomparematchwiththeCCRP valueswillresettheinternalcounter.AstheCCRPbitsareonlycomparedwiththe highestthreecounterbits,thecomparevaluesexistin128clockcyclemultiples. Clearingallthreebitstozeroisineffectallowingthecountertooverflowatits maximumvalue. |
|
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 |