Pamux User’s Guide 91
PamuxReadType
PROTOTYPE:
int PamuxReadType(int hAc28, int Bank, int* pType);
DESCRIPTION:
Reads brain board type. the AC28 reset register, when read, has the board type for the last brain
board accessed. The values are: 1 for B4, 2 for a B5, and 3 for B6. A type of 0 indicates an
unsuccessful operation. If Bank is -1, the type most recently accessed brain board is returned.
This is a means of determining if the most recent operation was successful. If Bank is a valid bank
number then this function will automatically access the brain board specified by ‘Bank’ by
performing a ‘read’, then the board type will be determined.
PROGRAMING WITH THE PAMUX DRIVER