/* Poll for all host side read activity to complete. 
Poll for all host side read activity to complete. Use this before calling  */
void am_hal_ios_read_poll_complete(void)
/* Poll for all host side read activity to complete. 
Poll for all host side read activity to complete. Use this before calling  */
void am_hal_ios_read_poll_complete(void)
{
    while ( AM_REG(IOSLAVE, FUPD) & AM_REG_IOSLAVE_FUPD_IOREAD_M );
}