added lcec_el41x4 from frankbrossette

This commit is contained in:
Sascha Ittner
2018-03-09 22:12:10 +01:00
parent b05e7309c4
commit 7bfc810440
6 changed files with 296 additions and 0 deletions

34
src/lcec_el41x4.h Normal file
View File

@@ -0,0 +1,34 @@
//
// Copyright (C) 2016 Frank Brossette<frank.brossette@gmail.com>
// Copyright (C) 2011 Sascha Ittner <sascha.ittner@modusoft.de>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//
#ifndef _LCEC_EL41X4_H_
#define _LCEC_EL41X4_H_
#include "lcec.h"
#define LCEC_EL41x4_VID LCEC_BECKHOFF_VID
#define LCEC_EL4104_PID 0x10083052
#define LCEC_EL41x4_PDOS 4
#define LCEC_EL41x4_CHANS 4
int lcec_el41x4_init(int comp_id, struct lcec_slave *slave, ec_pdo_entry_reg_t *pdo_entry_regs);
#endif