USB_VcomInit function

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB_VcomInit function

753 Views
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 Replies

509 Views
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

509 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi Biafra,

Excuse me but which MCU do you use?

Regards,

Jing

509 Views
biafra
Senior Contributor I

Hi Jing,

Sorry form the inadvertency.

I'm using MK66F18 with SDK 2.3.

Many thanks

Biafra