亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
欧美肥妇free| 免费看黄色91| 91丨九色丨黑人外教| 国产女主播一区| 成人永久aaa| 亚洲人成网站色在线观看| 91黄色在线观看| 日韩专区一卡二卡| 精品国产露脸精彩对白| 懂色av一区二区三区免费看| 日韩美女视频一区二区 | 一本一道综合狠狠老| 亚洲精品久久7777| 欧美二区在线观看| 国产一区高清在线| 亚洲女同ⅹxx女同tv| 91超碰这里只有精品国产| 国产在线看一区| 亚洲日本在线天堂| 日韩三级精品电影久久久| 国产福利不卡视频| 亚洲精品日日夜夜| 欧美成人一区二区三区片免费| 国产老肥熟一区二区三区| 亚洲激情成人在线| 欧美成va人片在线观看| aaa国产一区| 美女在线视频一区| 最新热久久免费视频| 88在线观看91蜜桃国自产| 国产乱理伦片在线观看夜一区| 亚洲一区免费在线观看| 2017欧美狠狠色| 欧美午夜一区二区| 床上的激情91.| 蜜桃精品视频在线| 亚洲黄色尤物视频| 久久久不卡网国产精品二区| 欧美日韩一区二区三区不卡| 国产成人免费9x9x人网站视频| 亚洲成人免费在线| 中文字幕一区二区在线观看| 欧美成人官网二区| 欧美在线一区二区三区| 国产成人高清视频| 久久精品国产成人一区二区三区| 亚洲激情男女视频| 国产精品久久久久久久久晋中| 日韩一级黄色片| 91福利视频在线| 成人精品视频一区二区三区尤物| 日韩黄色片在线观看| 亚洲天堂福利av| 久久精品男人天堂av| 欧美一区二区三区系列电影| 在线视频你懂得一区二区三区| 国产激情一区二区三区四区| 另类小说一区二区三区| 亚洲国产中文字幕在线视频综合| 国产精品蜜臀av| 久久久不卡网国产精品二区| 精品99一区二区| 日韩精品一区二区三区在线| 欧美男女性生活在线直播观看| 色噜噜久久综合| 91视频观看视频| av在线不卡免费看| 成人国产精品免费观看动漫| 国产精品一区二区91| 国产曰批免费观看久久久| 免费观看成人鲁鲁鲁鲁鲁视频| 亚洲不卡在线观看| 亚洲成人激情自拍| 五月婷婷另类国产| 日韩国产精品大片| 日本三级韩国三级欧美三级| 日韩成人免费电影| 美女一区二区三区在线观看| 裸体健美xxxx欧美裸体表演| 美国毛片一区二区| 国产主播一区二区三区| 国产自产v一区二区三区c| 国产精品一区免费在线观看| 国产精品一二三区在线| 高潮精品一区videoshd| 成人黄色在线看| 91视频一区二区| 在线看国产一区二区| 欧美日韩成人在线| 欧美一级国产精品| 久久免费看少妇高潮| 亚洲欧美在线高清| 一级做a爱片久久| 日日欢夜夜爽一区| 久久成人免费电影| 成人天堂资源www在线| 99riav一区二区三区| 欧美亚洲免费在线一区| 制服丝袜激情欧洲亚洲| 久久久亚洲国产美女国产盗摄 | 精油按摩中文字幕久久| 国产精品一线二线三线精华| 91美女片黄在线观看| 欧美日韩免费观看一区三区| 日韩欧美亚洲另类制服综合在线| 久久久久久久网| 亚洲欧美综合色| 香蕉乱码成人久久天堂爱免费| 日本欧美一区二区三区| 国产另类ts人妖一区二区| 91久久精品一区二区| 欧美一卡在线观看| 国产精品嫩草99a| 午夜国产精品影院在线观看| 国产精品亚洲人在线观看| 9人人澡人人爽人人精品| 51精品国自产在线| 中文子幕无线码一区tr| 午夜影院在线观看欧美| 高清成人在线观看| 欧美一区二区三区免费| 亚洲欧洲日韩女同| 青青草91视频| 97精品久久久久中文字幕 | 欧美一级黄色大片| 亚洲三级电影全部在线观看高清| 婷婷国产在线综合| 99精品偷自拍| 精品久久久久久久久久久久久久久 | 久久伊99综合婷婷久久伊| 亚洲日本丝袜连裤袜办公室| 黄页视频在线91| 91福利社在线观看| 欧美激情一区二区三区全黄| 天堂一区二区在线| 一本色道综合亚洲| 国产亚洲一二三区| 日本不卡在线视频| 欧美在线一二三四区| 国产女人水真多18毛片18精品视频| 欧美aaa在线| 欧美三区在线观看| 最新国产精品久久精品| 国产成人aaaa| 久久色中文字幕| 久久成人精品无人区| 欧美一区二区在线观看| 亚洲最新在线观看| 91亚洲午夜精品久久久久久| 国产欧美日韩三级| 黄色日韩网站视频| 精品国产不卡一区二区三区| 日韩成人伦理电影在线观看| 欧美影视一区在线| 亚洲欧美国产毛片在线| av欧美精品.com| 国产精品久久久久久久久图文区| 国产电影一区二区三区| 久久综合久久综合亚洲| 久久国产精品一区二区| 欧美一级xxx| 蜜桃精品视频在线观看| 欧美一区二区在线播放| 丝袜亚洲精品中文字幕一区| 欧美日韩国产乱码电影| 香蕉久久夜色精品国产使用方法| 欧美系列亚洲系列| 日韩高清一区在线| 91精品国模一区二区三区| 日韩黄色小视频| 日韩午夜在线播放| 久久精品av麻豆的观看方式| 精品噜噜噜噜久久久久久久久试看 | 亚洲福利一二三区| 欧美人狂配大交3d怪物一区| 天天综合日日夜夜精品| 欧美一区二区三区日韩| 精品在线播放午夜| 国产三级一区二区| 99精品国产视频| 亚洲一区二区在线视频| 欧美高清精品3d| 久久99国产精品久久99果冻传媒| 欧美精品一区二区三区久久久 | 色激情天天射综合网| 一区二区三区不卡视频在线观看 | 黄色日韩三级电影| 中国av一区二区三区| 色哟哟欧美精品| 五月天亚洲婷婷| 2021久久国产精品不只是精品| 成人激情免费电影网址| 亚洲高清视频在线| 26uuu色噜噜精品一区二区| 成人av电影在线| 午夜伊人狠狠久久| 国产色产综合色产在线视频| 色屁屁一区二区| 麻豆传媒一区二区三区| 国产精品久久久久久久久免费相片|