| 전자부품 데이터시트 검색엔진 |
|
HT45F2020 데이터시트(PDF) 47 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F2020 데이터시트(HTML) 47 Page - Holtek Semiconductor Inc |
|
47 / 85 page ![]() Rev. 1.00 46 April 11, 2017 Rev. 1.00 47 April 11, 2017 HT45F2020/HT45F2022 Sound Effect Generator Flash MCU HT45F2020/HT45F2022 Sound Effect Generator Flash MCU Bit3 PTON:PTMCounterOn/Offcontrol 0:Off 1:On Thisbitcontrolstheoverallon/offfunctionofthePTM.Settingthebithighenables thecountertorunwhileclearingthebitdisablesthePTM.Clearingthisbittozero willstopthecounterfromcountingandturnoffthePTMwhichwillreduceitspower consumption.Whenthebitchangesstatefromlowtohightheinternalcountervalue willberesettozero,howeverwhenthebitchangesfromhightolow,theinternal counterwillretainitsresidualvalueuntilthebitreturnshighagain.IfthePTMisin theCompareMatchOutputModeorthePWMoutputModeorSinglePulseOutput Mode,thenthePTMoutputpinwillberesettoitsinitialcondition,asspecifiedbythe PTOCbit,whenthePTONbitchangesfromlowtohigh. Bit2~0 Unimplemented,readas“0” PTMC1 Register Bit 7 6 5 4 3 2 1 0 Name PTM1 PTM0 PTIO1 PTIO0 PTOC PTPOL PTCAPTS PTCCLR 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 PTM1~PTM0:SelectPTMOperatingMode 00:CompareMatchOutputMode 01:CaptureInputMode 10:PWMOutputModeorSinglePulseOutputMode 11:Timer/CounterMode ThesebitssetuptherequiredoperatingmodeforthePTM.Toensurereliableoperation thePTMshouldbeswitchedoffbeforeanychangesaremadetothePTM1andPTM0 bits.IntheTimer/CounterMode,thePTMoutputpincontrolwillbedisabled. Bit5~4 PTIO1~PTIO0:SelectPTMexternalpinPTPorPTPIfunction CompareMatchOutputMode 00:Nochange 01:Outputlow 10:Outputhigh 11:Toggleoutput PWMOutputMode/SinglePulseOutputMode 00:PWMoutputinactivestate 01:PWMoutputactivestate 10:PWMoutput 11:SinglePulseOutput CaptureInputMode 00:InputcaptureatrisingedgeofPTPIorPTCK 01:InputcaptureatfallingedgeofPTPIorPTCK 10:Inputcaptureatrising/fallingedgeofPTPIorPTCK 11:Inputcapturedisabled Timer/CounterMode Unused ThesetwobitsareusedtodeterminehowthePTMoutputpinchangesstatewhena certainconditionisreached.Thefunctionthatthesebitsselectdependsuponinwhich modethePTMisrunning. |
|
링크 URL |
| 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 |