HINFC504_STATUS
val = hinfc_read(host, HINFC504_STATUS);
if (((hinfc_read(host, HINFC504_STATUS) & 0x1) == 0x0) &&