GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> VXW / V7-2-0 > vxw_tornado / rad750
Typedefs | |
typedef enum _TFFS_IOC | TFFS_IOC |
typedef void | TFFS_Error_Handler (FLStatus error, int drv, unsigned int offset, int userArg) |
Enumerations | |
enum | _TFFS_IOC { TFFS_IOC_ERROR_HANDLER } |
Functions | |
STATUS | tffsIoctl (TFFS_IOC funcCode, int arg0, int arg1, int arg2) |
TFFS driver low-level control. |
This header defines the pubic interface for the TFFS control function tffsIoctl(). This function provides additional support for the TFFS EEPROM driver not found in the VxWorks distribution.
The prototype for the TFFS EEPROM error handler callback. This callback may be installed by using tffsIoctl() with function code TFFS_IOC_ERROR_HANDLER.
error | The error code reported by the EEPROM driver. | |
drv | The TFFS drive number which reported the error. | |
offset | The offset into the EEPROM bank at which the error occurred. | |
userArg | The user argument passed to tffsIoctl(). |
enum _TFFS_IOC |
Values for the tffsIoctl() function codes.
STATUS tffsIoctl | ( | TFFS_IOC | funcCode, | |
int | arg0, | |||
int | arg1, | |||
int | arg2 | |||
) |
TFFS driver low-level control.
This function provides extended control over the EEPROM MTD driver not available with the standard VxWorks TFFS interface. The funcCode parameter specifies the action to perform.
TFFS_IOC_ERROR_HANDLER - Installs a callback which will catch EEPROM MTD driver errors. Set arg0 to the address of the function and arg1 to a user parmeter value which will be passed to the callback. The callback is in the form TFFS_Error_Handler.
funcCode | One of the TFFS_IOC values specifying the action to take. | |
arg0 | Function specific parameter. | |
arg1 | Function specific parameter. | |
arg2 | Function specific parameter. |
OK | Success. | |
ERROR | Error. |