GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > FILE / V3-8-0
Constituent: file_lcp     Tag: rad750
#include "stdio.h"
Include dependency graph for FILE_defs.h:
This graph shows which files directly or indirectly include this file:
File Device Definitions | |
#define | FILE_DEV_NAME_BOOT "/boot" |
#define | FILE_DEV_NAME_RAM "/ram" |
#define | FILE_DEV_NAME_EE0 "/ee0" |
#define | FILE_DEV_NAME_EE1 "/ee1" |
#define | FILE_DEV_NAME_TMP "/tmp" |
#define | FILE_DEV_NUM_BOOT 0 |
#define | FILE_DEV_NUM_RAM 1 |
#define | FILE_DEV_NUM_EE0 2 |
#define | FILE_DEV_NUM_EE1 3 |
#define | FILE_DEV_NUM_TMP 4 |
#define | FILE_DEV_NUM_USR0 5 |
#define | FILE_DEV_NUM_USR1 6 |
File ID Utility Macros | |
#define | FILE_ID_M_DEV 0xe0000000 |
#define | FILE_ID_M_DIR 0x1fc00000 |
#define | FILE_ID_M_FILE 0x003fffff |
#define | FILE_ID_S_DEV 29 |
#define | FILE_ID_S_DIR 22 |
#define | FILE_ID_S_FILE 0 |
#define | FILE_ID_TO_NUM(_id, _dev, _dir, _file) |
#define | FILE_NUM_TO_ID(_id, _dev, _dir, _file) |
File Path Utility macros | |
#define | FILE_PATH_STR_SIZE 24 |
#define | FILE_PATH_STR_SIZE_USR 256 |
#define | FILE_ID_TO_PATH(_str, _dev, _dir, _file) snprintf((_str), FILE_PATH_STR_SIZE, "%s/d%03u/f%07u", (_dev), (_dir), (_file)); |
|
The name of the boot file device. |
|
The name of the TFFS/EEPROM file device 0. |
|
The name of the TFFS/EEPROM file device 1. |
|
The name of the RAM disk file device. |
|
The name of the temp file device. |
|
The device number of the boot file device. |
|
The device number of the TFFS/EEPROM file device 0. |
|
The device number of the TFFS/EEPROM file device 1. |
|
The device number of the RAM disk file device. |
|
The device number of the temp file device. |
|
The devive number of the user file device 0. |
|
The devive number of the user file device 1. |
|
The file ID device number bitmask. |
|
The file ID directory number bitmask. |
|
The file ID file number bitmask. |
|
The file ID device number shift count. |
|
The file ID directory number shift count. |
|
The file ID file number shift count. |
|
Value: { \ *(_dev) = (((_id) & FILE_ID_M_DEV) >> FILE_ID_S_DEV); \ *(_dir) = (((_id) & FILE_ID_M_DIR) >> FILE_ID_S_DIR); \ *(_file) = (((_id) & FILE_ID_M_FILE) >> FILE_ID_S_FILE); \ }
|
|
Translates file component numbers to an ASCII path name.
|
|
Value: { \ *(_id) = (((_dev) << FILE_ID_S_DEV) & FILE_ID_M_DEV); \ *(_id) |= (((_dir) << FILE_ID_S_DIR) & FILE_ID_M_DIR); \ *(_id) |= (((_file) << FILE_ID_S_FILE) & FILE_ID_M_FILE); \ }
|
|
The number of bytes needed to hold a system file path string. |
|
The number of bytes needed to hold a user-defined file path string. |