READ_REGISTER_UCHAR

UCHAR
    READ_REGISTER_UCHAR(

        IN PUCHAR  Register
        );

READ_REGISTER_UCHAR reads a byte from the specified register address.

Parameters

Register
Points to the register address, which must be a mapped range in memory space.

Return Value

READ_REGISTER_UCHAR returns the byte read from the specified register address.

Comments

Callers of READ_REGISTER_UCHAR can be running at any IRQL, assuming the Register is resident, mapped device memory.