P1_MDATA0
cx_writeb(P1_MDATA0, (unsigned int)value);
cx_read(P1_MDATA0);
cx_writeb(P1_MDATA0, 0);
val |= (unsigned char)cx_read(P1_MDATA0);