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