sio_write
sio_write(device, 0x07);
sio_write(0x01, 0x30);
sio_write(level, 0x70);
sio_write(type, 0x71);