Man page - msa(3)

Packages contas this manual

Manual

MSA(3) Utility Functions MSA(3)

MSA - generate 'my secondary address' command byte

#include <gpib/ib.h>

uint8_t MSA(unsigned int address);

MSA() returns a 'my secondary address' command byte corresponding to the address argument. The address may be between 0 and 31. This macro is also useful for mangling secondary addresses from the 'real' values between 0 and 31 to the range 0x60 to 0x7f used by most of the library's functions.

The appropriate MSA command byte is returned.

Copyright © 2003-2006, 2008 Frank Mori Hess

11/30/2025 linux-gpib 4.3.7