Partager via


UsbDbgSerMdd Implementation (Compact 2013)

10/16/2014

The UsbDbgSerMdd library emulates a virtual serial port over USB and implements KITL Functions for Serial Drivers. You, the OEM developer, can call the UsbDbgSerMdd public functions from your platform-dependent device driver (PDD). These public functions are implementations of the KITL functions for serial drivers shown in the following table. Not all KITL functions for serial drivers are implemented. Serial_EnableInts() and Serial_DisableInts() are implemented, but do nothing.

The following table shows the names of the KITL functions for serial drivers as they are implemented in oal_usbdbgrsermdd.lib.

KITL Functions for Serial Drivers

UsbDbgSerMdd Public Interface

OAL_KITLSERIAL_DEINIT

void Serial_DeInit()

OAL_KITLSERIAL_DISABLE_INTS

void Serial_DisableInts()

OAL_KITLSERIAL_ENABLE_INTS

void Serial_EnableInts()

OAL_KITLSERIAL_RECV

UINT16 Serial_Recv(
UINT8 *pData,
UINT16 size
)

OAL_KITLSERIAL_INIT

BOOL Serial_Init(KITL_SERIAL_INFO *pInfo);

OAL_KITLSERIAL_POWER_OFF

void Serial_PowerOff()

OAL_KITLSERIAL_POWER_ON

void Serial_PowerOn()

OAL_KITLSERIAL_SEND

UINT16 Serial_Send(
UINT8 *pData,
UINT16 size
)

See Also

Other Resources

USB Debug Reference