aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-05-05 16:17:16 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-05-05 16:17:16 -0400
commitba2883d21a4a1f8598bf6eaae667a6bb4d86943d (patch)
tree75d98821aadd48ce61d743f7e2f527cce47981d8
parent2204cbabd91d0823fded18b7b03d773e6f56111c (diff)
downloadlibrambutan-ba2883d21a4a1f8598bf6eaae667a6bb4d86943d.tar.gz
librambutan-ba2883d21a4a1f8598bf6eaae667a6bb4d86943d.zip
Documentation link fixes.
Fixing some Sphinx error messages.
-rw-r--r--source/hardware/maple.rst2
-rw-r--r--source/lang/cpp/built-in-types.rst31
-rw-r--r--source/libraries.rst2
-rw-r--r--source/pwm.rst2
-rw-r--r--source/troubleshooting.rst6
5 files changed, 25 insertions, 18 deletions
diff --git a/source/hardware/maple.rst b/source/hardware/maple.rst
index 44848a7..f4fcaf4 100644
--- a/source/hardware/maple.rst
+++ b/source/hardware/maple.rst
@@ -313,6 +313,8 @@ Rev 3
* **Pin 3 AIN missing**: Pin 3 is capable of analog input, but the
corresponding "AIN" is missing from the Rev 3 silkscreen.
+.. _maple-rev3-bad-buttons:
+
* **Bad/Sticky Buttons**: a number of Rev 3 boards sold in May-June 2010
have questionable RESET and BUT buttons.
diff --git a/source/lang/cpp/built-in-types.rst b/source/lang/cpp/built-in-types.rst
index a7349e6..28e8cdc 100644
--- a/source/lang/cpp/built-in-types.rst
+++ b/source/lang/cpp/built-in-types.rst
@@ -41,55 +41,60 @@ Integral types
.. cpp:type:: int8
- Synonym for ``char``.
+ 8-bit integer value. Synonym for ``signed char``.
.. cpp:type:: uint8
- Synonym for ``unsigned char``.
+ 8-bit unsigned integer value. Synonym for ``unsigned char``.
+
+.. cpp:type:: byte
+
+ 8-bit unsigned integer value. Synonym for ``unsigned char``.
.. cpp:type:: int16
- Synonym for ``short``.
+ 16-bit integer value. Synonym for ``short``.
.. cpp:type:: uint16
- Synonym for ``unsigned short``.
+ 16-bit unsigned integer value. Synonym for ``unsigned short``.
.. cpp:type:: int32
- Synonym for ``int``.
+ 32-bit integer value. Synonym for ``int``.
.. cpp:type:: uint32
- Synonym for ``unsigned int``
+ Unsigned 32-bit integer value. Synonym for ``unsigned int``
.. cpp:type:: int64
- Synonym for ``long long``
+ 64-bit integer value. Synonym for ``long long``
.. cpp:type:: uint64
- Synonym for ``unsigned long long``.
+ Unsigned 64-bit integer value. Synonym for ``unsigned long long``.
Floating-Point Types
--------------------
.. cpp:type:: float
- 32-bit, IEEE 754 single-precision floating-point type.
+ 32-bit, IEEE-754 single-precision floating-point type.
.. cpp:type:: double
- 64-bit, IEEE 754 double-precision floating-point type.
+ 64-bit, IEEE-754 double-precision floating-point type.
Other Types
-----------
.. cpp:type:: voidFuncPtr
- Pointer to a function that takes no arguments and returns nothing, i.e.
-
- ::
+ Pointer to a function that takes no arguments and returns nothing, i.e. ::
typedef void (*voidFuncPtr)(void);
+.. cpp:type:: bool
+
+ Boolean type.
diff --git a/source/libraries.rst b/source/libraries.rst
index 2bc8b11..44a72f7 100644
--- a/source/libraries.rst
+++ b/source/libraries.rst
@@ -40,7 +40,7 @@ library are noted in the library's documentation.
(``malloc()``, etc.) is not available.
- If you're looking for low-level hardware support libraries, see
- the :ref:`libmaple Reference`.
+ the :ref:`libmaple Reference <libmaple>`.
.. _libraries-servo:
diff --git a/source/pwm.rst b/source/pwm.rst
index ac67689..34ad508 100644
--- a/source/pwm.rst
+++ b/source/pwm.rst
@@ -25,7 +25,7 @@ Each PWM output is driven by an output channel connected to one of 4
timers. Some configuration, such as the clock rate or prescaling,
must be common to the entire timer; see the :ref:`timer documentation
<timers>` for more information. See your board's :ref:`pin mapping
-tables <gpio-pin-mapping-tables>` to track down the correspondence
+tables <gpio-pin-maps>` to track down the correspondence
between timer channels and GPIO pins.
Background
diff --git a/source/troubleshooting.rst b/source/troubleshooting.rst
index f49580c..bf1b129 100644
--- a/source/troubleshooting.rst
+++ b/source/troubleshooting.rst
@@ -48,9 +48,9 @@ The reset and D38/serial buttons don't seem to work reliably!
-------------------------------------------------------------
A few Maple Rev3 boards shipped in May-June 2010 may have had
-unreliable buttons; see the :ref:`errata page <maple-errata>` for
-details. `We're happy to replace these for you
-<http://leaflabs.com/contact>`_\ !
+unreliable buttons; see the :ref:`Maple Errata
+<maple-rev3-bad-buttons>` for details. `We're happy to replace these
+for you <http://leaflabs.com/contact>`_\ !
.. _troubleshooting-ide-install: