def write_iodir(self, iodir=None):
if iodir is not None:<EOL><INDENT>self.iodir = iodir<EOL><DEDENT>self._device.writeList(self.IODIR, self.iodir)<EOL>
Write the specified byte value to the IODIR registor.  If no value
        specified the current buffered value will be written.