| поискавой системы для электроныых деталей |
|
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 |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |