Putting peripherals in alpha order
@@ -90,37 +90,6 @@ More information about the capture and use of ADC can be found in
An `ADC example <http://github.com/kubos/kubos/tree/master/examples/adc-thermistor>`__ is
also available for reference in the Kubos repo.
-UART
-~~~~
-
-The iOBC has 2 UART ports available for use in varying capacities:
-
-+--------------+--------+--------+---------+---------+
-| Linux Device | TX Pin | RX Pin | RTS Pin | CTS Pin |
-+==============+========+========+=========+=========+
-| /dev/ttyS1 | TX0 | RX0 | | |
-+--------------+--------+--------+---------+---------+
-| /dev/ttyS3 | TX2 | RX2 | RTS2 | CTS2 |
-+--------------+--------+--------+---------+---------+
-
-Users can interact with these ports using Linux's `termios <http://man7.org/linux/man-pages/man3/termios.3.html>`__ interface.
-
-`A tutorial on this interface can be found here <http://tldp.org/HOWTO/Serial-Programming-HOWTO/x115.html>`__
-
-I2C
-~~~
-
-`I2C Standards
-Doc <http://www.nxp.com/documents/user_manual/UM10204.pdf>`__
-
-Kubos Linux is currently configured to support the I2C standard-mode
-speed of 100kHz.
-
-The I2C bus is available through the Kubos HAL as ``K_I2C1``.
-
-For examples and instructions, see the :doc:`../apis/kubos-hal/i2c` and
-:doc:`../apis/kubos-hal/i2c_api` documents.
-
GPIO
~~~~
@@ -218,6 +187,20 @@ direction and value.
Get GPIO10's value:
$ cat /sys/class/gpio/gpio58/value
+I2C
+~~~
+
+`I2C Standards
+Doc <http://www.nxp.com/documents/user_manual/UM10204.pdf>`__
+
+Kubos Linux is currently configured to support the I2C standard-mode
+speed of 100kHz.
+
+The I2C bus is available through the Kubos HAL as ``K_I2C1``.
+
+For examples and instructions, see the :doc:`../apis/kubos-hal/i2c` and
+:doc:`../apis/kubos-hal/i2c_api` documents.
+
SPI
~~~
@@ -291,6 +274,23 @@ An example user program to read a value might look like this:
close(fd);
+UART
+~~~~
+
+The iOBC has 2 UART ports available for use in varying capacities:
+
++--------------+--------+--------+---------+---------+
+| Linux Device | TX Pin | RX Pin | RTS Pin | CTS Pin |
++==============+========+========+=========+=========+
+| /dev/ttyS1 | TX0 | RX0 | | |
++--------------+--------+--------+---------+---------+
+| /dev/ttyS3 | TX2 | RX2 | RTS2 | CTS2 |
++--------------+--------+--------+---------+---------+
+
+Users can interact with these ports using Linux's `termios <http://man7.org/linux/man-pages/man3/termios.3.html>`__ interface.
+
+`A tutorial on this interface can be found here <http://tldp.org/HOWTO/Serial-Programming-HOWTO/x115.html>`__
+
User Data Partition
-------------------
