peekIO_w Function (Macro)

peekpoke.h

#define peekIO_w(port) (*((volatile unsigned short*)(long)(port)))

Reads a word from an I/O port.

peekIO_w is like peekIO, but reads a word from the I/O port instead of a byte.