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