Commit Graph

15 Commits

Author SHA1 Message Date
Joel Sherrill
400a04a200 2009-08-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libi2c/libi2c.c: Fix warnings.
2009-08-16 15:15:01 +00:00
Joel Sherrill
c85ab23ab7 2009-08-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio_.h,
	libcsupport/src/fs_null_handlers.c: Null handlers are now const.
	* libi2c/libi2c.c, libi2c/libi2c.h: Documentation. Do not create
	semaphores on the fly.
	* cpukit/libblock/src/bdpart.c: Fixed format specifier.
	* cpukit/libblock/include/rtems/bdbuf.h, rtems/include/rtems.h,
	rtems/include/rtems/rtems/asr.h, rtems/include/rtems/rtems/attr.h,
	rtems/include/rtems/rtems/barrier.h,
	rtems/include/rtems/rtems/barriermp.h,
	rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
	rtems/include/rtems/rtems/config.h, rtems/include/rtems/rtems/dpmem.h,
	rtems/include/rtems/rtems/event.h,
	rtems/include/rtems/rtems/eventmp.h,
	rtems/include/rtems/rtems/eventset.h,
	rtems/include/rtems/rtems/intr.h, rtems/include/rtems/rtems/message.h,
	rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
	rtems/include/rtems/rtems/msgmp.h, rtems/include/rtems/rtems/object.h,
	rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
	rtems/include/rtems/rtems/ratemon.h,
	rtems/include/rtems/rtems/region.h,
	rtems/include/rtems/rtems/regionmp.h,
	rtems/include/rtems/rtems/rtemsapi.h, rtems/include/rtems/rtems/sem.h,
	rtems/include/rtems/rtems/semmp.h, rtems/include/rtems/rtems/signal.h,
	rtems/include/rtems/rtems/signalmp.h,
	rtems/include/rtems/rtems/status.h,
	rtems/include/rtems/rtems/support.h,
	rtems/include/rtems/rtems/taskmp.h, rtems/include/rtems/rtems/tasks.h,
	rtems/include/rtems/rtems/timer.h, rtems/include/rtems/rtems/types.h,
	rtems/inline/rtems/rtems/support.inl: Documentation.
	* include/rtems/irq-extension.h: Documentation. Added API for
	interrupt servers.
2009-08-05 18:17:12 +00:00
Ralf Corsepius
b7cfd627b3 Add missing initializers. 2008-12-23 05:00:57 +00:00
Joel Sherrill
cd784cb75d 2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1326/cpukit
	* libi2c/libi2c.c: Use int for return value when negative values
	possible.
2008-09-24 14:31:26 +00:00
Ralf Corsepius
f002800eaf Use bool instead of boolean. 2008-09-04 14:20:51 +00:00
Ralf Corsepius
ee0c82f413 Add missing prototypes. 2008-08-02 05:16:26 +00:00
Thomas Doerfler
9ab94a1fc7 made buffer for write calls constant 2008-07-11 10:05:53 +00:00
Thomas Doerfler
5e4831f1d2 Modified error messages. Driver operations table is now constant. New
entry in the rtems_libi2c_tfr_mode_t structure:
        idle_char. This character will be continuously transmitted in
        read only functions.
2008-07-10 06:03:15 +00:00
Thomas Doerfler
42bf1b9f13 adapted gen83xx to new board 2008-05-15 15:10:38 +00:00
Till Straumann
d2ff24c22d 2007-11-17 Till Straumann <strauman@slac.stanford.edu>
* libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
	Added checks so that use of 'stdio' is avoided (falling
	back to 'printk') before the system is up.
	Publish driver entry points so that the libi2c driver could
	be added to the applications 'device driver table'.
	This is not fully implemented yet, though, since in addition to
	initializing libi2c the low-level i2c bus drivers as well
	as high-level i2c device drivers need to be registered
	with the library.
	Updated README_libi2c accordingly.
2007-11-21 06:20:49 +00:00
Thomas Doerfler
55a685bddc added SPI support to libi2c
added IRQ support to MPC83xx i2c driver
added mpc83xx spi driver
2007-10-25 16:17:56 +00:00
Joel Sherrill
c57316a409 2007-10-11 Daniel Hellstrom <daniel@gaisler.com>
* libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
	Fixed check of status when registering driver. Add use of strerror().
2007-10-11 12:46:50 +00:00
Till Straumann
6a03edd51e 2007-01-16 Till Straumann <strauman@slac.stanford.edu>
* libi2c/libi2c.c, libi2c/libi2c.h:
	Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
2007-01-17 06:19:38 +00:00
Ralf Corsepius
199e748875 Eliminate obsolete types. 2005-11-06 09:22:09 +00:00
Till Straumann
6339f4670c 2005-11-02 straumanatslacdotstanford.edu
* libi2c/Makefile.am, libi2c/Makefile.in, libi2c/libi2c.c,
	libi2c/libi2c.h: New files.
	* Makefile.am, configure.ac, preinstall.am, wrapup/Makefile.am: added a
	simple API/library for i2c devices and drivers for i2c 2-byte eeproms
	and a ds1621 temperature sensor; API is documented in libi2c.h
2005-11-03 02:44:59 +00:00