diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-01-26 22:36:12 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-01-26 22:36:12 +0000 |
commit | 9babeb847e50141bb378b77e987d8bc25c33a6d1 (patch) | |
tree | e05c490f820a4cf4713f3c2a0ab21a25ce0c6eec /os/hal/platforms/STM32/i2c_lld.h | |
parent | 9c45802837b9053bbe32a8c8d5688cbf8c5d2706 (diff) | |
download | ChibiOS-9babeb847e50141bb378b77e987d8bc25c33a6d1.tar.gz ChibiOS-9babeb847e50141bb378b77e987d8bc25c33a6d1.tar.bz2 ChibiOS-9babeb847e50141bb378b77e987d8bc25c33a6d1.zip |
I2C. Rewriting low level driver to handle IRQs and DMA
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2687 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/i2c_lld.h')
-rw-r--r-- | os/hal/platforms/STM32/i2c_lld.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/i2c_lld.h b/os/hal/platforms/STM32/i2c_lld.h index 427e72896..0179ba0e8 100644 --- a/os/hal/platforms/STM32/i2c_lld.h +++ b/os/hal/platforms/STM32/i2c_lld.h @@ -150,6 +150,10 @@ typedef struct { uint16_t error_flags; + uint8_t rw_bit; // this flag contain R/W bit + + bool_t restart; // send restart or stop event after complete data tx/rx + }I2CSlaveConfig; |