USB_VcomInit function

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USB_VcomInit function

1,428件の閲覧回数
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 返答(返信)

1,184件の閲覧回数
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

1,184件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi Biafra,

Excuse me but which MCU do you use?

Regards,

Jing

1,184件の閲覧回数
biafra
Senior Contributor I

Hi Jing,

Sorry form the inadvertency.

I'm using MK66F18 with SDK 2.3.

Many thanks

Biafra