aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-07-13 21:09:39 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-07-13 21:09:39 +0000
commit5fee9bc344b38d79ff1baf26e6365eeae7d407b5 (patch)
treecd03f7ccbdf0a44026bc0f80b6fc87b9a6d361d0 /os/hal/include
parent2bdd9885e282b8cf26642f4a4b73fc4e61da872c (diff)
parent2e5abeebad5e94989f62e05582028f02c5e71dda (diff)
downloadChibiOS-5fee9bc344b38d79ff1baf26e6365eeae7d407b5.tar.gz
ChibiOS-5fee9bc344b38d79ff1baf26e6365eeae7d407b5.tar.bz2
ChibiOS-5fee9bc344b38d79ff1baf26e6365eeae7d407b5.zip
I2C. Merged changes from trunk.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3160 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/pal.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/os/hal/include/pal.h b/os/hal/include/pal.h
index e9d0e31d8..fc0045bf4 100644
--- a/os/hal/include/pal.h
+++ b/os/hal/include/pal.h
@@ -36,13 +36,6 @@
/*===========================================================================*/
/**
- * @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.
- */
-#define PAL_MODE_MASK 0x1F
-
-/**
* @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
@@ -516,7 +509,7 @@ extern "C" {
#endif
ioportmask_t palReadBus(IOBus *bus);
void palWriteBus(IOBus *bus, ioportmask_t bits);
- void palSetBusMode(IOBus *bus, uint_fast8_t mode);
+ void palSetBusMode(IOBus *bus, iomode_t mode);
#ifdef __cplusplus
}
#endif