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

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

?? uarttest_params.c

?? DM642支持4個串口的驅動代碼
?? C
字號:
/*
 *  Copyright 2003 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  
 */
/* "@(#) DDK 1.10.00.23 07-02-03 (ddk-b12)" */
/*
 *  ======== uarttest_params.c ========
 *  UART driver params settings
 */
 
#include <std.h> 

#include <uartmd.h> 


/*
 *  Device params setting for the C5402 DSK hardware UART driver
 *  The following tag needs to be -D defined in the linker build options
 */
#if defined(_UARTHW_DSK5402_)
#include <uarthw_dsk5402.h>

/* This structure holds the parameters for the 16550 UART device on the
 * DSK5402 board.
 */
UARTHW_DSK5402_Params uartParams = {
    UARTHW_DSK5402_FLOW_NONE,           /* flowControl */
    UARTHW_DSK5402_DISABLE_PARITY,      /* parity      */
    UARTHW_DSK5402_WORD8,               /* wordSize    */
    UARTHW_DSK5402_STOP1,               /* stopBits    */
    UARTHW_DSK5402_BAUD_115200,         /* baud        */
    UARTHW_DSK5402_INTR_MASK_DEFAULT    /* interrupt mask */
};

/* This structure must be specified in the device driver's device params
 * pointer in the DSP/BIOS Configuration Tool.
 */
UARTMD_DevParams uartDevParams = {
    UARTMD_VERSION_1,           /* driver version number */
    FALSE,                      /* packedChars  */
    &uartParams                 /* uartHwParams */
};

/*
 *  Device params setting for the C5402 DSK software UART driver
 *  The following tag needs to be -D defined in the linker build options
 */
#elif defined(_UARTHW_DSK5402_MCBSP_)
#define CHIP_5402       1

#include <uarthw_mcbsp.h> 
#include <csl.h>
#include <csl_mcbsp.h>
#include <csl_dma.h>

/* This structure holds the McBSP parameters and is referenced by the
 * device parameters structure.
 */
UARTHW_MCBSP_Params uartMcbspParams = {
    MCBSP_PORT1,                /* mcbspId      */
    DMA_CHA4,                   /* dmaRxId      */
    DMA_CHA5,                   /* dmaTxId      */
    100000000,                  /* mcbspClkIn   */
    115200,                     /* baud         */
    UARTHW_MCBSP_INTR_MASK_DEFAULT, /* interrupt mask */
    UARTHW_MCBSP_INTR_MASK_DEFAULT    
};

/* This structure must be specified in the device driver's device params 
 * pointer in the DSP/BIOS Configuration Tool.
 */
UARTMD_DevParams uartDevParams = {
    UARTMD_VERSION_1,           /* driver version number */
    FALSE,                      /* packedChars  */
    &uartMcbspParams            /* uartHwParams */
};

/*
 *  ======== dsk5402_mcbsp_port_enable ========
 *
 *  This function is called from GBL_init to setup MCBSP1
 *  for the for the UART daughter board
 */
Void dsk5402_mcbsp_port_enable()
{
    unsigned port;
    extern volatile ioport unsigned int port04;

    port = port04;
    port04 = port | 0x13;   /* enable McBSP1 for Daughter board */
}


/*
 *  Device params setting for the C5509 EVM software UART driver
 *  The following tag needs to be -D defined in the linker build options
 */
#elif defined(_UARTHW_EVM5509_MCBSP_)
#define CHIP_5509       1

#include <uarthw_mcbsp.h> 
#include <csl.h>
#include <csl_mcbsp.h>
#include <csl_dma.h>

/* This structure holds the McBSP parameters and is referenced by the
 * device parameters structure.
 */
UARTHW_MCBSP_Params uartMcbspParams = {
    MCBSP_PORT2,                /* mcbspId      */
    DMA_CHA4,                   /* dmaRxId      */
    DMA_CHA5,                   /* dmaTxId      */
    120000000,                  /* mcbspClkIn   */
    115200,                     /* baud         */
    {
            {
                    UARTHW_MCBSP_IER_MASK_DEFAULT,
                    UARTHW_MCBSP_IER_MASK_DEFAULT
            },
            {
                    UARTHW_MCBSP_IER_MASK_DEFAULT,
                    UARTHW_MCBSP_IER_MASK_DEFAULT
            }
    }
};

/* This structure must be specified in the device driver's device params 
 * pointer in the DSP/BIOS Configuration Tool.
 */
UARTMD_DevParams uartDevParams = {
    UARTMD_VERSION_1,           /* driver version number */
    FALSE,                      /* packedChars  */
    &uartMcbspParams            /* uartHwParams */
};


/*
 *  Device params setting for the C5510 DSK software UART driver
 *  The following tag needs to be -D defined in the linker build options
 */
#elif defined(_UARTHW_DSK5510_MCBSP_)
#define CHIP_5510       1

#include <uarthw_mcbsp.h> 
#include <csl.h>
#include <csl_mcbsp.h>
#include <csl_dma.h>

/* This structure holds the McBSP parameters and is referenced by the
 * device parameters structure.
 */
UARTHW_MCBSP_Params uartMcbspParams = {
    MCBSP_PORT0,                /* mcbspId      */
    DMA_CHA4,                   /* dmaRxId      */
    DMA_CHA5,                   /* dmaTxId      */
    200000000,                  /* mcbspClkIn   */
    115200,                     /* baud         */
    {
            {
                    UARTHW_MCBSP_IER_MASK_DEFAULT,
                    UARTHW_MCBSP_IER_MASK_DEFAULT
            },
            {
                    UARTHW_MCBSP_IER_MASK_DEFAULT,
                    UARTHW_MCBSP_IER_MASK_DEFAULT
            }
    }
};

/* This structure must be specified in the device driver's device params 
 * pointer in the DSP/BIOS Configuration Tool.
 */
UARTMD_DevParams uartDevParams = {
    UARTMD_VERSION_1,           /* driver version number */
    NULL,                       /* packedChars - Not used on C6000  */
    &uartMcbspParams            /* uartHwParams                     */
};

/*
 *  Device params setting for the C6711 DSK software UART driver
 *  The following tag needs to be -D defined in the linker build options
 */
#elif defined(_UARTHW_DSK6711_MCBSP_)
#define CHIP_6711       1

#include <uarthw_mcbsp.h> 
#include <csl.h>
#include <csl_mcbsp.h>
#include <csl_dma.h>

/* This structure holds the McBSP parameters and is referenced by the
 * device parameters structure.
 */
UARTHW_MCBSP_Params uartMcbspParams = {
    MCBSP_PORT1,                /* mcbspId      */
    NULL,                       /* dmaRxId - Not used on C6000 */
    NULL,                       /* dmaTxId - Not used on C6000 */
    75000000,                   /* mcbspClkIn   */
    115200,                     /* baud         */
    UARTHW_MCBSP_INTR_MASK_DEFAULT
};

/* This structure must be specified in the device driver's device params 
 * pointer in the DSP/BIOS Configuration Tool.
 */
UARTMD_DevParams uartDevParams = {
    UARTMD_VERSION_1,           /* driver version number */
    FALSE,                      /* packedChars  */
    &uartMcbspParams            /* uartHwParams */
};


/*
 *  Device params setting for the C6416 TEB software UART driver
 *  The following tag needs to be -D defined in the linker build options
 */
#elif defined(_UARTHW_TEB6416_MCBSP_)
#define CHIP_6416       1

#include <uarthw_mcbsp.h> 
#include <csl.h>
#include <csl_mcbsp.h>
#include <csl_dma.h>

/* This structure holds the McBSP parameters and is referenced by the
 * device parameters structure.
 */
UARTHW_MCBSP_Params uartMcbspParams = {
    MCBSP_PORT2,                /* mcbspId      */
    NULL,                       /* dmaRxId - Not used on C6000 */
    NULL,                       /* dmaTxId - Not used on C6000 */
    125000000,                  /* mcbspClkIn   */
    115200,                     /* baud         */
    UARTHW_MCBSP_INTR_MASK_DEFAULT
};

/* This structure must be specified in the device driver's device params 
 * pointer in the DSP/BIOS Configuration Tool.
 */
UARTMD_DevParams uartDevParams = {
    UARTMD_VERSION_1,           /* driver version number */
    FALSE,                      /* packedChars  */
    &uartMcbspParams            /* uartHwParams */
};

#elif defined(_UARTHW_EVMDM642_)

#include <uarthw_evmdm642.h>

/* This structure holds the EVMDM642 parameters and is referenced by the
 * device parameters structure.
 */
static UARTHW_EVMDM642_Params uartParams = {
    UARTHW_EVMDM642_FLOW_NONE,
    UARTHW_EVMDM642_DISABLE_PARITY,
    UARTHW_EVMDM642_WORD8,
    UARTHW_EVMDM642_STOP1,
    UARTHW_EVMDM642_BAUD_19200
//    UARTHW_EVMDM642_BAUD_115200
};

/* This structure must be specified in the device driver's device params 
 * pointer in the DSP/BIOS Configuration Tool.
 */
UARTMD_DevParams uartDevParams = {
    UARTMD_VERSION_1,           /* driver version number */
    FALSE,                      /* packedChars  */
    &uartParams                 /* uartHwParams */
};

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美日韩在线| 亚洲国产一区二区三区青草影视| 在线免费观看日本一区| 岛国av在线一区| 丁香桃色午夜亚洲一区二区三区| 国产精品一区2区| 成人午夜视频网站| aa级大片欧美| 欧美日韩中文字幕一区二区| 欧美人伦禁忌dvd放荡欲情| 欧美日韩精品一区二区三区四区 | 久久不见久久见免费视频7| 免费欧美日韩国产三级电影| 久久精品国产成人一区二区三区| 国产在线一区二区综合免费视频| 国产精品资源网| 色噜噜夜夜夜综合网| 欧美无砖砖区免费| 精品国产一区二区三区久久影院 | 亚洲码国产岛国毛片在线| 一区二区不卡在线播放| 日韩精品久久久久久| 国内外成人在线| zzijzzij亚洲日本少妇熟睡| 欧美综合一区二区三区| 日韩免费性生活视频播放| 国产精品午夜在线| 天天综合色天天| 国产不卡高清在线观看视频| 在线看国产一区| 精品久久一二三区| 亚洲三级小视频| 激情综合色综合久久| 91看片淫黄大片一级| 日韩小视频在线观看专区| 国产精品沙发午睡系列990531| 一区二区三区在线免费| 狠狠色丁香久久婷婷综| 在线免费不卡视频| 国产女人水真多18毛片18精品视频| 一区二区三区日韩在线观看| 韩国欧美国产1区| 欧美在线观看18| 国产午夜精品一区二区| 性做久久久久久久免费看| 国产91在线观看| 日韩一区二区三区四区五区六区| 国产精品夫妻自拍| 蜜芽一区二区三区| 在线观看亚洲一区| 国产精品久久久久影院亚瑟| 久久激五月天综合精品| 欧美三级韩国三级日本一级| 中文字幕人成不卡一区| 国内成+人亚洲+欧美+综合在线| 91色在线porny| 欧美国产乱子伦| 国产一区二区视频在线播放| 91麻豆精品91久久久久久清纯| 亚洲视频资源在线| 丁香激情综合国产| 中文字幕欧美日本乱码一线二线| 久久激情五月激情| 欧美一区二区三区在线观看视频 | 日韩午夜电影在线观看| 一区二区三区日韩精品视频| 97se亚洲国产综合自在线不卡| 久久久美女艺术照精彩视频福利播放| 日本中文字幕一区| 在线播放日韩导航| 日韩精品一区第一页| 精品污污网站免费看| 亚洲一区在线电影| 欧美色中文字幕| 亚洲一级二级在线| 欧美日韩你懂的| 婷婷久久综合九色综合绿巨人| 欧美视频一区二区三区在线观看| 亚洲一二三区在线观看| 欧美日韩日日骚| 麻豆精品一二三| 久久亚洲影视婷婷| 国产成人亚洲综合a∨猫咪| 久久精品日产第一区二区三区高清版| 国产成人免费高清| 最新成人av在线| 在线视频一区二区三区| 丝瓜av网站精品一区二区| 欧美一级高清片| 韩国v欧美v亚洲v日本v| 中文字幕日本乱码精品影院| 一本色道久久综合亚洲精品按摩| 亚洲成人一区二区在线观看| 欧美不卡视频一区| 国产91在线|亚洲| 亚洲综合精品久久| 日韩欧美www| 成人免费毛片嘿嘿连载视频| 亚洲伊人色欲综合网| 欧美r级在线观看| 成人av资源网站| 爽好久久久欧美精品| 国产农村妇女精品| 欧美日韩中字一区| 国产成人精品影视| 一区二区在线看| 精品成人免费观看| 色综合网站在线| 国产在线播放一区三区四| 亚洲婷婷在线视频| 日韩三级精品电影久久久| 成人午夜免费电影| 日日噜噜夜夜狠狠视频欧美人| 久久久久亚洲蜜桃| 欧美三日本三级三级在线播放| 国产剧情av麻豆香蕉精品| 亚洲福利一二三区| 18成人在线视频| 精品久久99ma| 欧美日韩国产一级| www.日韩大片| 国产综合久久久久影院| 一区二区三区中文字幕在线观看| 欧美精品一区二区三区一线天视频| 色综合天天性综合| 国产成人午夜精品影院观看视频| 午夜精品久久久久久| 国产精品成人免费在线| www国产成人| 欧美日韩国产成人在线免费| 91麻豆精品在线观看| 国产精品一区免费视频| 毛片av中文字幕一区二区| 一区二区免费看| 亚洲视频一二区| 久久九九影视网| 26uuu精品一区二区三区四区在线| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 欧美日韩精品一区视频| 91免费版在线| 99re在线视频这里只有精品| 国产成人综合亚洲91猫咪| 国产麻豆日韩欧美久久| 国产做a爰片久久毛片| 美日韩一级片在线观看| 麻豆精品蜜桃视频网站| 男人的天堂久久精品| 日韩精品福利网| 日韩精品一区第一页| 蜜臀av一区二区| 久久精品国产澳门| 国内成人精品2018免费看| 黄页视频在线91| 国产伦精一区二区三区| 国产成人在线视频网址| 风间由美中文字幕在线看视频国产欧美| 精品亚洲成av人在线观看| 国模冰冰炮一区二区| 国产成人综合在线| 91色乱码一区二区三区| 在线免费观看日本欧美| 欧美高清视频在线高清观看mv色露露十八| 欧美在线视频全部完| 欧美日韩国产一二三| 欧美mv日韩mv国产网站| 久久综合国产精品| 欧美激情一区二区三区在线| 国产精品你懂的| 夜夜嗨av一区二区三区网页| 午夜精品免费在线观看| 久久国产日韩欧美精品| 国产精品一区三区| 91精品福利在线| 日韩午夜中文字幕| 国产嫩草影院久久久久| 一区二区三区四区不卡在线| 视频精品一区二区| 国产中文字幕精品| 91美女片黄在线| 日韩欧美精品在线| 国产精品理伦片| 亚洲午夜精品17c| 国内精品嫩模私拍在线| 色婷婷激情久久| 久久影院视频免费| 亚洲美女精品一区| 久久国产精品区| 色88888久久久久久影院按摩| 91精品国产色综合久久不卡蜜臀| 日本一区二区三区四区| 亚洲va欧美va人人爽午夜| 国产一区二区三区在线观看免费| 99国产精品久久久久久久久久久 | 成人性生交大片免费| 在线成人高清不卡| 自拍偷拍亚洲欧美日韩| 国产一区二三区好的| 欧美日韩视频在线一区二区| 国产精品久线观看视频| 日本伊人精品一区二区三区观看方式|