aboutsummaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-05-08 00:03:22 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-05-16 13:23:38 -0400
commitf49935e65813681a37d896407f745de6cc4db5fb (patch)
treeba004d3ea9fa7ff330ed1d7d60507975242553ae /source
parent19abc1a7872e99b3b36652e61d91ab92c0683bcf (diff)
downloadlibrambutan-f49935e65813681a37d896407f745de6cc4db5fb.tar.gz
librambutan-f49935e65813681a37d896407f745de6cc4db5fb.zip
libmaple/overview.rst: Fix includes mentioned in comments.
Update these to the new style. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'source')
-rw-r--r--source/libmaple/overview.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/libmaple/overview.rst b/source/libmaple/overview.rst
index 08eb19c..6d7ceb1 100644
--- a/source/libmaple/overview.rst
+++ b/source/libmaple/overview.rst
@@ -482,10 +482,10 @@ libmaple provides this initialization routine for each peripheral
turn on the clock to a device, and restore its register values to
their default settings. Here are a few examples::
- /* From dma.h */
+ /* From <libmaple/dma.h> */
void dma_init(dma_dev *dev);
- /* From gpio.h */
+ /* From <libmaple/gpio.h> */
void gpio_init(gpio_dev *dev);
void gpio_init_all(void);
@@ -497,10 +497,10 @@ used. These functions are usually called something along the lines of
``foo_enable()``, and often take additional arguments which specify a
particular configuration for the peripheral. Some examples::
- /* From usart.h */
+ /* From <libmaple/usart.h> */
void usart_enable(usart_dev *dev);
- /* From i2c.h */
+ /* From <libmaple/i2c.h> */
void i2c_master_enable(i2c_dev *dev, uint32 flags);
After you've initialized, and potentially enabled, your peripheral, it