aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/pal.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/pal.h')
-rw-r--r--os/hal/include/pal.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/os/hal/include/pal.h b/os/hal/include/pal.h
index 352523021..1ba3ee04d 100644
--- a/os/hal/include/pal.h
+++ b/os/hal/include/pal.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -37,7 +37,7 @@
/**
* @brief Bits in a mode word dedicated as mode selector.
* @details The other bits are not defined and may be used as device-specific
- * option bits.
+ * option bits.
*/
#define PAL_MODE_MASK 0xF
@@ -45,12 +45,12 @@
* @brief After reset state.
* @details The state itself is not specified and is architecture dependent,
* it is guaranteed to be equal to the after-reset state. It is
- * usually an input state.
+ * usually an input state.
*/
#define PAL_MODE_RESET 0
/**
- * @brief Safe state for <b>unconnected</b> pads.
+ * @brief Safe state for <b>unconnected</b> pads.
* @details The state itself is not specified and is architecture dependent,
* it may be mapped on @p PAL_MODE_INPUT_PULLUP,
* @p PAL_MODE_INPUT_PULLDOWN or @p PAL_MODE_OUTPUT_PUSHPULL as
@@ -64,7 +64,7 @@
#define PAL_MODE_INPUT 2
/**
- * @brief Input pad with weak pull up resistor.
+ * @brief Input pad with weak pull up resistor.
*/
#define PAL_MODE_INPUT_PULLUP 3
@@ -74,7 +74,7 @@
#define PAL_MODE_INPUT_PULLDOWN 4
/**
- * @brief Analog input mode.
+ * @brief Analog input mode.
*/
#define PAL_MODE_INPUT_ANALOG 5
@@ -145,7 +145,7 @@ typedef struct {
* @details This macro calculates the mask of a bit within a port.
*
* @param[in] n bit position within the port
- * @return The bit mask.
+ * @return The bit mask.
*/
#define PAL_PORT_BIT(n) ((ioportmask_t)(1 << (n)))
@@ -154,7 +154,7 @@ typedef struct {
* @brief Bits group mask helper.
* @details This macro calculates the mask of a bits group.
*
- * @param[in] width group width
+ * @param[in] width group width
* @return The group mask.
*/
#define PAL_GROUP_MASK(width) ((ioportmask_t)(1 << (width)) - 1)
@@ -188,7 +188,7 @@ typedef struct {
*
* @param[in] config pointer to an architecture specific configuration
* structure. This structure is defined in the low level driver
- * header.
+ * header.
*/
#define palInit(config) pal_lld_init(config)
@@ -212,7 +212,7 @@ typedef struct {
* value.
* @note The default implementation always return zero and computes the
* parameter eventual side effects.
- *
+ *
* @param[in] port port identifier
* @return The latched logical states.
*/
@@ -302,7 +302,7 @@ typedef struct {
/**
* @brief Reads a group of bits.
- *
+ *
* @param[in] port port identifier
* @param[in] mask group mask, a logical AND is performed on the input
* data