| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
UPD17708 Datasheet(PDF) 190 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD17708 Datasheet(HTML) 190 Page - NEC |
|
190 / 356 page ![]() µPD17704, 17705, 17707, 17708, 17709 190 13.6.5 Example of using timer 3 An example of a program using timer 3 (multiplexed with PWM) is given below. This program executes processing B every 888 µs. TM3DATA DAT 0064H ; Count data = 100 START: BR INITIAL ; Reset address ; Interrupt vector address NOP ; SIO1 NOP ; SIO0 BR INT_TM3 ; TM3 NOP ; TM2 NOP ; TM1 NOP ; TM0 NOP ; INT4 NOP ; INT3 NOP ; INT2 NOP ; INT1 NOP ; INT0 NOP ; Down edge of CE INITIAL: INITFLG NOT PWMSEL2 , NOT PWMSEL1 , NOT PWMSEL0 ; (General-purpose port), (General-purpose port), (General-purpose port) INITFLG NOT PWMBIT, PWMCK ; ( 8BIT ), (440 Hz) INITFLG TM3SEL , NOT TM3EN, TM3RES ; (Timer 3 mode), (Stop) , (Reset) MOV DBF0, #TM3DATA MOV DBF1, #TM3DATA SHR4 AND 0FH PUT TM3M, DBF SET1 TM3EN ; START SET1 IPTM3 ; Enables timer 3 interrupt EI LOOP: Processing A BR LOOP INT_TM3: PUT DBFSTK, DBF ; Saves data buffer Processing B GET DBF, DBFSTK EI RETI ; Return END |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |