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

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

?? adc_ctrl.psm

?? PicoBlaze 處理器放大器和 A/D 轉換器控制器 展示了 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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产三级久久久| 国产成人免费在线视频| 韩国av一区二区| 在线观看日韩精品| 国产午夜精品久久久久久久| 午夜欧美2019年伦理| 成人丝袜18视频在线观看| 91精品国产乱码| 午夜精品久久久久久久| 不卡视频一二三四| 中文字幕精品一区二区精品绿巨人 | 亚洲成人av福利| 成人爱爱电影网址| 国产日韩欧美a| 国产精品一区免费在线观看| 欧美一区二区三区在| 亚洲图片欧美综合| 在线观看亚洲精品视频| 日韩理论片一区二区| 高清在线不卡av| 久久噜噜亚洲综合| 韩国在线一区二区| 精品国产凹凸成av人网站| 日韩精品三区四区| 欧美久久久久久蜜桃| 黑人巨大精品欧美一区| 欧美一区二区女人| 久久99精品久久久久婷婷| 91精品国产黑色紧身裤美女| 日精品一区二区| 91精品一区二区三区久久久久久 | 精品乱人伦小说| 免费在线视频一区| 精品免费视频.| 国产专区欧美精品| 国产精品对白交换视频 | 亚洲视频狠狠干| 99久久精品国产麻豆演员表| 亚洲视频电影在线| 欧美裸体一区二区三区| 男人的j进女人的j一区| 欧美videofree性高清杂交| 美女免费视频一区二区| 精品国产一区a| 国产91精品露脸国语对白| 国产精品高清亚洲| 欧美亚洲高清一区| 蜜臀av一区二区在线观看| 久久久影视传媒| 99在线视频精品| 亚洲成人www| 2021国产精品久久精品| 国产成人欧美日韩在线电影| 国产精品国产馆在线真实露脸| 色悠久久久久综合欧美99| 亚洲国产精品久久艾草纯爱 | 美女脱光内衣内裤视频久久影院| 精品国产人成亚洲区| 国产成人在线免费| 伊人开心综合网| 精品奇米国产一区二区三区| 懂色av一区二区夜夜嗨| 亚洲主播在线播放| 精品国产凹凸成av人导航| 91免费精品国自产拍在线不卡| 午夜精品视频在线观看| 精品国产成人在线影院| 色天天综合色天天久久| 精品中文字幕一区二区小辣椒| 18欧美乱大交hd1984| 91精品久久久久久久91蜜桃| 国产成人综合亚洲网站| 亚洲综合一区二区精品导航| 樱桃国产成人精品视频| 精品国产乱码久久久久久图片 | 日韩一二三四区| 97se亚洲国产综合在线| 青娱乐精品视频| 亚洲天堂免费在线观看视频| 日韩精品一区二区三区中文不卡| 96av麻豆蜜桃一区二区| 久久er99热精品一区二区| 怡红院av一区二区三区| 国产欧美一区二区三区鸳鸯浴| 欧美日韩精品一区二区在线播放| 国产成人精品1024| 麻豆freexxxx性91精品| 亚洲综合激情网| 欧美激情一区不卡| 精品久久免费看| 欧美日韩一级片网站| 菠萝蜜视频在线观看一区| 毛片一区二区三区| 天天色综合天天| 亚洲国产日韩综合久久精品| 国产精品美女久久久久久久久久久| 欧美精品三级日韩久久| 一本色道久久综合亚洲精品按摩| 国产在线一区二区综合免费视频| 亚洲永久免费视频| 亚洲人成人一区二区在线观看| 久久色.com| 日韩欧美电影一区| 日韩视频免费直播| 欧美一区二区日韩| 日韩欧美一区二区不卡| 51精品久久久久久久蜜臀| 欧美日韩一区小说| 欧美日韩国产a| 综合自拍亚洲综合图不卡区| 欧美激情综合五月色丁香| 国产喷白浆一区二区三区| 久久久亚洲国产美女国产盗摄| 精品国产一区二区三区久久影院| 精品免费日韩av| 精品国产伦一区二区三区观看体验| 精品伦理精品一区| 国产日韩欧美一区二区三区乱码| 国产日韩欧美在线一区| 中文字幕av一区二区三区免费看 | 久久精品一区二区三区不卡牛牛| 国产suv精品一区二区883| 激情综合一区二区三区| 韩国女主播一区| 国产大陆亚洲精品国产| 成人av网在线| 91福利区一区二区三区| 欧美日产在线观看| 日韩精品一区二区三区老鸭窝 | 国产精品996| 成人精品国产免费网站| 99国内精品久久| 欧美色电影在线| 精品国产一区二区精华| 欧美韩国一区二区| 亚洲免费在线观看视频| 天堂在线亚洲视频| 麻豆免费看一区二区三区| 国产91丝袜在线播放0| 一本一道综合狠狠老| 欧美精品99久久久**| 精品久久国产老人久久综合| 国产女人18水真多18精品一级做| 中文字幕色av一区二区三区| 亚洲综合偷拍欧美一区色| 青青青伊人色综合久久| 成人av动漫网站| 91精品一区二区三区久久久久久 | 欧美一区二区性放荡片| 国产日韩欧美a| 丝袜脚交一区二区| 国产aⅴ综合色| 欧美绝品在线观看成人午夜影视| 久久久久国产一区二区三区四区 | 久久精品人人做人人综合| 中文字幕亚洲视频| 开心九九激情九九欧美日韩精美视频电影 | 日韩电影免费在线看| 国产九色精品成人porny| 色妹子一区二区| 26uuu成人网一区二区三区| 亚洲色图都市小说| 国内精品视频666| 欧美日韩激情一区二区三区| 国产无遮挡一区二区三区毛片日本| 亚洲高清视频在线| 成人不卡免费av| 精品sm捆绑视频| 日韩中文欧美在线| 91尤物视频在线观看| 久久影院视频免费| 午夜私人影院久久久久| 99国产精品久久久久久久久久 | 不卡电影一区二区三区| 欧美va天堂va视频va在线| 亚洲一区二区三区自拍| 成人黄色网址在线观看| 精品国产免费视频| 开心九九激情九九欧美日韩精美视频电影| 一本一本大道香蕉久在线精品| 日本一区二区动态图| 国产在线不卡一卡二卡三卡四卡| 欧美日本一区二区三区| 亚洲一区二区三区四区中文字幕| 成av人片一区二区| 国产欧美精品区一区二区三区| 激情六月婷婷久久| 日韩免费看的电影| 日韩av高清在线观看| 欧美体内she精高潮| 亚洲综合一二区| 欧美视频日韩视频| 亚洲www啪成人一区二区麻豆| 日本久久精品电影| 一区二区三区丝袜| 欧美少妇一区二区| 奇米亚洲午夜久久精品| 在线成人av影院| 日韩av电影天堂| 欧美日韩精品一区二区|