TI-RTOS Drivers  tidrivers_full_2_20_00_08
Modules | Macros
USBMSCHFatFs_control command and status codes
Collaboration diagram for USBMSCHFatFs_control command and status codes:

Modules

 Status Codes
 
 Command Codes
 

Macros

#define USBMSCHFatFs_CMD_RESERVED   32
 
#define USBMSCHFatFs_STATUS_RESERVED   -32
 

Detailed Description

These USBMSCHFatFs macros are reservations for USBMSCHFatFs.h

Macro Definition Documentation

#define USBMSCHFatFs_CMD_RESERVED   32

Common USBMSCHFatFs_control command code reservation offset. USBMSCHFatFs driver implementations should offset command codes with USBMSCHFatFs_CMD_RESERVED growing positively

Example implementation specific command codes:

1 #define USBMSCHFatFsXYZ_CMD_COMMAND0 USBMSCHFatFs_CMD_RESERVED + 0
2 #define USBMSCHFatFsXYZ_CMD_COMMAND1 USBMSCHFatFs_CMD_RESERVED + 1
#define USBMSCHFatFs_STATUS_RESERVED   -32

Common USBMSCHFatFs_control status code reservation offset. USBMSCHFatFs driver implementations should offset status codes with USBMSCHFatFs_STATUS_RESERVED growing negatively.

Example implementation specific status codes:

1 #define USBMSCHFatFsXYZ_STATUS_ERROR0 USBMSCHFatFs_STATUS_RESERVED - 0
2 #define USBMSCHFatFsXYZ_STATUS_ERROR1 USBMSCHFatFs_STATUS_RESERVED - 1
3 #define USBMSCHFatFsXYZ_STATUS_ERROR2 USBMSCHFatFs_STATUS_RESERVED - 2
Copyright 2016, Texas Instruments Incorporated