OPENPIC_CONFIG_RESET
x = openpic_read(OPENPIC_CONFIG) | OPENPIC_CONFIG_RESET;
while (openpic_read(OPENPIC_CONFIG) & OPENPIC_CONFIG_RESET)