RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
861
Ctrl Command write_io_port_mask
Function Writes those bits of
Value
specified by the
Mask
parameter to the 16-bit digital output port
on the EXTENSION 1 socket connector.
Call
write_io_port_mask( Value, Mask )
Parameters
Value
16-bit output value (DIGITAL OUT0…DIGITAL OUT15). As an unsigned 32-bit
value. Only the least significant 16 bits are evaluated.
Mask
16-bit mask (for DIGITAL OUT0…DIGITAL OUT15). As an unsigned 32-bit
value. Only the least significant 16 bits are evaluated.
Comments • The
Mask
parameter determines which bits of the 16-bit digital output port are to be
altered, the
Value
parameter determines how they are altered. All bits of the 16-bit
digital output port that were not set in
Mask
remain unaltered, that is, they are
outputted again as previously.
• For
Mask
= 0xFFFF, write_io_port_mask behaves like write_io_port.
• See also Chapter 9.1.1 ”16-Bit Digital Output Port”, page 282.
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References write_io_port, write_io_port_mask_list
Delayed Short
List Command
write_io_port_mask_list
Function Like write_io_port_mask, but a list command.
Call
write_io_port_mask_list( Value, Mask )
Parameters
Value
Like write_io_port_mask.
Mask
Like write_io_port_mask.
Comments • See write_io_port_mask.
• write_io_port_mask_list cannot be used for laser power control, see
write_io_port_list.
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References write_io_port_mask, write_io_port_list, set_laser_power