| 数据搜索系统,热门电子元器件搜索 |
|
AN913 数据表(PDF) 6 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN913 数据表(HTML) 6 Page - STMicroelectronics |
|
6 / 12 page ![]() 6/12 PWM GENERATION WITH THE ST62 16-BIT AUTO-RELOAD TIMER 3 PROGRAM EXAMPLE .vers "st6230" .romsize 8 ;*** data registers *** .input "623x.asm" ;*** data RAM *** Msb_inc1.def 084h ; Msb of the increment tone 1 Lsb_inc1.def 085h ; Lsb of the increment tone 1 Msb_inc2.def 086h ; Msb of the increment tone 2 Lsb_inc2.def 087h ; Lsb of the increment tone 2 Msb_ton1.def 088h ; Msb of the tone 1 Lsb_ton1.def 089h ; Lsb of the tone 1 Msb_ton2.def 08Ah ; Msb of the tone 2 Lsb_ton2.def 08Bh ; Lsb of the tone 2 WaitTone.def 08Ch ; even -> tone, odd -> break NToSend.def 08Dh ; Number to dial from the telephone number Tel_Num.def 08Eh ; Telephone number to dial ;*** Definition *** OVFFLG .def 2 ; Overflow flag bit position tmz .equ 7 ; This bit must be cleared by user software ; before starting a new count. ;*************************************************************************** .org 800h ;*** sinus() *** sinus: .byte 040h,046h,04ch,052h,058h,05eh,063h,068h .byte 06dh,071h,074h,078h,07ah,07ch,07eh,07fh .byte 07fh,07fh,07eh,07ch,07ah,078h,074h,071h .byte 06dh,068h,063h,05eh,058h,052h,04ch,046h .byte 040h,03ah,034h,02eh,028h,022h,01dh,018h .byte 013h,0fh,0ch,08h,06h,04h,02h,01h .byte 01h,01h,02h,04h,06h,08h,0ch,0fh .byte 013h,018h,01dh,022h,028h,02eh,034h,03ah num_dial: ;*** f(16 bits)=F(Hz)/5319*64*256 *** ; FREQ1 FREQ2 ; Msb1 Lsb1 Msb2 Lsb2 .byte 0bh, 53h, 10h, 13h;number 0 .byte 08h, 63h, 0eh, 8ch;number 1 .byte 08h, 63h, 10h, 13h;number 2 .byte 08h, 63h, 11h,0c6H;number 3 .byte 09h, 44h, 0eh, 8ch;number 4 .byte 09h, 44h, 10h, 13h;number 5 .byte 09h, 44h, 11h,0c6h;number 6 |
|
|
链接网址 |
| 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 |