GP0_IO
cx_set(GP0_IO, 0x00070007);
cx_clear(GP0_IO, 2);
cx_clear(GP0_IO, 7);
cx_set(GP0_IO,
cx_set(GP0_IO, 7);
cx_clear(GP0_IO, bitmask);
cx_set(GP0_IO, bitmask);
cx_set(GP0_IO, 0x00010001); /* Bring the part out of reset */
cx_set(GP0_IO, 0x00050000);
cx_clear(GP0_IO, 0x00000005);
cx_set(GP0_IO, 0x00050005);
cx_set(GP0_IO, 0x00050005); /* Bring the part out of reset */
cx_set(GP0_IO, 0x00050000);
cx_clear(GP0_IO, 0x00000005);
cx_set(GP0_IO, 0x00050005);
cx_set(GP0_IO, 0x00050000);
cx_clear(GP0_IO, 0x00000005);
cx_set(GP0_IO, 0x00050005);
cx_set(GP0_IO, 0x00050000);
cx_clear(GP0_IO, 0x00000005);
cx_set(GP0_IO, 0x00050005);
cx_set(GP0_IO, 0x000f0000);
cx_clear(GP0_IO, 0x0000000f);
cx_set(GP0_IO, 0x000f000f);
cx_set(GP0_IO, 0x000f0000);
cx_clear(GP0_IO, 0x0000000f);
cx_set(GP0_IO, 0x000f000f);
cx_set(GP0_IO, 0x00040000);
cx_clear(GP0_IO, 0x00000004);
cx_set(GP0_IO, 0x00040004);
cx_set(GP0_IO, 0x00040000); /* GPIO as out */
cx_clear(GP0_IO, 0x00030004);
cx_set(GP0_IO, 0x00040004); /* GPIO as out, reset high */
cx_set(GP0_IO, 0x00010001); /* Bring the part out of reset */
cx_set(GP0_IO, 0x00060000); /* GPIO-1,2 as out */
cx_clear(GP0_IO, 0x00010006);
cx_set(GP0_IO, 0x00000004); /* reset high */
cx_set(GP0_IO, 0x00070000);
cx_set(GP0_IO, 0x00010001);
cx_clear(GP0_IO, 0x00010001);
cx_set(GP0_IO, 0x00010001);
cx_clear(GP0_IO, 0x00030003);
cx_set(GP0_IO, 0x00020002);
cx_set(GP0_IO, 0x00010001);
cx_clear(GP0_IO, 0x00020002);
cx_set(GP0_IO, 0x00040004);
cx_clear(GP0_IO, 0x00040004);
cx_set(GP0_IO, 0x00040004);
cx_set(GP0_IO, 0x00060002); /* GPIO 1/2 as output */
cx_clear(GP0_IO, 0x00010004); /* GPIO 0 as input */
cx_set(GP0_IO, 0x00060004); /* GPIO as out, reset high */
cx_clear(GP0_IO, 0x00010002);
data = ((cx_read(GP0_IO)) & (~0x00000002));
cx_write(GP0_IO, data);
cx_set(GP0_IO, mask & 0x7);
cx_clear(GP0_IO, mask & 0x7);
return (cx_read(GP0_IO) >> 8) & mask & 0x7;
cx_set(GP0_IO, (mask & 0x7) << 16);
cx_clear(GP0_IO, (mask & 0x7) << 16);