123

Dependencies:   3W_8Dir_p2pcontrol mbed

Fork of DXL_SDK_For_F446RE by hsu han-lin

dxl_hal.h

Committer:
stanley1228
Date:
2017-02-08
Revision:
2:8bede713ce52
Parent:
1:2eaeeba6137a

File content as of revision 2:8bede713ce52:

// Dynamixel SDK platform dependent header
#ifndef _DYNAMIXEL_HAL_HEADER
#define _DYNAMIXEL_HAL_HEADER


#ifdef __cplusplus
extern "C" {
#endif


int dxl_hal_open( int devIndex, float baudrate );
void dxl_hal_close(void);
void dxl_hal_clear(void);
int dxl_hal_tx( unsigned char *pPacket, int numPacket );
int dxl_hal_rx( unsigned char *pPacket, int numPacket );
void dxl_hal_set_timeout( int NumRcvByte );
int dxl_hal_timeout(void);



#ifdef __cplusplus
}
#endif

#endif