kitl_cfg.h
来自「Windows CE 6.0 BSP for the Beagle Board.」· C头文件 代码 · 共 56 行
H
56 行
//
// Copyright (c) Special Computing. All rights reserved.
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
//
// File: kitl_cfg.h
//
// Defines configuration parameters used used as kitl devices.
//
#ifndef __KITL_CFG_H
#define __KITL_CFG_H
//------------------------------------------------------------------------------
BOOL UARTInit(KITL_SERIAL_INFO *pInfo);
UINT16 UARTSend(UINT8 *pData, UINT16 size);
UINT16 UARTRecv(UINT8 *pData, UINT16 size);
VOID UARTFlowControl(BOOL fOn);
VOID UARTEnableInts();
VOID UARTDisableInts();
static OAL_KITL_SERIAL_DRIVER g_kitlSerialUART = {
UARTInit,
NULL,
UARTSend,
NULL,
UARTRecv,
UARTEnableInts,
UARTDisableInts,
NULL,
NULL,
UARTFlowControl, // flow control for uarts that support it
};
//------------------------------------------------------------------------------
OAL_KITL_ETH_DRIVER g_kitlUsbRndis = OAL_ETHDRV_RNDIS;
OAL_KITL_DEVICE g_kitlDevices[] = {
{
L"Serial UART2", Internal, (OMAP3_UART2_REGS_PA), 0, OAL_KITL_TYPE_SERIAL,
&g_kitlSerialUART
},
{
L"USBFn RNDIS ", Internal, OMAP2420_USBD_REGS_PA,
0, OAL_KITL_TYPE_ETH, &g_kitlUsbRndis
}, {
NULL, 0, 0, 0, 0, NULL
}
};
//------------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?