master/fmmu_config.c
changeset 814 a51f857b1b2d
parent 792 3778920f61e4
child 818 b6c87ae254c9
equal deleted inserted replaced
813:bfc3f1ab52de 814:a51f857b1b2d
    46 /*****************************************************************************/
    46 /*****************************************************************************/
    47 
    47 
    48 /** FMMU configuration constructor.
    48 /** FMMU configuration constructor.
    49  *
    49  *
    50  * Inits an FMMU configuration, sets the logical start address and adds the
    50  * Inits an FMMU configuration, sets the logical start address and adds the
    51  * process data size for the mapped PDOs of the given direction to the domain
    51  * process data size for the mapped Pdos of the given direction to the domain
    52  * data size.
    52  * data size.
    53  */
    53  */
    54 void ec_fmmu_config_init(
    54 void ec_fmmu_config_init(
    55         ec_fmmu_config_t *fmmu, /**< EtherCAT FMMU configuration. */
    55         ec_fmmu_config_t *fmmu, /**< EtherCAT FMMU configuration. */
    56         ec_slave_config_t *sc, /**< EtherCAT slave configuration. */
    56         ec_slave_config_t *sc, /**< EtherCAT slave configuration. */
    57         ec_domain_t *domain, /**< EtherCAT domain. */
    57         ec_domain_t *domain, /**< EtherCAT domain. */
    58         ec_direction_t dir /**< PDO direction. */
    58         ec_direction_t dir /**< Pdo direction. */
    59         )
    59         )
    60 {
    60 {
    61     fmmu->sc = sc;
    61     fmmu->sc = sc;
    62     fmmu->domain = domain;
    62     fmmu->domain = domain;
    63     fmmu->dir = dir;
    63     fmmu->dir = dir;