![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
i2c working version
slave.h@0:7882d03f59e2, 2015-04-09 (annotated)
- Committer:
- sakthipriya
- Date:
- Thu Apr 09 22:44:39 2015 +0000
- Revision:
- 0:7882d03f59e2
i2c working version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sakthipriya | 0:7882d03f59e2 | 1 | #include "mbed.h" |
sakthipriya | 0:7882d03f59e2 | 2 | #define WriteGeneral 3 |
sakthipriya | 0:7882d03f59e2 | 3 | #define ReadAddressed 1 |
sakthipriya | 0:7882d03f59e2 | 4 | #define slave_address 0x20 |
sakthipriya | 0:7882d03f59e2 | 5 | |
sakthipriya | 0:7882d03f59e2 | 6 | |
sakthipriya | 0:7882d03f59e2 | 7 | void FUNC_I2C_WRITE2CDMS(char* ,int); |
sakthipriya | 0:7882d03f59e2 | 8 | void FUNC_I2C_IR2CDMS(); |
sakthipriya | 0:7882d03f59e2 | 9 | void FUNC_I2C_INT(); |
sakthipriya | 0:7882d03f59e2 | 10 | void FUNC_I2C_RESET(); |
sakthipriya | 0:7882d03f59e2 | 11 | void FUNC_I2C_TC_EXECUTE (char command) ; |
sakthipriya | 0:7882d03f59e2 | 12 |