You can scan the GPIOs at a rate of about once every 250 usec.