aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/pal.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-08-15 14:48:41 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-08-15 14:48:41 +0000
commit44fe821ab47ab7ea6e2415119bb6e068c96872ca (patch)
tree704e212bf58d57820af17f1e38b127769dbbb2fc /os/hal/src/pal.c
parentd9e22836cda2ab2a6e9deba7777751056089e448 (diff)
downloadChibiOS-44fe821ab47ab7ea6e2415119bb6e068c96872ca.tar.gz
ChibiOS-44fe821ab47ab7ea6e2415119bb6e068c96872ca.tar.bz2
ChibiOS-44fe821ab47ab7ea6e2415119bb6e068c96872ca.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6159 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src/pal.c')
-rw-r--r--os/hal/src/pal.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/os/hal/src/pal.c b/os/hal/src/pal.c
index c2eb50a85..efebc1a94 100644
--- a/os/hal/src/pal.c
+++ b/os/hal/src/pal.c
@@ -59,11 +59,12 @@
* @note The function internally uses the @p palReadGroup() macro. The use
* of this function is preferred when you value code size, readability
* and error checking over speed.
+ * @note The function can be called from any context.
*
* @param[in] bus the I/O bus, pointer to a @p IOBus structure
* @return The bus logical states.
*
- * @api
+ * @special
*/
ioportmask_t palReadBus(IOBus *bus) {
@@ -81,13 +82,14 @@ ioportmask_t palReadBus(IOBus *bus) {
* @note The default implementation is non atomic and not necessarily
* optimal. Low level drivers may optimize the function by using
* specific hardware or coding.
+ * @note The function can be called from any context.
*
* @param[in] bus the I/O bus, pointer to a @p IOBus structure
* @param[in] bits the bits to be written on the I/O bus. Values exceeding
* the bus width are masked so most significant bits are
* lost.
*
- * @api
+ * @special
*/
void palWriteBus(IOBus *bus, ioportmask_t bits) {
@@ -105,11 +107,12 @@ void palWriteBus(IOBus *bus, ioportmask_t bits) {
* @note The default implementation is non atomic and not necessarily
* optimal. Low level drivers may optimize the function by using
* specific hardware or coding.
+ * @note The function can be called from any context.
*
* @param[in] bus the I/O bus, pointer to a @p IOBus structure
* @param[in] mode the mode
*
- * @api
+ * @special
*/
void palSetBusMode(IOBus *bus, iomode_t mode) {