o Exit gracefully when receiving a signal (otherwise the PRU keeps
  running until it runs out of queue. Also, it wouldn't accept changes
  to its instruction memory).