104 lines
3.3 KiB
Plaintext
104 lines
3.3 KiB
Plaintext
/*
|
|
* FreeRTOS Modbus Library: A Modbus serial implementation for FreeRTOS
|
|
* Copyright (C) 2006 Christian Walter <wolti@sil.at>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library 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
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*
|
|
* File: $Id: main.dox,v 1.16 2010/06/05 09:59:51 wolti Exp $
|
|
*/
|
|
|
|
/*! \mainpage FreeModbus
|
|
|
|
\section intro Introduction
|
|
|
|
The latest version of this document is available on http://freemodbus.berlios.de/api.
|
|
|
|
FreeModbus is a Modbus ASCII/RTU and Modbus TCP implementation for embedded systems. It provides an implementation of the <em>Modbus Application Protocol v1.1a</em> and supports the RTU/ASCII transmission modes defined in the <em>Modbus over serial line specification 1.0</em>. Since version 0.7 FreeModbus also supports Modbus/TCP. Version 0.9 added the first Modbus/TCP port for embedded systems using the <a href="http://www.sics.se/~adam/lwip/">lwIP</a> TCP/IP stack.
|
|
|
|
\section into_port Ports
|
|
|
|
\par Cortex M3 devices:
|
|
- Atmel AT91SAM3S.
|
|
|
|
\par ARM devices:
|
|
- STR71X with FreeRTOS/GCC. See STR71X/simple2.c for an example.
|
|
- STR71TCP with FreeRTOS/lwIP/GCC. This port includes FreeRTOS, lwIP and a fully working PPP stack. The lwIP, PPP and FreeRTOS part is generic and therefore can be used for other ports ( or other projects ).
|
|
- LPC214X with Keil. See LPC214X/demo.c for an example. This port uses the Keil ARM Compiler 2.41.
|
|
- AT91SAM7X with FreeRTOS/Rowley. See AT91SAM7X_ROWLEY/demo.c for an example.
|
|
|
|
\par AVR devices:
|
|
- ATMega8/16/32/128/168/169 with WinAVR. See AVR/demo.c for an example.
|
|
|
|
\par Coldfire devices:
|
|
- MCF5235 with GCC. See MCF5235/demo.c for an example.
|
|
- MCF5235 with CodeWarrior and FreeRTOS port for ColdFire. See MCF5235CW/demo.c for an example.
|
|
- MCF5235/TCP with GCC. This port features FreeRTOS and the lwIP stack. The lwIP part is generic and therefore it should be used as a basis for other lwIP ports.
|
|
|
|
|
|
\par MSP430 devices
|
|
- MSP430F169 with Rowley Crossworks. See MSP430/demo.c for an example.
|
|
- MSP430F169 with GCC. See MSP430/demo.c for an example.
|
|
|
|
\par Z8Encore devices
|
|
- Z8F6422 and Z8F1622 port. See Z8ENCORE/demo.c for an example. The port uses ZDS II - Z8 Encore! 4.10.1 as development environment.
|
|
|
|
\par Win32:
|
|
- A Win32 Modbus RTU/ASCII Port.
|
|
- A Win32 Modbus/TCP Port.
|
|
|
|
\par Linux:
|
|
- A Linux (uCLinux or other distributions) Modbus RTU/ASCII Port.
|
|
*/
|
|
|
|
/*!
|
|
\example STR71X/simple2.c
|
|
*/
|
|
|
|
/*!
|
|
\example AT91SAM7X_ROWLEY/demo.c
|
|
*/
|
|
|
|
/*!
|
|
\example STR71XTCP/demo.c
|
|
*/
|
|
|
|
/*!
|
|
\example AVR/demo.c
|
|
*/
|
|
|
|
/*!
|
|
\example MCF5235/demo.c
|
|
*/
|
|
|
|
/*!
|
|
\example MCF5235TCP/demo.c
|
|
*/
|
|
|
|
/*!
|
|
\example WIN32/demo.cpp
|
|
*/
|
|
|
|
/*!
|
|
\example WIN32TCP/demo.cpp
|
|
*/
|
|
|
|
/*!
|
|
\example LINUX/demo.c
|
|
*/
|
|
|
|
/*!
|
|
\example MSP430/demo.c
|
|
*/
|