123
dxl_hal.h@0:e3a3ccc3b0f8, 2017-09-12 (annotated)
- Committer:
- peter16688
- Date:
- Tue Sep 12 13:25:29 2017 +0000
- Revision:
- 0:e3a3ccc3b0f8
4W_8dir_1m_p2pcontrol
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
peter16688 | 0:e3a3ccc3b0f8 | 1 | // Dynamixel SDK platform dependent header |
peter16688 | 0:e3a3ccc3b0f8 | 2 | #ifndef _DYNAMIXEL_HAL_HEADER |
peter16688 | 0:e3a3ccc3b0f8 | 3 | #define _DYNAMIXEL_HAL_HEADER |
peter16688 | 0:e3a3ccc3b0f8 | 4 | |
peter16688 | 0:e3a3ccc3b0f8 | 5 | |
peter16688 | 0:e3a3ccc3b0f8 | 6 | #ifdef __cplusplus |
peter16688 | 0:e3a3ccc3b0f8 | 7 | extern "C" { |
peter16688 | 0:e3a3ccc3b0f8 | 8 | #endif |
peter16688 | 0:e3a3ccc3b0f8 | 9 | |
peter16688 | 0:e3a3ccc3b0f8 | 10 | |
peter16688 | 0:e3a3ccc3b0f8 | 11 | int dxl_hal_open( int devIndex, float baudrate ); |
peter16688 | 0:e3a3ccc3b0f8 | 12 | void dxl_hal_close(void); |
peter16688 | 0:e3a3ccc3b0f8 | 13 | void dxl_hal_clear(void); |
peter16688 | 0:e3a3ccc3b0f8 | 14 | int dxl_hal_tx( unsigned char *pPacket, int numPacket ); |
peter16688 | 0:e3a3ccc3b0f8 | 15 | int dxl_hal_rx( unsigned char *pPacket, int numPacket ); |
peter16688 | 0:e3a3ccc3b0f8 | 16 | void dxl_hal_set_timeout( int NumRcvByte ); |
peter16688 | 0:e3a3ccc3b0f8 | 17 | int dxl_hal_timeout(void); |
peter16688 | 0:e3a3ccc3b0f8 | 18 | |
peter16688 | 0:e3a3ccc3b0f8 | 19 | |
peter16688 | 0:e3a3ccc3b0f8 | 20 | |
peter16688 | 0:e3a3ccc3b0f8 | 21 | #ifdef __cplusplus |
peter16688 | 0:e3a3ccc3b0f8 | 22 | } |
peter16688 | 0:e3a3ccc3b0f8 | 23 | #endif |
peter16688 | 0:e3a3ccc3b0f8 | 24 | |
peter16688 | 0:e3a3ccc3b0f8 | 25 | #endif |