If you need microsecond or nanosecond-level control of I/O, you're probably a little too advanced for an Arduino-type environment.
If you do, the AM335x offers a subsystem called the PRU that lets you program I/O that runs independently from the core. Kind of like, hmm, a bunch of Little Arduinos inside the Big Arduino.