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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? adc_ctrl.psm

?? Xilinx FPGA 開發板的ADC采樣源程序 內有PDF文檔詳細說明 VHDL代碼
?? PSM
?? 第 1 頁 / 共 5 頁
字號:
                    ;KCPSM3 Program - SPI Control of Amplifier and A/D converter on Spartan-3E Starter Kit.
                    ;
                    ;
                    ;Ken Chapman - Xilinx Ltd
                    ;
                    ;Version v1.00 - 21th December 2005
                    ;
                    ;This program uses an 8KHz interrupt to generate test waveforms on the
                    ;4 analogue outputs provided by the Linear Technology LTC2624 device.
                    ;
                    ;As well as the port connections vital to communication with the UART and the SPI
                    ;FLASH memory, there are additional port connections used to disable the other
                    ;devices sharing the SPI bus on the Starter Kit board. Although these could have been
                    ;controlled at the hardware level, they are included in this code to aid
                    ;future investigations of communication with the other SPI devices using PicoBlaze.
                    ;
                    ;Connections to the LEDs, switches and press buttons are provided to aid
                    ;development and enable further experiments. Otherwise know as having fun!
                    ;
                    ;Port definitions
                    ;
                    ;
                    CONSTANT SPI_control_port, 08       ;SPI clock and chip selects
                    CONSTANT SPI_sck, 01                ;                  SCK - bit0
                    CONSTANT SPI_rom_cs, 02             ;    serial rom select - bit1
                    CONSTANT SPI_spare_control, 04      ;                spare - bit2
                    CONSTANT SPI_amp_cs, 08             ;     amplifier select - bit3
                    CONSTANT SPI_adc_conv, 10           ;          A/D convert - bit4
                    CONSTANT SPI_dac_cs, 20             ;           D/A select - bit5
                    CONSTANT SPI_amp_shdn, 40           ;       amplifier SHDN - bit6
                    CONSTANT SPI_dac_clr, 80            ;            D/A clear - bit7
                    ;
                    CONSTANT SPI_output_port, 04        ;SPI data output
                    CONSTANT SPI_sdo, 80                ;   SDO - bit7
                    ;
                    CONSTANT SPI_input_port, 01         ;SPI data input
                    CONSTANT SPI_sdi, 80                ;             SDI - bit7
                    CONSTANT SPI_amp_sdi, 40            ;   amplifier SDI - bit6
                    ;
                    ;
                    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 switch_port, 00            ;Read switches and press buttons
                    CONSTANT BTN_north, 01              ;  Buttons     North - bit0
                    CONSTANT BTN_east, 02               ;               East - bit1
                    CONSTANT BTN_south, 04              ;              South - bit2
                    CONSTANT BTN_west, 08               ;               West - bit3
                    CONSTANT switch0, 10                ;  Switches        0 - bit4
                    CONSTANT switch1, 20                ;                  1 - bit5
                    CONSTANT switch2, 40                ;                  2 - bit6
                    CONSTANT switch3, 80                ;                  3 - bit7
                    ;
                    ;LCD interface ports
                    ;
                    ;The master enable signal is not used by the LCD display itself
                    ;but may be required to confirm that LCD communication is active.
                    ;This is required on the Spartan-3E Starter Kit if the StrataFLASH
                    ;is used because it shares the same data pins and conflicts must be avoided.
                    ;
                    CONSTANT LCD_output_port, 40        ;LCD character module output data and control
                    CONSTANT LCD_E, 01                  ;   active High Enable        E - bit0
                    CONSTANT LCD_RW, 02                 ;   Read=1 Write=0           RW - bit1
                    CONSTANT LCD_RS, 04                 ;   Instruction=0 Data=1     RS - bit2
                    CONSTANT LCD_drive, 08              ;   Master enable (active High) - bit3
                    CONSTANT LCD_DB4, 10                ;   4-bit              Data DB4 - bit4
                    CONSTANT LCD_DB5, 20                ;   interface          Data DB5 - bit5
                    CONSTANT LCD_DB6, 40                ;                      Data DB6 - bit6
                    CONSTANT LCD_DB7, 80                ;                      Data DB7 - bit7
                    ;
                    ;
                    CONSTANT LCD_input_port, 02         ;LCD character module input data
                    CONSTANT LCD_read_spare0, 01        ;    Spare bits               - bit0
                    CONSTANT LCD_read_spare1, 02        ;    are zero                 - bit1
                    CONSTANT LCD_read_spare2, 04        ;                             - bit2
                    CONSTANT LCD_read_spare3, 08        ;                             - bit3
                    CONSTANT LCD_read_DB4, 10           ;    4-bit           Data DB4 - bit4
                    CONSTANT LCD_read_DB5, 20           ;    interface       Data DB5 - bit5
                    CONSTANT LCD_read_DB6, 40           ;                    Data DB6 - bit6
                    CONSTANT LCD_read_DB7, 80           ;                    Data DB7 - bit7
                    ;
                    ;
                    ;
                    ;
                    ;Special Register usage
                    ;
                    ;
                    ;
                    ;Scratch Pad Memory Locations
                    ;
                    ;Values read from the A/D converter
                    ;
                    CONSTANT ADC0_lsb, 00               ;ADC Channel 0 value LS-Byte
                    CONSTANT ADC0_msb, 01               ;                    MS-Byte
                    ;
                    CONSTANT ADC1_lsb, 02               ;ADC Channel 1 value LS-Byte
                    CONSTANT ADC1_msb, 03               ;                    MS-Byte
                    ;
                    ;Amplifier gain settings.
                    ;
                    ;Stored value is the 4-bit code for gain setting
                    ;  Code  1   2   3    4     5    6     7
                    ;  Gain -1  -2  -5  -10   -20  -50  -100
                    CONSTANT amp_A_gain, 04             ;Amplifier A gain value
                    CONSTANT amp_B_gain, 05             ;Amplifier B gain value
                    ;
                    ;Sample counter used to give activity indication on LEDs
                    ;
                    CONSTANT sample_count, 06           ;8-bit counter LS-Byte
                    ;
                    CONSTANT decimal0, 07               ;5 digit decimal value
                    CONSTANT decimal1, 08
                    CONSTANT decimal2, 09
                    CONSTANT decimal3, 0A
                    CONSTANT decimal4, 0B
                    ;
                    ;
                    ;
                    ;
                    ;Useful data constants
                    ;
                    CONSTANT VREF_lsb, 72               ;Reference voltage in milli-volts
                    CONSTANT VREF_msb, 06               ;Nominal value 1.65v so value is 1650 (0672 hex)
                    ;
                    ;Constant to define a software delay of 1us. This must be adjusted to reflect the
                    ;clock applied to KCPSM3. Every instruction executes in 2 clock cycles making the
                    ;calculation highly predictable. The '6' in the following equation even allows for
                    ;'CALL delay_1us' instruction in the initiating code.
                    ;
                    ; delay_1us_constant =  (clock_rate - 6)/4       Where 'clock_rate' is in MHz
                    ;
                    ;Example: For a 50MHz clock the constant value is (10-6)/4 = 11  (0B Hex).
                    ;For clock rates below 10MHz the value of 1 must be used and the operation will
                    ;become lower than intended.
                    ;
                    CONSTANT delay_1us_constant, 0B
                    ;
                    ;
                    ;
                    ;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
                    ;
                    ;
        cold_start: CALL SPI_init                       ;initialise SPI bus ports

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久久久久婷婷| 亚洲日本成人在线观看| 欧美国产精品中文字幕| 一区av在线播放| 国内精品久久久久影院色| 色婷婷综合久色| 亚洲精品在线一区二区| 洋洋成人永久网站入口| 国产乱码字幕精品高清av| 欧美日精品一区视频| 久久久久高清精品| 免费在线观看一区二区三区| 色综合 综合色| 欧美国产亚洲另类动漫| 久久成人18免费观看| 在线观看av不卡| 国产精品传媒入口麻豆| 国产精品一区二区无线| 日韩视频免费直播| 亚洲最大色网站| 99riav一区二区三区| 国产日韩欧美制服另类| 久久精品国产99| 日韩欧美www| 日韩在线观看一区二区| 欧美色图天堂网| 亚洲少妇30p| 91在线播放网址| 一区在线观看视频| 波多野结衣91| 玖玖九九国产精品| 4hu四虎永久在线影院成人| 亚洲一区二区在线播放相泽| 91免费精品国自产拍在线不卡| 国产三级精品三级在线专区| 极品瑜伽女神91| 欧美zozo另类异族| 精品综合久久久久久8888| 91精品久久久久久久91蜜桃| 视频一区视频二区中文字幕| 在线不卡中文字幕播放| 日韩黄色片在线观看| 7777精品伊人久久久大香线蕉 | 亚洲高清视频在线| 972aa.com艺术欧美| 亚洲精品一卡二卡| 欧美四级电影在线观看| 首页国产欧美久久| 日韩精品一区二区在线| 国产一区二区三区精品欧美日韩一区二区三区 | 精品无人区卡一卡二卡三乱码免费卡| 欧美一区二区三区爱爱| 一本大道av伊人久久综合| 亚洲综合色区另类av| 在线欧美日韩国产| 日本不卡1234视频| 久久久激情视频| 色婷婷av一区二区三区软件| 亚洲一区二区三区小说| 日韩视频永久免费| aaa欧美日韩| 午夜av一区二区三区| 欧美va亚洲va| jlzzjlzz亚洲女人18| 午夜不卡av在线| 国产日韩av一区| 欧美亚洲国产怡红院影院| 蜜桃91丨九色丨蝌蚪91桃色| 日本一区二区免费在线观看视频 | 一区二区三区成人| 欧美一区二区三区在| 国产精品99久久久久久有的能看| 亚洲日本护士毛茸茸| 精品日韩在线观看| 91福利视频网站| 国内一区二区视频| 亚洲二区在线视频| 国产亚洲成年网址在线观看| 欧美性猛交一区二区三区精品| 极品少妇xxxx精品少妇偷拍 | 天堂影院一区二区| 国产日本欧美一区二区| 欧美精品 国产精品| 日韩欧美国产一区二区在线播放| 成人综合婷婷国产精品久久蜜臀| 亚洲一区二区三区三| 欧美极品aⅴ影院| 日韩午夜电影在线观看| 丁香一区二区三区| 蜜桃免费网站一区二区三区| 亚洲人成网站影音先锋播放| 日韩免费观看高清完整版| 成人福利视频在线看| 日韩电影免费一区| 亚洲午夜在线电影| 久久久精品2019中文字幕之3| 欧美性生活久久| 91在线看国产| 国产ts人妖一区二区| 久久97超碰国产精品超碰| 亚洲一区二区三区在线看| 综合激情成人伊人| 国产精品卡一卡二| 国产亚洲一二三区| 久久久青草青青国产亚洲免观| 5566中文字幕一区二区电影| 欧美色图一区二区三区| 91久久久免费一区二区| 91女厕偷拍女厕偷拍高清| 国模大尺度一区二区三区| 免费一级欧美片在线观看| 一区二区三区免费在线观看| 中文字幕一区二区在线播放| 日本一区二区在线不卡| 国产精品日韩成人| 国产精品日产欧美久久久久| 国产精品久久久久四虎| 日本一区二区三区dvd视频在线 | 久久精品噜噜噜成人av农村| 天天影视涩香欲综合网| 亚洲无线码一区二区三区| 一区二区在线观看免费| 亚洲一区二区三区激情| 亚洲国产aⅴ天堂久久| 亚洲一二三级电影| 亚洲国产另类av| 亚洲综合色区另类av| 日韩高清在线一区| 韩国av一区二区三区四区| 国产在线观看免费一区| 国产麻豆成人传媒免费观看| 免费一区二区视频| 国产精品一二三在| 99r精品视频| 在线91免费看| 日韩一区二区三区视频在线观看| 欧美电影免费观看高清完整版 | 26uuu国产日韩综合| 久久精品亚洲国产奇米99| 1024国产精品| 亚洲成人三级小说| 精品一区二区国语对白| 成人免费毛片嘿嘿连载视频| 日本精品视频一区二区三区| 5月丁香婷婷综合| 国产亚洲女人久久久久毛片| 亚洲欧洲国产日韩| 日韩精品91亚洲二区在线观看| 婷婷久久综合九色综合绿巨人| 免费亚洲电影在线| 99精品桃花视频在线观看| 欧美三级视频在线播放| 精品国产一区二区三区四区四 | 91香蕉国产在线观看软件| 欧美日韩中文另类| 久久久99久久精品欧美| 亚洲美女电影在线| 麻豆91免费看| 91浏览器打开| 精品少妇一区二区三区视频免付费| 国产亚洲欧洲一区高清在线观看| 一区二区三区精品在线观看| 久久国产精品第一页| 暴力调教一区二区三区| 日韩亚洲欧美成人一区| 日本一区二区三级电影在线观看 | 久久久久久久久久久久电影| 亚洲一区二区四区蜜桃| 粉嫩嫩av羞羞动漫久久久| 欧美日韩的一区二区| 国产精品二三区| 国产美女在线精品| 欧美一区二区三区成人| 亚洲裸体在线观看| 国产91在线观看丝袜| 正在播放亚洲一区| 亚洲精品videosex极品| 国产91精品在线观看| 日韩欧美国产一区二区在线播放| 亚洲精选免费视频| 91美女在线观看| 欧美激情资源网| 蜜臀av性久久久久蜜臀aⅴ流畅 | 日本一区二区视频在线观看| 水蜜桃久久夜色精品一区的特点| 91麻豆精品在线观看| 欧美激情一区在线观看| 国精产品一区一区三区mba视频| 欧美精品一级二级| 亚洲精品自拍动漫在线| 91理论电影在线观看| 中文字幕亚洲欧美在线不卡| 国产成人亚洲综合a∨婷婷| 精品久久久久久最新网址| 青青草原综合久久大伊人精品优势| 在线观看视频一区二区欧美日韩| 一色屋精品亚洲香蕉网站| jizzjizzjizz欧美| 中文字幕色av一区二区三区| 成人黄页在线观看|