MDSIO1 is only available on uP4k devices with I/O configuration 1, such as AXM-UP4022. MDSIO1 is the object returned when the plugin is loaded. It contains other objects that can be used to access the hardware.
The following hardware is provided by this hardware:
The name of the plugin for loading is 'mdsio1'. The generic name 'hw' can also be used, which will load the plugin for any I/O. The application may then need to use mdsio1.MDSIO1#type to determine which plugin has been loaded. When loaded, a single mdsio1.MDSIO1 object is returned.
var hw = $wat.load('hw'); // Toggles the second output. hw.digOutput.toggle();