GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > VXW / V7-1-1

Constituent: vxw_flight     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

tffsIoctl.h File Reference

TFFS ioctl extension. More...

This graph shows which files directly or indirectly include this file:


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.

Detailed Description

TFFS ioctl extension.

Author:
D.L. Wood
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.

Typedef Documentation

TFFS_Error_Handler
 

The prototype for the TFFS EEPROM error handler callback. This callback may be installed by using tffsIoctl() with function code TFFS_IOC_ERROR_HANDLER.

Parameters:
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().

TFFS_IOC
 

The typedef for _TFFS_IOC.


Enumeration Type Documentation

enum _TFFS_IOC
 

Values for the tffsIoctl() function codes.

Enumerator:
TFFS_IOC_ERROR_HANDLER  Install an error handler callback for the EEPROM MTD driver.


Function Documentation

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.

Parameters:
funcCode One of the TFFS_IOC values specifying the action to take.
arg0 Function specific parameter.
arg1 Function specific parameter.
arg2 Function specific parameter.
Return values:
OK Success.
ERROR Error.


Generated on Sat Feb 2 01:36:41 2008 by  doxygen 1.4.4