MC417_OEN
cx_write(MC417_OEN, NETUP_EN_ALL);
cx_write(MC417_OEN, NETUP_EN_ALL | NETUP_DATA);
cx_write(MC417_OEN, regval);
cx_write(MC417_OEN, MC417_MIRDY);
cx_write(MC417_OEN, MC417_MIRDY);
cx_write(MC417_OEN, MC417_MIRDY | MC417_MIDATA);
cx_write(MC417_OEN, MC417_MIRDY);
cx_write(MC417_OEN, MC417_MIRDY);
cx_write(MC417_OEN, MC417_MIRDY | MC417_MIDATA);
cx_write(MC417_OEN, 0x00001000);
cx_write(MC417_OEN, 0x00001000);
cx_write(MC417_OEN, 0x00005000);
cx_write(MC417_OEN, 0x00001000);
cx_clear(MC417_OEN, (mask & 0x7fff8) >> 3);
cx_set(MC417_OEN, (mask & 0x7fff8) >> 3);
cx_write(MC417_OEN, SP2_EN_ALL);
cx_write(MC417_OEN, SP2_EN_ALL | SP2_DATA);
cx_set(MC417_OEN, ALT_DATA);
cx_clear(MC417_OEN, ALT_DATA);/* D0-D7 out */