2018.07.26
Dependencies: EthernetInterface TextLCD USBDevice USBHost mbed
i2cAccess.h@1:fdf87a1a724b, 2018-07-26 (annotated)
- Committer:
- sayzyas
- Date:
- Thu Jul 26 00:26:07 2018 +0000
- Revision:
- 1:fdf87a1a724b
- Parent:
- 0:19075177391c
2018.07.26
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| sayzyas | 0:19075177391c | 1 | class i2cAccess |
| sayzyas | 0:19075177391c | 2 | { |
| sayzyas | 0:19075177391c | 3 | private: |
| sayzyas | 0:19075177391c | 4 | |
| sayzyas | 0:19075177391c | 5 | public: |
| sayzyas | 0:19075177391c | 6 | |
| sayzyas | 0:19075177391c | 7 | bool flg_motor_lock; |
| sayzyas | 0:19075177391c | 8 | /* |
| sayzyas | 0:19075177391c | 9 | 7: - |
| sayzyas | 0:19075177391c | 10 | 6: |
| sayzyas | 0:19075177391c | 11 | 5: LB transform reverse |
| sayzyas | 0:19075177391c | 12 | 4: LB transform forward |
| sayzyas | 0:19075177391c | 13 | 3: RF transform reverse |
| sayzyas | 0:19075177391c | 14 | 2: RF transform forward |
| sayzyas | 0:19075177391c | 15 | 1: winch motor reverse |
| sayzyas | 0:19075177391c | 16 | 0: winch motor forward |
| sayzyas | 0:19075177391c | 17 | */ |
| sayzyas | 0:19075177391c | 18 | i2cAccess(); |
| sayzyas | 0:19075177391c | 19 | bool i2c_read( int , const char* , int ); |
| sayzyas | 0:19075177391c | 20 | bool i2c_write( int , const char* , int ); |
| sayzyas | 0:19075177391c | 21 | int16_t i2cReadMotorCurrent( int32_t, int, int, int, int ); |
| sayzyas | 0:19075177391c | 22 | int16_t i2cReadInformation( int32_t, int ); |
| sayzyas | 0:19075177391c | 23 | bool i2cGetMotorCurrent( int32_t, int8_t, int8_t ); |
| sayzyas | 0:19075177391c | 24 | bool i2cSetMotorThreshold( int32_t, int8_t, int8_t, int16_t ); |
| sayzyas | 0:19075177391c | 25 | bool i2cClearMLCnt( int32_t ); |
| sayzyas | 0:19075177391c | 26 | |
| sayzyas | 0:19075177391c | 27 | }; |