sakthi priya amirtharaj
/
BAE_hw_test1_5
with i2c
Fork of BAE_b4hw_test by
slave.h@0:ebdf4f859dca, 2014-12-19 (annotated)
- Committer:
- raizel_varun
- Date:
- Fri Dec 19 06:47:25 2014 +0000
- Revision:
- 0:ebdf4f859dca
hhh
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
raizel_varun | 0:ebdf4f859dca | 1 | #include "mbed.h" |
raizel_varun | 0:ebdf4f859dca | 2 | #define WriteGeneral 3 |
raizel_varun | 0:ebdf4f859dca | 3 | #define ReadAddressed 1 |
raizel_varun | 0:ebdf4f859dca | 4 | #define slave_address 0x20 |
raizel_varun | 0:ebdf4f859dca | 5 | |
raizel_varun | 0:ebdf4f859dca | 6 | |
raizel_varun | 0:ebdf4f859dca | 7 | void FUNC_I2C_WRITE2CDMS(char* ,int); |
raizel_varun | 0:ebdf4f859dca | 8 | void FUNC_I2C_IR2CDMS(); |
raizel_varun | 0:ebdf4f859dca | 9 | void FUNC_I2C_INT(); |
raizel_varun | 0:ebdf4f859dca | 10 | void FUNC_I2C_RESET(); |
raizel_varun | 0:ebdf4f859dca | 11 | void FUNC_I2C_TC_EXECUTE (char command) ; |
raizel_varun | 0:ebdf4f859dca | 12 |