This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123G关于diskio.c的问题



diskio.c代码

#include <stdint.h> #include <stdbool.h> #include "inc/hw_types.h" #include "driverlib/sysctl.h" #include "usblib/usblib.h" #include "usblib/usbmsc.h" #include "usblib/host/usbhost.h" #include "usblib/host/usbhmsc.h" #include "diskio.h" #include "ff.h"

extern tUSBHMSCInstance *psMSCInstance;

错误提示:tUSBHMSCInstance *psMSCInstance未被定义,psMSCInstance这个应该是用来读取USB状态的,请问main中哪个函数用来读取状态啊?