| 数据搜索系统,热门电子元器件搜索 |
|
HT66F4530 数据表(PDF) 109 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F4530 数据表(HTML) 109 Page - Holtek Semiconductor Inc |
|
109 / 224 page ![]() Rev. 1.00 108 De�e��e� �1� �01� Rev. 1.00 109 De�e��e� �1� �01� HT66F4530/HT66F4540/HT66F4550 A/D Flash MCU with Dual Operational Amplifiers HT66F4530/HT66F4540/HT66F4550 A/D Flash MCU with Dual Operational Amplifiers PTMnC1 Register Bit 7 6 5 4 3 2 1 0 Na�e PTnM1 PTnM0 PTnIO1 PTnIO0 PTnOC PTnPOL PTnCAPTS PTnCCLR 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 PTnM1~PTnM0:SelectPTMnOperatingMode 00:CompareMatchOutputMode 01:CaptureInputMode 10:PWMOutputModeorSinglePulseOutputMode 11:Timer/CounterMode ThesebitssetuptherequiredoperatingmodeforthePTMn.Toensurereliable operationthePTMnshouldbeswitchedoffbeforeanychangesaremadetothe PTnM1andPTnM0bits.IntheTimer/CounterMode,thePTMnoutputpincontrol mustbedisabled. Bit5~4 PTnIO1~PTnIO0:SelectPTMnexternalpin(PTPnorPTCKn)function CompareMatchOutputMode 00:Nochange 01:Outputlow 10:Outputhigh 11:Toggleoutput PWMOutputMode/SinglePulseOutputMode 00:PWMOutputinactivestate 01:PWMOutputactivestate 10:PWMoutput 11:Singlepulseoutput CaptureInputMode 00:InputcaptureatrisingedgeofPTCKn 01:InputcaptureatfallingedgeofPTCKn 10:Inputcaptureatfalling/risingedgeofPTCKn 11:Inputcapturedisabled Timer/CounterMode Unused ThesetwobitsareusedtodeterminehowthePTMnoutputpinchangesstatewhena certainconditionisreached.Thefunctionthatthesebitsselectdependsuponinwhich modethePTMnisrunning. IntheCompareMatchOutputMode,thePTnIO1andPTnIO0bitsdeterminehowthe PTMnoutputpinchangesstatewhenacomparematchoccursfromtheComparatorA. ThePTMnoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueofthePTMn outputpinshouldbesetupusingthePTnOCbitinthePTMnC1register.Notethat theoutputlevelrequestedbythePTnIO1andPTnIO0bitsmustbedifferentfromthe initialvaluesetupusingthePTnOCbitotherwisenochangewilloccuronthePTMn outputpinwhenacomparematchoccurs.AfterthePTMnoutputpinchangesstate, itcanberesettoitsinitiallevelbychangingthelevelofthePTnONbitfromlowto high. InthePWMOutputMode,thePTnIO1andPTnIO0bitsdeterminehowthePTMn outputpinchangesstatewhenacertaincomparematchconditionoccurs.ThePWM outputfunctionismodifiedbychangingthesetwobits.Itisnecessarytoonlychange thevaluesofthePTnIO1andPTnIO0bitsonlyaftertheTMhasbeenswitchedoff. UnpredictablePWMoutputswilloccurifthePTnIO1andPTnIO0bitsarechanged whenthePTMnisrunning. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |