Compartilhar via


MASKREG16 (Compact 2013)

10/16/2014

This macro is a helper function that uses a bit mask to write a 16-bit word to a specified address.

Syntax

#define MASKREG16(x, y, z)

Parameters

  • x
    Specifies the address to which the 16-bit word will be written. The memory address space is used for all hardware platforms.
  • y
    Bits to be cleared from the address.
  • z
    Specifies the new bits to be set.

Return Value

Requirements

Header

oal_io.h

See Also

Reference

OAL I/O Macros