USB_VcomInit function

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB_VcomInit function

994 次查看
biafra
Senior Contributor I

Hi everyone,

I'm working on a project where I need to output some debug strings on a CDC virtual COM.

I defined:

#define       BOARD_USE_VIRTUALCOM

#define       BOARD_DEBUG_UART_TYPE        DEBUG_CONSOLE_DEVICE_TYPE_USBCDC

This way some code is enabled to be compiled; it calls the following functions:

USB_VcomInit()

USB_VcomDeinit()

USB_VcomWriteBlocking()

USB_VcomReadBlocking()

These functions aren't defined anywhere in the project code, I've shearched in all the SDK files (version 2.3), but I'm not been able to find them.

Where can I find them? Do I need to write them my own way?

Many thanks

Biafra

3 回复数

750 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi biafra,

These function names is used to interface with customer's application. You have to write these function by yourself. Please refer to https://community.nxp.com/message/939834?commentID=939834#comment-939834 

Regards,

Jing

750 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi Biafra,

Excuse me but which MCU do you use?

Regards,

Jing

750 次查看
biafra
Senior Contributor I

Hi Jing,

Sorry form the inadvertency.

I'm using MK66F18 with SDK 2.3.

Many thanks

Biafra