亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? pwm_ctrl.psm

?? EDA原理及VHDL實(shí)現(xiàn)(何賓教授)
?? PSM
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
                     ; KCPSM3 Program - Pulse Width Modulation (PWM) Control on the Spartan-3E Starter Kit.
                     ;
                     ; Ken Chapman - Xilinx Ltd
                     ;
                     ; Version v1.00 - 22nd May 2006
                     ;
                     ; Provides control for 12 channels of PWM with a Pulse Repetition Frequency (PRF) of 1KHz
                     ; and an 8-bit duty cycle resolution (256 steps). Control is provided for each channel
                     ; via the UART interface to the PC running HyperTerminal or similar to enter simple text
                     ; commands.
                     ;
                     ;**************************************************************************************
                     ; Port definitions
                     ;**************************************************************************************
                     ;
                     ;
                     ;
                     CONSTANT LED_port, 80                  ;8 simple LEDs
                     CONSTANT LED0, 01                      ;     LED 0 - bit0
                     CONSTANT LED1, 02                      ;         1 - bit1
                     CONSTANT LED2, 04                      ;         2 - bit2
                     CONSTANT LED3, 08                      ;         3 - bit3
                     CONSTANT LED4, 10                      ;         4 - bit4
                     CONSTANT LED5, 20                      ;         5 - bit5
                     CONSTANT LED6, 40                      ;         6 - bit6
                     CONSTANT LED7, 80                      ;         7 - bit7
                     ;
                     ;
                     CONSTANT simple_port, 40               ;4 simple outputs
                     CONSTANT simple_IO9, 01                ;  Header  IO9  - bit0
                     CONSTANT simple_IO10, 02               ;          IO10 - bit1
                     CONSTANT simple_IO11, 04               ;          IO11 - bit2
                     CONSTANT simple_IO12, 08               ;          IO12 - bit3
                     ;
                     ;
                     ;
                     CONSTANT status_port, 00               ;UART status input
                     CONSTANT tx_half_full, 01              ;  Transmitter     half full - bit0
                     CONSTANT tx_full, 02                   ;    FIFO               full - bit1
                     CONSTANT rx_data_present, 04           ;  Receiver     data present - bit2
                     CONSTANT rx_half_full, 08              ;    FIFO          half full - bit3
                     CONSTANT rx_full, 10                   ;                   full - bit4
                     CONSTANT spare1, 20                    ;                  spare '0' - bit5
                     CONSTANT spare2, 40                    ;                  spare '0' - bit6
                     CONSTANT spare3, 80                    ;                  spare '0' - bit7
                     ;
                     CONSTANT UART_read_port, 01            ;UART Rx data input
                     ;
                     CONSTANT UART_write_port, 20           ;UART Tx data output
                     ;
                     ;
                     ;
                     ;**************************************************************************************
                     ; Special Register usage
                     ;**************************************************************************************
                     ;
                     NAMEREG sF, UART_data                  ;used to pass data to and from the UART
                     ;
                     ;
                     ;
                     ;**************************************************************************************
                     ;Scratch Pad Memory Locations
                     ;**************************************************************************************
                     ;
                     CONSTANT PWM_duty_counter, 00          ;Duty Counter 0 to 255 within 1KHz period (1ms)
                     CONSTANT PWM_channel0, 01              ;PWM settings for each channel
                     CONSTANT PWM_channel1, 02              ; Channels 0 to 7 = LEDs 0 to 7
                     CONSTANT PWM_channel2, 03              ; Channels 8 to 11 = IO9 to IO12
                     CONSTANT PWM_channel3, 04
                     CONSTANT PWM_channel4, 05
                     CONSTANT PWM_channel5, 06
                     CONSTANT PWM_channel6, 07
                     CONSTANT PWM_channel7, 08
                     CONSTANT PWM_channel8, 09
                     CONSTANT PWM_channel9, 0A
                     CONSTANT PWM_channel10, 0B
                     CONSTANT PWM_channel11, 0C
                     CONSTANT ISR_preserve_s0, 0D           ;preserve register contents during Interrupt Service Routine
                     CONSTANT ISR_preserve_s1, 0E
                     CONSTANT ISR_preserve_s2, 0F
                     ;
                     ;
                     ;
                     ;
                     ;UART character strings will be stored in scratch pad memory ending in carriage return.
                     ;A string can be up to 16 characters with the start location defined by this constant.
                     ;
                     CONSTANT string_start, 30
                     ;
                     ;
                     ;
                     ;**************************************************************************************
                     ;Useful data constants
                     ;**************************************************************************************
                     ;
                     ;
                     ;
                     ;
                     ;ASCII table
                     ;
                     CONSTANT character_a, 61
                     CONSTANT character_b, 62
                     CONSTANT character_c, 63
                     CONSTANT character_d, 64
                     CONSTANT character_e, 65
                     CONSTANT character_f, 66
                     CONSTANT character_g, 67
                     CONSTANT character_h, 68
                     CONSTANT character_i, 69
                     CONSTANT character_j, 6A
                     CONSTANT character_k, 6B
                     CONSTANT character_l, 6C
                     CONSTANT character_m, 6D
                     CONSTANT character_n, 6E
                     CONSTANT character_o, 6F
                     CONSTANT character_p, 70
                     CONSTANT character_q, 71
                     CONSTANT character_r, 72
                     CONSTANT character_s, 73
                     CONSTANT character_t, 74
                     CONSTANT character_u, 75
                     CONSTANT character_v, 76
                     CONSTANT character_w, 77
                     CONSTANT character_x, 78
                     CONSTANT character_y, 79
                     CONSTANT character_z, 7A
                     CONSTANT character_A, 41
                     CONSTANT character_B, 42
                     CONSTANT character_C, 43
                     CONSTANT character_D, 44
                     CONSTANT character_E, 45
                     CONSTANT character_F, 46
                     CONSTANT character_G, 47
                     CONSTANT character_H, 48
                     CONSTANT character_I, 49
                     CONSTANT character_J, 4A
                     CONSTANT character_K, 4B
                     CONSTANT character_L, 4C
                     CONSTANT character_M, 4D
                     CONSTANT character_N, 4E
                     CONSTANT character_O, 4F
                     CONSTANT character_P, 50
                     CONSTANT character_Q, 51
                     CONSTANT character_R, 52
                     CONSTANT character_S, 53
                     CONSTANT character_T, 54
                     CONSTANT character_U, 55
                     CONSTANT character_V, 56
                     CONSTANT character_W, 57
                     CONSTANT character_X, 58
                     CONSTANT character_Y, 59
                     CONSTANT character_Z, 5A
                     CONSTANT character_0, 30
                     CONSTANT character_1, 31
                     CONSTANT character_2, 32
                     CONSTANT character_3, 33
                     CONSTANT character_4, 34
                     CONSTANT character_5, 35
                     CONSTANT character_6, 36
                     CONSTANT character_7, 37
                     CONSTANT character_8, 38
                     CONSTANT character_9, 39
                     CONSTANT character_colon, 3A
                     CONSTANT character_stop, 2E
                     CONSTANT character_semi_colon, 3B
                     CONSTANT character_minus, 2D
                     CONSTANT character_divide, 2F          ;'/'
                     CONSTANT character_plus, 2B
                     CONSTANT character_comma, 2C
                     CONSTANT character_less_than, 3C
                     CONSTANT character_greater_than, 3E
                     CONSTANT character_equals, 3D
                     CONSTANT character_space, 20
                     CONSTANT character_CR, 0D              ;carriage return
                     CONSTANT character_question, 3F        ;'?'
                     CONSTANT character_dollar, 24
                     CONSTANT character_exclaim, 21         ;'!'
                     CONSTANT character_BS, 08              ;Back Space command character
                     ;
                     ;
                     ;
                     ;
                     ;
                     ;**************************************************************************************
                     ;Initialise the system
                     ;**************************************************************************************
                     ;
                     ; Each PWM channels will be set to a different initial value just for the purposes
                     ; of demonstration. In practice, the initial duty values will depend on the requirements
                     ; of a given system but completely off (zero) is normally the safe option.
                     ;
                     ; Note that it is difficult to distinguish difference between the intensity of LEDs driven
                     ; with duty factors more than 40% (40% = 102/256 or 66Hex). So using relatively small values
                     ; will better demonstrate the PWM control of intensity.
                     ;
                     ; Initial values for LEDs give graduated intensity. Large change required for brighter LEDs.
                     ;
         cold_start: LOAD s0, 05                            ;5/256 = 2%
                     STORE s0, PWM_channel0
                     LOAD s0, 0D                            ;13/256 = 5%
                     STORE s0, PWM_channel1
                     LOAD s0, 14                            ;26/256 = 8%
                     STORE s0, PWM_channel2
                     LOAD s0, 26                            ;38/256 = 15%
                     STORE s0, PWM_channel3
                     LOAD s0, 40                            ;64/256 = 25%
                     STORE s0, PWM_channel4
                     LOAD s0, 58                            ;88/256 = 34%
                     STORE s0, PWM_channel5
                     LOAD s0, 80                            ;128/256 = 50%
                     STORE s0, PWM_channel6
                     LOAD s0, FF                            ;255/256 = 99.6% Maximum possible
                     STORE s0, PWM_channel7
                     ;
                     ; Initial values for simple outputs match documentation example
                     ;
                     LOAD s0, 11                            ;17/256 = 7%
                     STORE s0, PWM_channel8
                     LOAD s0, BC                            ;188/256 = 73%
                     STORE s0, PWM_channel9
                     LOAD s0, EF                            ;239/256 = 93%
                     STORE s0, PWM_channel10
                     LOAD s0, 22                            ;34/256 = 13%
                     STORE s0, PWM_channel11
                     ;
                     ENABLE INTERRUPT                       ;interrupts used to drive servo
                     ;
                     CALL send_welcome                      ;Write welcome message to UART
                     ;
                     ;
                     ;
                     ;**************************************************************************************
                     ; Main program
                     ;**************************************************************************************
                     ;
                     ; Provides a prompt to which an input with one of the following formats is expected...
                     ;
                     ;     LDn hh
                     ;
                     ;     IOk hh
                     ;     IOkk hh
                     ;
                     ;
                     ;  Where
                     ;     'LD' is a command to set one of the LED channels.
                     ;     'IO' is a command to set one of the simple I/O outputs on J4.
                     ;     'n' is an LED number in the range 0 to 7.
                     ;     'k' or 'kk' is a simple I/O number in the range 9 to 12.
                     ;     'hh' is a 2 digit hex value to specify the PWM duty factor (range 00 to FF).
                     ;
                     ; The input allows a degree of editing to be performed and upper and lower case letters
                     ; to be used.

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲视频中文字幕| 欧美电影免费观看高清完整版在线| 欧美一区欧美二区| 国产精品成人网| 美女一区二区三区在线观看| 色哟哟欧美精品| 欧美极品另类videosde| 午夜精品福利一区二区三区蜜桃| 不卡在线观看av| 久久久久久夜精品精品免费| 日韩电影在线观看网站| 欧美在线视频全部完| 国产精品久久毛片a| 国产精品99久| 精品国产一区二区三区av性色| 亚洲aaa精品| 欧美性猛交xxxx乱大交退制版| 国产精品私人自拍| 国产一区三区三区| 日韩精品资源二区在线| 视频一区视频二区中文字幕| 在线亚洲欧美专区二区| 成人欧美一区二区三区视频网页| 成人一区二区三区视频| 久久婷婷综合激情| 精品一区二区日韩| 日韩精品在线看片z| 免费不卡在线观看| 91精品国产综合久久久久久久 | 91麻豆免费观看| 国产欧美日韩另类视频免费观看| 国产真实乱子伦精品视频| 91.xcao| 性做久久久久久久免费看| 色999日韩国产欧美一区二区| 亚洲欧洲色图综合| 99精品欧美一区二区蜜桃免费| 中文字幕一区二区三中文字幕| 国产a久久麻豆| 欧美—级在线免费片| 丰满少妇久久久久久久| 国产精品无圣光一区二区| 粉嫩嫩av羞羞动漫久久久| 久久久91精品国产一区二区精品 | 日本中文一区二区三区| 91精品国产综合久久精品图片| 日韩经典一区二区| 日韩欧美在线综合网| 国模一区二区三区白浆| 久久丝袜美腿综合| 国产成a人亚洲精品| 国产精品免费视频网站| av高清久久久| 一区二区三区在线视频观看| 欧美性猛片xxxx免费看久爱| 视频一区二区不卡| 欧美成人福利视频| 国产精品亚洲成人| 国产精品对白交换视频| 一本久久a久久免费精品不卡| 一区二区三区免费| 5月丁香婷婷综合| 国内精品国产三级国产a久久| 国产欧美一区二区三区在线老狼| 波多野结衣中文字幕一区二区三区| 亚洲精品乱码久久久久久久久| 欧美日韩国产不卡| 精品综合久久久久久8888| 久久精品夜色噜噜亚洲a∨| 99久久综合国产精品| 一区二区成人在线| 日韩一区二区影院| 国产毛片精品视频| 亚洲欧美日韩一区二区| 91麻豆精品国产| 国产电影精品久久禁18| 亚洲男人天堂av网| 欧美精品黑人性xxxx| 国产精品91一区二区| 一区二区三区中文在线观看| 91精品久久久久久久99蜜桃| 国产99一区视频免费| 亚洲综合区在线| 精品久久久久久久人人人人传媒| 成人动漫在线一区| 午夜在线成人av| 久久精品一区二区三区av| 91久久精品一区二区二区| 六月丁香婷婷久久| 亚洲私人影院在线观看| 日韩精品资源二区在线| 91婷婷韩国欧美一区二区| 日本不卡视频一二三区| 国产精品欧美经典| 制服丝袜中文字幕亚洲| 成人av电影免费观看| 日本成人在线网站| 中文字幕亚洲一区二区va在线| 欧美美女一区二区在线观看| 国产999精品久久久久久| 午夜精品福利一区二区三区av| 欧美极品aⅴ影院| 日韩午夜电影av| 色婷婷综合久久久| 国产一区二区日韩精品| 亚洲国产精品久久久久婷婷884| 国产女人水真多18毛片18精品视频 | 久久精品二区亚洲w码| 亚洲精品乱码久久久久| 久久久久久亚洲综合影院红桃| 欧美日韩夫妻久久| 成人毛片视频在线观看| 美女视频网站黄色亚洲| 一区二区在线观看av| 国产目拍亚洲精品99久久精品| 欧美一区二区在线视频| 91福利小视频| 懂色av一区二区夜夜嗨| 久久福利资源站| 午夜精品免费在线| 亚洲三级在线看| 国产片一区二区| 久久午夜免费电影| 日韩欧美成人激情| 7777精品伊人久久久大香线蕉 | 丰满白嫩尤物一区二区| 美国毛片一区二区三区| 亚洲国产va精品久久久不卡综合| ...av二区三区久久精品| 久久青草国产手机看片福利盒子| 欧美日韩国产小视频| 色欧美88888久久久久久影院| 国产成人免费视频一区| 国产最新精品精品你懂的| 日本在线不卡视频一二三区| 亚州成人在线电影| 亚洲综合精品久久| 亚洲日本va午夜在线电影| 国产精品少妇自拍| 国产日产欧美一区| 久久久久一区二区三区四区| 精品三级在线看| 精品国产露脸精彩对白| 日韩免费高清电影| 欧美电影免费观看高清完整版在线 | 777xxx欧美| 欧美日韩亚洲国产综合| 欧美三级资源在线| 欧美三级中文字| 欧美群妇大交群中文字幕| 欧美年轻男男videosbes| 欧美久久免费观看| 欧美日韩成人在线一区| 欧美丰满嫩嫩电影| 777亚洲妇女| 91精品国产综合久久久久久久 | 99九九99九九九视频精品| 成人激情免费网站| 99久久婷婷国产综合精品| 99视频在线观看一区三区| av在线播放不卡| 91亚洲国产成人精品一区二区三 | 91在线观看视频| 色噜噜偷拍精品综合在线| 在线免费视频一区二区| 欧美体内she精高潮| 欧美日韩高清不卡| 日韩精品一区在线观看| 久久久精品国产99久久精品芒果| 国产午夜三级一区二区三| 国产精品麻豆一区二区| 亚洲天堂网中文字| 亚洲一区视频在线| 婷婷综合久久一区二区三区| 久久精品国产亚洲5555| 国产自产2019最新不卡| 成人精品视频一区二区三区尤物| 成人av第一页| 欧美三级欧美一级| 欧美大片国产精品| 国产视频一区不卡| 亚洲视频网在线直播| 亚洲高清不卡在线观看| 精油按摩中文字幕久久| 成人福利电影精品一区二区在线观看 | 亚洲成av人片在线观看| 美女任你摸久久| 国产高清久久久久| 91看片淫黄大片一级在线观看| 欧美人xxxx| 欧美激情资源网| 亚洲国产日韩av| 国产一区二区免费视频| 91蝌蚪porny九色| 日韩精品最新网址| 亚洲欧美一区二区在线观看| 日日夜夜免费精品视频| 国产成人小视频| 欧美亚洲日本国产| 久久青草国产手机看片福利盒子|