/****************************************************/ /* */ /* patn.h */ /* */ /* Address map for the CAEN Mod V 259 */ /* */ /* */ /****************************************************/ #define PATN_BASE 0x00400000 /* Base Address */ #define PATN_RESET 0X1 /*Reset all registers*/ /* reset is write only; other locs are read only */ struct PATN { unsigned short space[16]; unsigned short reset, read_reset, read_reset_mult; unsigned short read, read_mult; unsigned short unused[104]; unsigned short faf5, man_type, ver_serial; } *PATN;