IgH EtherCAT Master  1.6.9
reg_request.h
Go to the documentation of this file.
1/*****************************************************************************
2 *
3 * Copyright (C) 2012 Florian Pose, Ingenieurgemeinschaft IgH
4 *
5 * This file is part of the IgH EtherCAT Master.
6 *
7 * The IgH EtherCAT Master is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License version 2, as
9 * published by the Free Software Foundation.
10 *
11 * The IgH EtherCAT Master is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
14 * Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with the IgH EtherCAT Master; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 ****************************************************************************/
21
26
27/****************************************************************************/
28
29#ifndef __EC_REG_REQUEST_H__
30#define __EC_REG_REQUEST_H__
31
32#include <linux/list.h>
33
34#include "globals.h"
35
36/****************************************************************************/
37
51
52/****************************************************************************/
53
56
57/****************************************************************************/
58
59#endif
Global definitions and macros.
ec_internal_request_state_t
Generic request state.
Definition globals.h:287
ec_direction_t
Direction type for PDO assignment functions.
Definition ecrt.h:504
struct ec_reg_request ec_reg_request_t
Definition ecrt.h:318
int ec_reg_request_init(ec_reg_request_t *, size_t)
Register request constructor.
Definition reg_request.c:40
void ec_reg_request_clear(ec_reg_request_t *)
Register request destructor.
Definition reg_request.c:65
Register request.
Definition reg_request.h:40
size_t mem_size
Size of data memory.
Definition reg_request.h:42
uint8_t * data
Pointer to data memory.
Definition reg_request.h:43
struct list_head list
List item.
Definition reg_request.h:41
uint16_t address
Register address.
Definition reg_request.h:46
uint16_t ring_position
Ring position for emergency requests.
Definition reg_request.h:49
ec_direction_t dir
Direction.
Definition reg_request.h:44
ec_internal_request_state_t state
Request state.
Definition reg_request.h:48
size_t transfer_size
Size of the data to transfer.
Definition reg_request.h:47