GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > RIM / V0-0-2
Constituent: rim     Tag: linux-gcc
#include "RIM/lrd.h"
#include <unistd.h>
#include <stdio.h>
Include dependency graph for map.h:
This graph shows which files directly or indirectly include this file:
Typedefs | |
typedef RIM_map_ | RIM_map |
Forward declaration of the RIM_map structure, a bit-map of all the LAT components. | |
Functions | |
size_t | RIM_sizeofMap (void) |
Calculate the total size of a RIM_map object. | |
RIM_map * | RIM_constructMap (void *buffer) |
Initialise the supplied memory as a RIM_map object. | |
unsigned | RIM_setBit (RIM_map *map, RIM_type type, const RIM_addr *addr) |
Set a bit in the map. | |
unsigned | RIM_clearBit (RIM_map *map, RIM_type type, const RIM_addr *addr) |
Clear a bit in the map. | |
int | RIM_checkBit (const RIM_map *map, RIM_type type, const RIM_addr *addr) |
Check a bit in the map. | |
int | RIM_countBits (const RIM_map *map, RIM_type type) |
Clear a bit in the map. | |
void | RIM_setACD (RIM_map *map) |
Set all the bits in the ARC and AFE submaps. | |
void | RIM_clearACD (RIM_map *map) |
Clear all the bits in the ARC and AFE submaps. | |
unsigned | RIM_setTWR (RIM_map *map, unsigned twr) |
Set all the bits in TEM, TIC, CCC, CRC, CFE, TCC TRC and TFE submaps corresponding to a particular tower. | |
unsigned | RIM_clearTWR (RIM_map *map, unsigned twr) |
Clear all the bits in TEM, TIC, CCC, CRC, CFE, TCC TRC and TFE submaps corresponding to a particular tower. | |
unsigned | RIM_setByTWR (RIM_map *map, RIM_type type, unsigned twr) |
unsigned | RIM_clearByTWR (RIM_map *map, RIM_type type, unsigned twr) |
void | RIM_setMap (RIM_map *map) |
Set the map. | |
void | RIM_clearMap (RIM_map *map) |
Clear the map. | |
void | RIM_dumpMap (RIM_map *map, FILE *fp) |
Print out the map. | |
unsigned | RIM_createMap (RIM_map *map, int fd) |
Write out the data of a RIM_map structure. | |
unsigned | RIM_consumeMap (RIM_map *map, int fd) |
Read map data into the map structure. |
|
Check a bit in the map.
|
|
Clear all the bits in the ARC and AFE submaps.
|
|
Clear a bit in the map.
|
|
|
|
Clear the map.
|
|
Clear all the bits in TEM, TIC, CCC, CRC, CFE, TCC TRC and TFE submaps corresponding to a particular tower.
|
|
Initialise the supplied memory as a RIM_map object.
|
|
Read map data into the map structure.
|
|
Clear a bit in the map.
|
|
Write out the data of a RIM_map structure.
|
|
Print out the map.
|
|
Set all the bits in the ARC and AFE submaps.
|
|
Set a bit in the map.
|
|
|
|
Set the map.
|
|
Set all the bits in TEM, TIC, CCC, CRC, CFE, TCC TRC and TFE submaps corresponding to a particular tower.
|
|
Calculate the total size of a RIM_map object.
|