get shiftin data with interrupt

but the response time is to slow,

You haven't posted the code but there is probably a whacking big delay in the loop. Remove this for faster response.