diff -r 4b43c90142c8 -r 072d4c0dccd8 include/ecrt.h --- a/include/ecrt.h Tue Nov 20 13:23:21 2012 +0100 +++ b/include/ecrt.h Tue Nov 20 14:20:59 2012 +0100 @@ -55,7 +55,8 @@ * - Added interface for direct EtherCAT register access: Added data type * ec_reg_request_t and methods ecrt_slave_config_create_reg_request(), * ecrt_reg_request_data(), ecrt_reg_request_state(), - * ecrt_reg_request_write() and ecrt_reg_request_read(). + * ecrt_reg_request_write(), ecrt_reg_request_read() and the feature flag + * EC_HAVE_REG_ACCESS. * * Changes in version 1.5: * @@ -154,6 +155,14 @@ */ #define EC_HAVE_EMERGENCY +/** Defined, if the register access interface is available. + * + * I. e. if the methods ecrt_slave_config_create_reg_request(), + * ecrt_reg_request_data(), ecrt_reg_request_state(), ecrt_reg_request_write() + * and ecrt_reg_request_read() are available. + */ +#define EC_HAVE_REG_ACCESS + /*****************************************************************************/ /** End of list marker.