aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-06-21 10:01:35 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-06-21 10:01:35 +0000
commitc33d090881ca0a6fc4dc4eaa8c5e8bd8ea4ab7fa (patch)
treeaa0c96878759d3912ecc13e0fe3ec5ae5be69579 /src
parent8183016f1cb574d923c83eab468ca37617051d78 (diff)
downloadChibiOS-c33d090881ca0a6fc4dc4eaa8c5e8bd8ea4ab7fa.tar.gz
ChibiOS-c33d090881ca0a6fc4dc4eaa8c5e8bd8ea4ab7fa.tar.bz2
ChibiOS-c33d090881ca0a6fc4dc4eaa8c5e8bd8ea4ab7fa.zip
Doxygen related fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1044 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src')
-rw-r--r--src/templates/pal_lld.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/templates/pal_lld.h b/src/templates/pal_lld.h
index 96cfe872d..8f0482969 100644
--- a/src/templates/pal_lld.h
+++ b/src/templates/pal_lld.h
@@ -32,6 +32,25 @@
/*===========================================================================*/
/**
+ * @brief Generic I/O ports static initializer.
+ * @details An instance of this structure must be passed to @p palInit() at
+ * system startup time in order to initialized the digital I/O
+ * subsystem. This represents only the initial setup, specific pads
+ * or whole ports can be reprogrammed at later time.
+ *
+ * @note This structure content is architecture dependent. The nome should be
+ * changed to include the architecture name following this pattern:<br>
+ * - <ARCH><CELL>Config.
+ * .
+ * As example:<br>
+ * - MSP430DIOConfig.
+ * .
+ */
+typedef struct {
+
+} GenericConfig;
+
+/**
* @brief Width, in bits, of an I/O port.
*/
#define PAL_IOPORTS_WIDTH 32
@@ -73,8 +92,10 @@ typedef uint32_t ioportid_t;
/**
* @brief Low level PAL subsystem initialization.
+ *
+ * @param[in] config the architecture-dependent ports configuration
*/
-#define pal_lld_init()
+#define pal_lld_init(config)
/**
* @brief Reads the physical I/O port states.