master/slave_config.h
changeset 1209 8be462afb7f4
parent 1082 ff06c58e269c
child 1263 f44720defbc5
equal deleted inserted replaced
1208:026e35646ab4 1209:8be462afb7f4
    41 #ifndef __EC_SLAVE_CONFIG_H__
    41 #ifndef __EC_SLAVE_CONFIG_H__
    42 #define __EC_SLAVE_CONFIG_H__
    42 #define __EC_SLAVE_CONFIG_H__
    43 
    43 
    44 #include <linux/list.h>
    44 #include <linux/list.h>
    45 
    45 
    46 #include "../include/ecrt.h"
       
    47 
       
    48 #include "globals.h"
    46 #include "globals.h"
    49 #include "slave.h"
    47 #include "slave.h"
    50 #include "sync_config.h"
    48 #include "sync_config.h"
    51 #include "fmmu_config.h"
    49 #include "fmmu_config.h"
    52 
    50 
    72     ec_fmmu_config_t fmmu_configs[EC_MAX_FMMUS]; /**< FMMU configurations. */
    70     ec_fmmu_config_t fmmu_configs[EC_MAX_FMMUS]; /**< FMMU configurations. */
    73     uint8_t used_fmmus; /**< Number of FMMUs used. */
    71     uint8_t used_fmmus; /**< Number of FMMUs used. */
    74 
    72 
    75     struct list_head sdo_configs; /**< List of Sdo configurations. */
    73     struct list_head sdo_configs; /**< List of Sdo configurations. */
    76     struct list_head sdo_requests; /**< List of Sdo requests. */
    74     struct list_head sdo_requests; /**< List of Sdo requests. */
    77 
    75     struct list_head voe_handlers; /**< List of VoE handlers. */
    78 };
    76 };
    79 
    77 
    80 /*****************************************************************************/
    78 /*****************************************************************************/
    81 
    79 
    82 void ec_slave_config_init(ec_slave_config_t *, ec_master_t *, uint16_t,
    80 void ec_slave_config_init(ec_slave_config_t *, ec_master_t *, uint16_t,