поискавой системы для электроныых деталей |
|
HT46R002 датащи(PDF) 49 Page - Holtek Semiconductor Inc |
|
HT46R002 датащи(HTML) 49 Page - Holtek Semiconductor Inc |
49 / 83 page Rev. 1.21 48 April 11, 2017 Rev. 1.21 49 April 11, 2017 HT46R002/HT46R003 Cost-Effective A/D 8-Bit OTP MCU HT46R002/HT46R003 Cost-Effective A/D 8-Bit OTP MCU f SY S /2 PW M [P WM ] =1 00 [P WM ] =1 01 PW M [P WM ] =1 02 PW M [P WM ] =1 03 PW M PW M m odul at i on per i od : 128 /f SY S 50/ 12 8 51/ 12 8 51/ 12 8 52/ 12 8 50/ 12 8 50/ 12 8 51/ 12 8 51/ 12 8 50/ 12 8 51/ 12 8 51/ 12 8 52/ 12 8 M odul at i on cycl e 0 PW M cycl e : 256/ f SY S M odul at i on cycl e 1 M odul at i on cycl e 0 7+1 Mode PW M Re gi st er ( 6+ 2) M od e b7 b0 AC va lu e DC va lu e PWM Register for 7+1 Mode PWM Output Control ThePWMoutputsarepin-sharedwiththeI/OpinPA0.TooperateasaPWMoutputandnotas anI/Opin,thecorrectbitsmustbesetintheCTRL0register.Azerovaluemustalsobewrittento thecorrespondingbitintheI/OportcontrolregisterPAC.0toensurethatthecorrespondingPWM outputpinissetasanoutput.Afterthesetwoinitialstepshavebeencarriedout,andofcourse aftertherequiredPWMvaluehasbeenwrittenintothePWMregister,writingahighvalueto thecorrespondingbitintheoutputdataregisterPA.0willenablethePWMdatatoappearonthe pin.WritingazerovaluewilldisablethePWMoutputfunctionandforcetheoutputlow.Inthis way,thePortdataoutputregisterscanbeusedasanon/offcontrolforthePWMfunction.Note thatiftheCTRL0registerhasselectedthePWMfunction,butahighvaluehasbeenwrittentoits correspondingbitinthePACcontrolregistertoconfigurethepinasaninput,thenthepincanstill functionasanormalinputline,withpull-highresistoroptions. PWM Programming Example mov a,64h ; set PWM value of decimal 100 mov pwm0,a set ctrl0.5 ; select the 7+1 PWM mode set ctrl0.3 ; select pin PA0 to have a PWM function clr pac.0 ; set pin PA0 as an output set pa.0 ; enable the PWM output : : clr pa.0 ; disable the PWM output_ pin PA0 forced low |
Аналогичный номер детали - HT46R002 |
|
Аналогичное описание - HT46R002 |
|
|
ссылки URL |
Конфиденциальность |
ALLDATASHEETRU.COM |
Вашему бизинису помогли Аллдатащит? [ 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 |