aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/hal_pal.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/hal_pal.h')
-rw-r--r--os/hal/include/hal_pal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/include/hal_pal.h b/os/hal/include/hal_pal.h
index 276c8f524..e2d85f0fe 100644
--- a/os/hal/include/hal_pal.h
+++ b/os/hal/include/hal_pal.h
@@ -214,8 +214,8 @@ typedef struct {
* @brief Bits group mask helper.
* @details This macro calculates the mask of a bits group.
*
- * @param[in] width group width
- * @return The group mask.
+ * @param[in] width group width
+ * @return The group mask.
*/
#if !defined(PAL_GROUP_MASK) || defined(__DOXYGEN__)
#define PAL_GROUP_MASK(width) ((ioportmask_t)(1U << (width)) - 1U)
@@ -229,7 +229,7 @@ typedef struct {
* @param[in] name name of the IOBus variable
* @param[in] port I/O port descriptor
* @param[in] width bus width in bits
- * @param[in] offset bus bit offset within the port
+ * @param[in] offset bus bit offset within the port
*/
#define _IOBUS_DATA(name, port, width, offset) \
{port, PAL_GROUP_MASK(width), offset}