aboutsummaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-06-10 23:24:32 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-06-10 23:24:32 -0400
commit4e0c342d149e5da664ae7c573b9ea3b14df4db83 (patch)
treeae2a0bb768847710c504f25ae15da3ade556b42f /source
parent810d5c0b6bf3d254c8c85a6217c7ef3413c2370d (diff)
downloadlibrambutan-4e0c342d149e5da664ae7c573b9ea3b14df4db83.tar.gz
librambutan-4e0c342d149e5da664ae7c573b9ea3b14df4db83.zip
Docs: Add GPIO port pin maps.
Diffstat (limited to 'source')
-rw-r--r--source/hardware/maple-mini.rst27
-rw-r--r--source/hardware/maple-ret6.rst28
-rw-r--r--source/hardware/maple.rst28
3 files changed, 83 insertions, 0 deletions
diff --git a/source/hardware/maple-mini.rst b/source/hardware/maple-mini.rst
index dfad559..b142e77 100644
--- a/source/hardware/maple-mini.rst
+++ b/source/hardware/maple-mini.rst
@@ -135,6 +135,33 @@ the pin is :ref:`5 volt tolerant <gpio-5v-tolerant>`.
D32, PB8, -, 4_CH3, -, -, -, Yes
D33, PB1, CH9, 3_CH4, -, -, -, -
+.. _maple-mini-gpio-port-map:
+
+GPIO Port Pin Map
+^^^^^^^^^^^^^^^^^
+The following table shows what pins are associated with each
+:ref:`GPIO port <gpio-ports>`.
+
+.. csv-table::
+ :header: GPIOA, GPIOB, GPIOC
+
+ PA0: D11, PB0: D3, PC0: -
+ PA1: D10, PB1: D33, PC1: -
+ PA2: D9, PB2: D2, PC2: -
+ PA3: D8, PB3: D19, PC3: -
+ PA4: D7, PB4: D18, PC4: -
+ PA5: D6, PB5: D17, PC5: -
+ PA6: D5, PB6: D16, PC6: -
+ PA7: D4, PB7: D15, PC7: -
+ PA8: D27, PB8: D32, PC8: -
+ PA9: D26, PB9: -, PC9: -
+ PA10: D25, PB10: D1, PC10: -
+ PA11: D24, PB11: D0, PC11: -
+ PA12: D23, PB12: D31, PC12: -
+ PA13: D22, PB13: D30, PC13: D14
+ PA14: D21, PB14: D29, PC14: D13
+ PA15: D20, PB15: D28, PC15: D12
+
.. _maple-mini-timer-map:
Timer Pin Map
diff --git a/source/hardware/maple-ret6.rst b/source/hardware/maple-ret6.rst
index d419d62..1de2465 100644
--- a/source/hardware/maple-ret6.rst
+++ b/source/hardware/maple-ret6.rst
@@ -153,6 +153,34 @@ not the pin is :ref:`5 volt tolerant <gpio-5v-tolerant>`.
D41, PA15, -, -, -, -, 3_NSS, Yes
D42, PB3, -, -, -, -, 3_SCK, Yes
+.. _maple-ret6-gpio-port-map:
+
+GPIO Port Pin Map
+^^^^^^^^^^^^^^^^^
+
+The following table shows what pins are associated with each
+:ref:`GPIO port <gpio-ports>`.
+
+.. csv-table::
+ :header: GPIOA, GPIOB, GPIOC
+
+ PA0: D2, PB0: D27, PC0: D15
+ PA1: D3, PB1: D28, PC1: D16
+ PA2: D1, PB2: -, PC2: D17
+ PA3: D0, PB3: D42, PC3: D18
+ PA4: D10, PB4: D43, PC4: D19
+ PA5: D13, PB5: D4, PC5: D20
+ PA6: D12, PB6: D5, PC6: D35
+ PA7: D11, PB7: D9, PC7: D36
+ PA8: D6, PB8: D14, PC8: D37
+ PA9: D7, PB9: D24, PC9: D38
+ PA10: D8, PB10: D29, PC10: D26
+ PA11: -, PB11: D30, PC11: -
+ PA12: -, PB12: D31, PC12: -
+ PA13: D39, PB13: D32, PC13: D21
+ PA14: D40, PB14: D33, PC14: D22
+ PA15: D41, PB15: D34, PC15: D23
+
.. _maple-ret6-timer-map:
Timer Pin Map
diff --git a/source/hardware/maple.rst b/source/hardware/maple.rst
index a06c222..91198f2 100644
--- a/source/hardware/maple.rst
+++ b/source/hardware/maple.rst
@@ -202,6 +202,34 @@ not the pin is :ref:`5 volt tolerant <gpio-5v-tolerant>`.
D41, PA15, -, -, -, -, -, Yes
D42, PB3, -, -, -, -, -, Yes
+.. _maple-gpio-port-map:
+
+GPIO Port Pin Map
+^^^^^^^^^^^^^^^^^
+
+The following table shows what pins are associated with each
+:ref:`GPIO port <gpio-ports>`.
+
+.. csv-table::
+ :header: GPIOA, GPIOB, GPIOC
+
+ PA0: D2, PB0: D27, PC0: D15
+ PA1: D3, PB1: D28, PC1: D16
+ PA2: D1, PB2: -, PC2: D17
+ PA3: D0, PB3: D42, PC3: D18
+ PA4: D10, PB4: D43, PC4: D19
+ PA5: D13, PB5: D4, PC5: D20
+ PA6: D12, PB6: D5, PC6: D35
+ PA7: D11, PB7: D9, PC7: D36
+ PA8: D6, PB8: D14, PC8: D37
+ PA9: D7, PB9: D24, PC9: D38
+ PA10: D8, PB10: D29, PC10: D26
+ PA11: -, PB11: D30, PC11: -
+ PA12: -, PB12: D31, PC12: -
+ PA13: D39, PB13: D32, PC13: D21
+ PA14: D40, PB14: D33, PC14: D22
+ PA15: D41, PB15: D34, PC15: D23
+
.. _maple-timer-map:
Timer Pin Map