1 2007-08-23 Alexey Shusharin <mrfinch@mail.ru>
3 * doc/can.sgml: Callback on event documentation.
4 * src/can.c: Change one wakeup to callback in a comment.
5 * include/canio.h: changed cyg_addrword_t to CYG_ADDRWORD so
6 can will compile without the kernel.
8 2007-08-06 Alexey Shusharin <mrfinch@mail.ru>
9 Andrew Lunn <andrew.lunn@ascom.ch>
11 * cdl/io_can.cdl: Added option CYGOPT_IO_CAN_SUPPORT_CALLBACK
13 * include/canio.h: Added struct cyg_can_callback_cfg for setting
14 callback configurations.
16 * include/can.h: Added declaration and initialization of callback
17 configuration in struct can_channel.
19 * src/can.c: Added callback configuration changing and
20 application function call.
22 2007-07-02 Uwe Kindler <uwe_kindler@web.de>
24 * cdl/io_can.cdl: Added interface CYGINT_IO_CAN_CHANNELS for
25 counting available CAN channels
27 * include/canio.h: Changed type cyg_can_msgbuf_info. The two
28 fields are 16 bit now because device drivers may support more
29 than 256 message buffers (i.e. the LPC2xxx CAN driver)
31 2007-06-20 Uwe Kindler <uwe_kindler@web.de>
33 * test/can_filter: Changed filter loop counter from cyg_uint8 to
34 cyg_uint16 because LPC2xxx CAN driver supports more than 256
37 2007-03-23 Uwe Kindler <uwe_kindler@web.de>
39 * cdl/io_can.cdl: Added several interfaces for implementation by
41 Moved several configuration options from device drivers to the
42 generic CAN driver. With this design a device driver does not
43 need to provide all configuration options in its CDL file - it
44 simply needs to implement the provided interfaces. The drawback
45 of this decicsion is, that it is not possible to control these
46 options independently for several CAN devices. (But most platforms
47 will have only 1 channel)
48 Added configuration option CYGBLD_IO_CAN_EXTRA_TESTS. This option
49 enables the build of the interactive CAN tests.
51 * test/can_filter: Added interactive message filtering test
53 * test/can_hdi: Added interactive hardware description interface
56 * test/can_load: Added interactive message handling (reception,
59 * test/can_remote: Added interactive remote response buffer test
61 * test/can_tx: Added interactive basic TX test. All tests are not
62 part of the eCos test framework because they are interactive. That
63 means, they require interaction with another user controlled
66 * include/can.h: Added identifier masks for standard and extended
68 Added the line #include CYGDAT_IO_CAN_DEVICE_INL. This enables a
69 device driver to provide an own device inline file. In this inline
70 file the driver may define own data types for CAN messages (for
71 internal storage of CAN messages (see AT91SAM7 CAN driver))
73 * include/canio.h: Added baudrate CYGNUM_CAN_KBAUD_AUTO - support of
74 automatic baudrate detection if a driver supports such a feature.
75 Added state CYGNUM_CAN_STATE_CONFIG and mode CYGNUM_CAN_MODE_CONFIG.
76 The application may use these identifiers to set the CAN device into
77 a state where it is safe to add/remove/configure message buffers.
78 Added union data type cyg_can_msg_data. With this data type a 4 byte
79 alignment of message data is guaranteed, an byte, word and dword
80 access to the data is possible and an assignment of two CAN datas are
82 cyg_can_message now uses cyg_can_msg_data union for CAN data.
83 Replaced SW-Filt flag by autobaud flag in HDI.
84 Added CAN message access macros for read/write acces of CAN message
85 structures. These macros hide implementation of CAN message from
88 * src/can.c: Added support for device driver defined CAN message
91 2006-12-19 Sergei Gavrikov <sg@sgs.gomel.by>
93 * doc/can.sgml: Correctly close para tag.
95 2006-12-13 Uwe Kindler <uwe_kindler@web.de>
97 * doc/can.sgml: CAN driver SGML documentation added.
99 2006-08-25 Gary Thomas <gary@mlbassoc.com>
101 * cdl/io_can.cdl: Set parent for more intuitive ConfigTool layout.
103 2006-03-27 Uwe Kindler <uwe_kindler@web.de>
105 * src/can.c can_rcv_event() Clear the flag field in new event before
106 calling into low level hardware driver.
108 2006-02-15 Uwe Kindler <uwe_kindler@web.de>
110 * include/can_io.h Added message buffer configuration identifier:
111 CYGNUM_CAN_MSGBUF_RESET_ALL, CYGNUM_CAN_MSGBUF_RX_FILTER_ALL ...
112 Added cfg_id field to cyg_can_msgbuf_cfg data structure.
114 2005-09-11 Uwe Kindler <uwe_kindler@web.de>
116 * include/can_io.h Added support for get_config to CAN_LOWLEVEL_FUNS
118 Added additional CAN events.
119 Added support for can state (cyg_can_state) and CAN mode (cyg_can_mode).
120 Changed data type of cyg_can_buf_info_t data structure from cyg_int32
122 Added support for message box configuration (cyg_can_msgbuf_info).
123 Added support for message filtering (cyg_cn_filter).
124 Renamed cyg_can_rtr_buf to cyg_can_remote_buf.
125 Renamed CYGNUM_CAN_RTR_BUF_NA and CYGNUM_CAN_RTR_BUF_INIT to
126 CYGNUM_CAN_MSGBUF_NA and CYGNUM_CAN_MSGBUF_INIT because they are
127 also used for message filtering.
128 Added support for hardware description interface.
129 Added support for CYG_IO_SET_CONFIG_CAN_INPUT_FLUSH,
130 CYG_IO_SET_CONFIG_CAN_OUTPUT_FLUSH and CYG_IO_GET_CONFIG_SERIAL_OUTPUT_DRAIN.
132 * doc/can_driver_doc.html Additional configuration options
135 2005-05-24 Uwe Kindler <uwe_kindler@web.de>
137 * Generic CAN driver package created
139 //===========================================================================
140 //####ECOSGPLCOPYRIGHTBEGIN####
141 // -------------------------------------------
142 // This file is part of eCos, the Embedded Configurable Operating System.
143 // Copyright (C) 2003, 2004 eCosCentric Limited
145 // eCos is free software; you can redistribute it and/or modify it under
146 // the terms of the GNU General Public License as published by the Free
147 // Software Foundation; either version 2 or (at your option) any later version.
149 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
150 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
151 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
154 // You should have received a copy of the GNU General Public License along
155 // with eCos; if not, write to the Free Software Foundation, Inc.,
156 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
158 // As a special exception, if other files instantiate templates or use macros
159 // or inline functions from this file, or you compile this file and link it
160 // with other works to produce a work based on this file, this file does not
161 // by itself cause the resulting work to be covered by the GNU General Public
162 // License. However the source code for this file must still be made available
163 // in accordance with section (3) of the GNU General Public License.
165 // This exception does not invalidate any other reasons why a work based on
166 // this file might be covered by the GNU General Public License.
167 // -------------------------------------------
168 //####ECOSGPLCOPYRIGHTEND####
169 //===========================================================================