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

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

?? adc_ctrl.psm

?? PicoBlaze 處理器放大器和 A/D 轉(zhuǎn)換器控制器 展示了 Linear Technology LTC6912-1 可編程增益放大器和 Linear Technology LTC1407A 模
?? 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

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品国产三级国产a| 亚洲午夜在线电影| 精品一区二区三区视频在线观看| 99麻豆久久久国产精品免费优播| 欧美mv和日韩mv的网站| 日产国产欧美视频一区精品| 91精品欧美综合在线观看最新| 一区二区免费看| 在线看国产一区| 亚洲天堂福利av| 欧美日韩国产综合久久| 秋霞av亚洲一区二区三| 欧美mv日韩mv国产网站| 蜜桃久久久久久| 久久看人人爽人人| 91在线观看地址| 一区二区三区精密机械公司| 欧美日韩国产欧美日美国产精品| 天堂在线亚洲视频| 91精品久久久久久蜜臀| 在线看国产日韩| 九九视频精品免费| 国产日韩精品一区二区三区在线| 国产91精品精华液一区二区三区 | 国产精品一区二区视频| 亚洲人一二三区| 视频一区二区三区在线| 成人的网站免费观看| 欧美一区二区三级| 国内成人精品2018免费看| 日本女人一区二区三区| 国产精品成人午夜| 亚洲一区二区三区四区五区黄| 五月婷婷综合在线| 国产精品一区久久久久| 国产a视频精品免费观看| 成人美女视频在线看| 91香蕉国产在线观看软件| 色婷婷香蕉在线一区二区| 一区二区三区资源| 日韩电影在线观看一区| 99久久精品99国产精品| 91麻豆国产自产在线观看| 不卡影院免费观看| 91蝌蚪porny九色| 精品视频色一区| 精品久久久久久久久久久院品网| 久久久.com| 青青草一区二区三区| 91丝袜美腿高跟国产极品老师| 欧美精品久久99| 国产精品日韩成人| 国产精品中文字幕一区二区三区| 欧美色视频在线| 中文字幕成人在线观看| 国产高清在线精品| 欧美一区二区三区男人的天堂| 国产精品女主播av| 国产suv精品一区二区883| 日韩精品一区国产麻豆| 粉嫩av亚洲一区二区图片| 欧美综合亚洲图片综合区| 欧美激情综合五月色丁香| 美脚の诱脚舐め脚责91 | 国产精品白丝jk黑袜喷水| 51精品秘密在线观看| 亚洲成av人片观看| 欧美日韩亚洲另类| 亚洲精品伦理在线| 99精品黄色片免费大全| 国产人成亚洲第一网站在线播放| 奇米综合一区二区三区精品视频| 99精品欧美一区| 亚洲国产精品av| 91在线丨porny丨国产| 亚洲欧美日韩久久精品| 在线观看中文字幕不卡| 一区二区三区久久久| 欧美天堂亚洲电影院在线播放| 丝袜a∨在线一区二区三区不卡| 欧美一区二区三区视频免费| 国模大尺度一区二区三区| 国产精品天干天干在观线| 一本一道波多野结衣一区二区 | 久久成人久久鬼色| 亚洲美女区一区| 亚洲福利一区二区| 欧美大黄免费观看| 9l国产精品久久久久麻豆| 首页亚洲欧美制服丝腿| 国产视频一区在线观看| 91香蕉视频在线| 国产乱码精品一区二区三区忘忧草 | 亚洲欧美视频在线观看| 91精选在线观看| 一本一本大道香蕉久在线精品 | 国产久卡久卡久卡久卡视频精品| 亚洲色图一区二区| 国产喷白浆一区二区三区| 欧美日韩一级二级| 91在线播放网址| 国产在线播精品第三| 亚洲aⅴ怡春院| 亚洲精品高清在线观看| 欧美韩国日本一区| 久久综合九色综合97婷婷| 69精品人人人人| 欧美精品视频www在线观看 | 亚洲午夜成aⅴ人片| 国产精品不卡在线观看| 国产日韩精品一区| 久久久精品欧美丰满| 欧美电影免费观看高清完整版在线观看 | 91亚洲精品乱码久久久久久蜜桃| 国内成人自拍视频| 日韩欧美亚洲一区二区| 欧美日韩综合在线| 6080国产精品一区二区| 91精品国模一区二区三区| 欧美日韩精品欧美日韩精品 | 欧美一区二区黄色| 日韩精品中文字幕一区| 欧美成人国产一区二区| ww亚洲ww在线观看国产| 国产色婷婷亚洲99精品小说| 久久久久亚洲综合| 亚洲欧洲一区二区三区| 亚洲欧洲综合另类| 有坂深雪av一区二区精品| 亚洲高清在线视频| 国产精品一区在线观看乱码| 成人国产免费视频| 欧美日韩精品欧美日韩精品| 欧美一区二区国产| 日本一区二区久久| 亚洲不卡一区二区三区| 美女一区二区三区| 一本在线高清不卡dvd| 欧美一区二区三区电影| 国产精品久久久久久久久图文区 | 一区二区三区av电影| 久久国产精品99精品国产| 国内精品在线播放| 色综合久久66| 久久久久久麻豆| 亚洲电影一区二区三区| 国内国产精品久久| 一本色道久久综合亚洲精品按摩| 日韩精品一区二区三区中文精品| 日本一区二区三区久久久久久久久不| 亚洲宅男天堂在线观看无病毒| 欧美性大战久久| 中文字幕乱码日本亚洲一区二区 | 91论坛在线播放| 1024成人网| www.在线欧美| 国产精品久久久久久久久免费樱桃| 黄一区二区三区| 7777精品久久久大香线蕉| 亚洲夂夂婷婷色拍ww47| 暴力调教一区二区三区| 精品国产1区二区| 精品一区二区三区视频| 欧美色老头old∨ideo| 国产精品伦理一区二区| 成人aa视频在线观看| 欧美国产欧美亚州国产日韩mv天天看完整| 久久精品国产成人一区二区三区 | 最近日韩中文字幕| 日本高清不卡在线观看| 亚洲成人黄色影院| 久久九九全国免费| 777久久久精品| 亚洲女人****多毛耸耸8| 五月天精品一区二区三区| 国产成人精品在线看| 一区二区三区中文字幕电影| 国产成人av电影| 7777精品久久久大香线蕉| 国产激情一区二区三区| 亚洲视频网在线直播| 日韩亚洲欧美一区| 99久久99久久免费精品蜜臀| 亚洲妇女屁股眼交7| 国产欧美日韩另类视频免费观看| 欧美亚洲日本国产| 91丝袜国产在线播放| 91精品国产综合久久香蕉麻豆| 亚洲成av人片观看| 精品99久久久久久| 91麻豆免费看| 久久国产免费看| 国产精品乱码妇女bbbb| 欧美亚一区二区| 欧美精品一卡两卡| 国产专区综合网| 亚洲人成7777| 久久夜色精品国产噜噜av| av不卡在线播放| 国产精品主播直播|