Commit Graph

267 Commits

Author SHA1 Message Date
Florian Pose 56c4556173 New SoE request API; implemented API in kernel. 2023-03-14 16:12:45 +01:00
Florian Pose 3893e863e7 Mention registers in watchdog configuration. 2022-12-11 15:44:30 +01:00
Florian Pose a178c9e452 Added feature flags to API. 2021-07-23 15:53:11 +02:00
Florian Pose c5979ef566 Added extern "C" for floating-point functions. 2019-01-22 14:34:55 +01:00
Florian Pose 030e7ecbb9 Added missing const specifier to ecrt_read_real() / ecrt_read_lreal(). 2019-01-22 13:48:40 +01:00
Florian Pose b6e377ff11 Added floating-point access functions and macros for user-space. 2019-01-16 14:36:13 +01:00
Florian Pose f03f15a6fc Added ecrt_master_sync_reference_clock_to() method. 2018-11-26 17:41:27 +01:00
Florian Pose a4ecaf8b88 Some more doxygen documentation. 2013-02-12 17:15:09 +01:00
Florian Pose ecda31bb6a Improved API documentation. 2013-02-12 16:37:11 +01:00
Florian Pose f6f5460485 Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
Florian Pose ebf9c296f3 Added ecrt_slave_config_reg_so_entry_pos() to register non-unique entries. 2013-02-05 16:45:34 +01:00
Florian Pose 23c725a79c Exported ecrt_domain_size() for userspace. 2013-02-05 15:24:45 +01:00
Florian Pose 7b435e5e84 Changed the datatypes of the shift times in ecrt_slave_config_dc()
to int32_t to correctly display negative shift times.
2012-11-29 10:15:40 +01:00
Florian Pose becf05dbd6 Added interface to select the reference clock and to sync to it.
Added rtai_rtdm_dc example, thanks to Graeme Foot.
2012-11-20 14:35:53 +01:00
Florian Pose 7cd3787c3d Added feature flag for register access. 2012-11-20 14:20:59 +01:00
Florian Pose 6f47eb8fa6 Fixed typos in doc. 2012-11-20 13:23:21 +01:00
Florian Pose 4773e88bf6 Added interface to read/write register contents; re-worked register requests. 2012-11-14 22:12:57 +01:00
Florian Pose 87832adc75 Fixed documentation of EC_REQUEST_BUSY. 2012-11-14 19:11:22 +01:00
Florian Pose cd415846d5 Added API for querying CoE emergency requests. 2012-11-06 14:23:44 +01:00
Florian Pose ef68a4bff1 Added ecrt_sdo_request_index() method to change index and subindex. 2012-10-04 10:07:52 +02:00
Florian Pose 9faaa83212 Re-worked and seamlessly integrated RTDM interface. 2012-09-20 15:28:25 +02:00
Florian Pose 3557ee0ad0 Minor change. 2012-09-11 17:50:56 +02:00
Florian Pose 0454e03486 Minor change. 2012-09-11 17:49:43 +02:00
Florian Pose b0b7e6fde4 Removed trailing spaces. 2012-09-06 20:22:24 +02:00
Florian Pose 1c8790c483 Merged redundancy branch to stable-1.5. 2012-09-06 18:28:57 +02:00
Florian Pose dd23901245 Added EC_HAVE_REDUNDANCY. 2012-05-31 16:09:03 +02:00
Florian Pose 6c9e725c29 Added ecrt_master_link_state() to retrieve information about a redundant link. 2012-05-31 11:03:58 +02:00
Florian Pose eea71387d6 Clarified fields of ec_master_state_t in redundancy case. 2012-04-06 23:30:35 +02:00
Florian Pose d3e9618f51 Loop through datagrams, then FMMUs; redundancy flag in domain state. 2012-03-16 18:24:29 +01:00
Florian Pose 7ce790836d Added slave_info documentation. 2012-01-10 10:10:58 +01:00
Florian Pose 700a7eeb13 Added slave_info documentation. 2012-01-10 10:10:58 +01:00
Stefan Weiser 8cb225b61d Insert port information into slave info. 2010-04-30 10:53:56 +02:00
Florian Pose 7555b87512 Added ecrt_master_sdo_download_complete() for ad-hoc downloading SDOs (also
via the command-line tool).
2011-10-24 10:49:27 +02:00
Florian Pose bbe96b3246 Implemented ecrt_master_sdo_upload() and ecrt_master_sdo_download() also for
kernel space.
2011-09-15 16:33:13 +02:00
Florian Pose 6929f2f718 Added ecrt_master_reset() method. 2010-11-30 15:24:21 +01:00
Florian Pose 190cdce964 Added drive_no parameter to SoE layer. 2010-07-20 10:52:31 +02:00
Florian Pose 324b9758a2 Implemented ecrt_master_read_idn() and ecrt_master_write_idn() in kernel space. 2010-07-06 15:09:57 +02:00
Florian Pose 26d4687d0e Added state parameter to ecrt_slave_config_idn(). 2010-06-06 22:40:22 +02:00
Stefan Weiser 209ab5e91d Insert port information into slave info. 2010-04-30 10:53:56 +02:00
Florian Pose 21b95323d9 Added ecrt_master_read_idn() and ecrt_master_write_idn() to read/write SoE
IDNs ad-hoc using the library.
2010-04-27 10:37:32 +02:00
Florian Pose 6a0b016c7c Completed code documentation for ectty. 2010-04-19 21:51:01 +02:00
Florian Pose 35d90f648c Added api doc. 2010-04-14 15:24:58 +02:00
Florian Pose c0d07eab5f Documented idn parameter. 2010-03-09 11:51:02 +01:00
Florian Pose fc4ee4d699 Added ecrt_slave_config_idn() method to store SoE IDN configurations. 2010-03-05 18:05:35 +01:00
Florian Pose a144042657 Removed tabulators. 2010-02-05 10:29:47 +01:00
Florian Pose 2fccbe3542 Include termios.h from ectty.h. 2010-01-26 15:01:13 +01:00
Florian Pose d910657cf8 Callback set via own structure. 2010-01-25 17:42:07 +01:00
Florian Pose 018507a22e Implemented setting of baud rate, data frame and RTS/CTS. 2010-01-22 14:10:18 +01:00
Florian Pose a98da94149 Passing tty cflag to serial implementation. 2010-01-21 17:53:40 +01:00
Florian Pose 91e5c0d860 Merged Komax changes. 2010-01-08 11:26:07 +01:00
Florian Pose a163d3f1bd Implemented ecrt_master() and ecrt_master_get_slave() in kernel space. 2010-01-07 17:26:39 +01:00
Martin Troxler 5d6ce8b992 Merged 2009-12-27 16:58:19 +01:00
Martin Troxler 94fec37d0f use given send interval to limit SDO/FOE traffic 2009-12-15 10:55:36 +01:00
Florian Pose 344ec90545 Merged changes by Martin Troxler. 2009-12-14 13:25:50 +01:00
Florian Pose 699b184f6f Merged changes from Martin Troxler. 2009-12-14 13:11:36 +01:00
Florian Pose 06bad71e6b Implemented reading direction of tty driver. 2009-12-09 12:42:28 +01:00
Florian Pose 6dbc77cd62 Send direction works! 2009-12-02 15:38:10 +01:00
Florian Pose 850d70d6d6 Add ectty.h to dist. 2009-12-01 22:33:24 +01:00
Florian Pose 866c82a4a8 Interface management. 2009-12-01 21:45:45 +01:00
Martin Troxler cb33213076 ecrt_master_set_max_cycle_size: limit SDO traffic 2009-11-30 12:26:56 +01:00
Martin Troxler bf63d965d8 Merge 2009-11-19 14:44:57 +01:00
Martin Troxler dfeb99b1cb applied komax patch to version r1822
- adapted to 2.6.31 (-rt): init_MUTEX -> sema_init, net_device_ops (Matthias Lüscher)
- 8139too eth driver for 2.6.31 (Matthias Lüscher)
- scan_busy queryable in user mode (ec_master_info_t) (Martin Troxler)
- read alias from register 0x0012 (TODO: reread alias after sii write) (Martin Troxler)
- cancel external SDO/FOE,Reg&SII requests (Martin Troxler)
2009-11-19 14:39:10 +01:00
Florian Pose ba60035fbc Added watchdog documentation. 2009-08-24 12:01:22 +02:00
Florian Pose 700226ac83 DC synchrony monitoring methods. 2009-08-21 12:15:16 +02:00
Florian Pose 103eb7139c Added ecrt_master_deactivate() to remove the bus configuration. 2009-08-20 14:27:35 +02:00
Florian Pose 10c7501851 Implemented CompleteAccess for SDO downloads. 2009-08-13 13:53:56 +02:00
Florian Pose f411a51ca6 Re-added callback data pointer, because it is necessary for some applications. 2009-07-29 09:19:53 +00:00
Florian Pose 7db4bafbca Fixed typos. 2009-07-28 16:06:21 +00:00
Florian Pose a7521cc69d Improved bus information API. 2009-07-28 15:42:00 +00:00
Florian Pose 4f4ac6e4fa Added watchdog configuration via application interface (thanks to J. Mohre). 2009-07-27 10:48:52 +00:00
Florian Pose a3c32e8b67 Improved the callback mechanism. 2009-07-13 15:18:28 +00:00
Florian Pose fbb6b62eaf Separated master requesting into open and reserve for userspace library.
(thanks to Martin Troxler).
2009-07-10 10:07:48 +00:00
Florian Pose 87bd9ded3e Reverted accidential checkin. 2009-07-10 09:38:07 +00:00
Florian Pose 36ff1cb8fa TODO. 2009-07-10 09:36:50 +00:00
Florian Pose f9bca4f0ef EC_TIMEVAL2NANO() takes no pointer argument any more. 2009-05-15 09:06:28 +00:00
Florian Pose 7e600a6301 Merged ecrt_slave_config_dc_assign_activate() and
ecrt_slave_config_dc_sync_signals() to ecrt_slave_config_dc().
2009-05-05 15:03:59 +00:00
Florian Pose 779c653142 Added ecrt_slave_sdo_upload() and ecrt_slave_sdo_download(). Thanks to
S. Weiser.
2009-05-05 08:15:02 +00:00
Florian Pose c39919e6cc Replaced ecrt_slave_config_dc_cycle_times() and ecrt_slave_config_dc_shift_times() by ecrt_slave_config_dc_sync_signals(). 2009-05-04 12:46:30 +00:00
Florian Pose a34809e18d Separated application time from synchronizing reference clock. 2009-05-04 10:05:55 +00:00
Florian Pose d3303e0fa4 Replaced timeval by 64-bit EtherCAT time. 2009-04-24 10:24:53 +00:00
Florian Pose b682f55b97 Added shift times to api. 2009-04-23 12:20:35 +00:00
Florian Pose fe56cc111c Separated sync_reference_clock() and sync_slave_clocks(). 2009-04-23 12:02:26 +00:00
Florian Pose 0dd5ec3567 DC sync reference clock to application time. TBC... 2009-04-09 18:21:18 +00:00
Florian Pose de1a332eee Introduced ecrt_master_sync() for synchronizing slave clocks to reference clock. 2009-04-09 10:21:47 +00:00
Florian Pose e3b1d8e573 DC cyclic operation and slave configuration. TBC... 2009-04-09 09:17:41 +00:00
Florian Pose e7ef84f96f Added 64-bit data access macros. 2009-04-08 10:15:28 +00:00
Florian Pose b5a73e3011 Removed list of 1.4 changes from header file. 2009-04-06 09:46:25 +00:00
Florian Pose 12c12b1bab Improved and added license headers. 2009-02-24 12:51:39 +00:00
Florian Pose e745837fed Implemented SDO requests in userspace library. 2009-02-02 13:37:00 +00:00
Florian Pose ae9d759622 Added ecrt_master_slave(). 2009-01-26 14:39:49 +00:00
Florian Pose 826ae37b26 merge -c1604 branches/stable-1.4: Fixed spelling of EtherCAT terms. 2009-01-26 11:45:30 +00:00
Florian Pose 5ca3d24337 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only. 2009-01-26 11:16:10 +00:00
Florian Pose fae8df09b0 Included ecrt_voe_handler_read_nosync()-Patch by Mathias Weber. 2008-11-18 11:13:49 +00:00
Florian Pose 8d46a283f6 Improved error case return codes of many functions. 2008-11-17 17:18:02 +00:00
Florian Pose bdbaf5d078 Created backend versions of all API functions returing a pointer; using
the PTR_ERR()... macros.
2008-11-17 15:04:28 +00:00
Florian Pose a97034d357 Wrapped c function in 'extern "C"' to make the library usable in C++
applications.
2008-10-21 11:58:31 +00:00
Florian Pose 7cdbbc60fe Improved LGPL headers. 2008-10-21 11:31:07 +00:00
Florian Pose 882a01c91f Improved VoE docs. 2008-10-15 10:00:22 +00:00
Florian Pose 4e6e86c808 Memory-mapped process data. 2008-10-10 08:34:15 +00:00
Florian Pose ffe107b658 Made ecrt_domain_size() const. 2008-10-10 07:58:48 +00:00