libmobile should be documented, focussing on easy implementation by emulators. This includes implementation requirements/expectations and tips, such as that single-thread usage is fine, but multithread is preferable, and how to synchronize the timeouts (when REONTeam/ArduinoAdapterGB#2 is implemented).