Merged revisions 4004-4036,4039-4048,4050-4095,4097-4100 via svnmerge from
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 30 Jul 2010 12:32:58 +0000 (12:32 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 30 Jul 2010 12:32:58 +0000 (12:32 +0000)
https://src.develer.com/svnoss/bertos/branches/i2c

........
  r4005 | asterix | 2010-07-07 18:06:44 +0200 (mer, 07 lug 2010) | 1 line

  Add status registry defines.
........
  r4006 | asterix | 2010-07-07 18:08:01 +0200 (mer, 07 lug 2010) | 1 line

  Fix i2c driver to use correctly the stm32 i2c implementation.
........
  r4007 | asterix | 2010-07-07 18:08:30 +0200 (mer, 07 lug 2010) | 1 line

  Use recv instead get.
........
  r4008 | asterix | 2010-07-07 18:08:40 +0200 (mer, 07 lug 2010) | 1 line

  Use recv instead get.
........
  r4009 | asterix | 2010-07-07 19:05:25 +0200 (mer, 07 lug 2010) | 1 line

  Add comments. Extract method for cheching function. Clean up.
........
  r4011 | asterix | 2010-07-08 18:26:32 +0200 (gio, 08 lug 2010) | 1 line

  Add i2c definition for lm3s cpu.
........
  r4013 | asterix | 2010-07-08 18:32:16 +0200 (gio, 08 lug 2010) | 1 line

  Add first implementation of i2c for lm3s.
........
  r4022 | asterix | 2010-07-12 12:35:43 +0200 (lun, 12 lug 2010) | 1 line

  Add mask for i2c events. Reformat.
........
  r4023 | asterix | 2010-07-12 12:41:33 +0200 (lun, 12 lug 2010) | 1 line

  Rename file to more generic name.
........
  r4024 | asterix | 2010-07-12 12:43:27 +0200 (lun, 12 lug 2010) | 1 line

  Add i2c pins definition. Use include for all lm3s.
........
  r4025 | asterix | 2010-07-12 12:43:53 +0200 (lun, 12 lug 2010) | 1 line

  Add missing include.
........
  r4026 | asterix | 2010-07-12 12:44:32 +0200 (lun, 12 lug 2010) | 1 line

  Reorder includes.
........
  r4027 | asterix | 2010-07-12 12:44:57 +0200 (lun, 12 lug 2010) | 1 line

  Reorder includes.
........
  r4028 | asterix | 2010-07-12 12:45:44 +0200 (lun, 12 lug 2010) | 1 line

  Add first implementation of i2c driver for lm3s.
........
  r4029 | asterix | 2010-07-15 15:35:15 +0200 (gio, 15 lug 2010) | 1 line

  Fix the i2c implemtation for lm3s. Add some defines to use also the second i2c device.
........
  r4030 | asterix | 2010-07-15 15:35:38 +0200 (gio, 15 lug 2010) | 1 line

  Add some defines to use also the second i2c device.
........
  r4031 | asterix | 2010-07-15 18:48:06 +0200 (gio, 15 lug 2010) | 1 line

  Add first implemtation of i2c for lpc23xx.
........
  r4032 | asterix | 2010-07-19 19:49:58 +0200 (lun, 19 lug 2010) | 1 line

  Reorder includes.
........
  r4033 | asterix | 2010-07-19 19:50:25 +0200 (lun, 19 lug 2010) | 1 line

  Add some i2c definition.
........
  r4034 | asterix | 2010-07-19 19:51:35 +0200 (lun, 19 lug 2010) | 1 line

  Implement the write function. Write first skell for read function.
........
  r4035 | asterix | 2010-07-20 12:17:00 +0200 (mar, 20 lug 2010) | 1 line

  Fix read function. Add comment. Use macro for registers devices specific.
........
  r4036 | asterix | 2010-07-20 12:17:53 +0200 (mar, 20 lug 2010) | 1 line

  Add states definition. Some fix.
........
  r4039 | asterix | 2010-07-20 15:52:21 +0200 (mar, 20 lug 2010) | 1 line

  Add the macro to count the argument number of functions.
........
  r4040 | asterix | 2010-07-20 18:58:48 +0200 (mar, 20 lug 2010) | 1 line

  Fix newline.
........
  r4041 | asterix | 2010-07-20 19:22:59 +0200 (mar, 20 lug 2010) | 1 line

  Reoeder and add missing includes.
........
  r4042 | asterix | 2010-07-21 14:29:48 +0200 (mer, 21 lug 2010) | 1 line

  Some fix.
........
  r4043 | asterix | 2010-07-22 11:35:38 +0200 (gio, 22 lug 2010) | 1 line

  Refactor to implement put and get.
........
  r4044 | asterix | 2010-07-22 11:37:27 +0200 (gio, 22 lug 2010) | 1 line

  Reformat.
........
  r4045 | asterix | 2010-07-22 12:00:52 +0200 (gio, 22 lug 2010) | 1 line

  Clean up. Add timeout on some status polling.
........
  r4046 | asterix | 2010-07-22 12:20:01 +0200 (gio, 22 lug 2010) | 1 line

  Implement put function and remove send.
........
  r4047 | asterix | 2010-07-22 16:28:40 +0200 (gio, 22 lug 2010) | 1 line

  Clean up.
........
  r4050 | asterix | 2010-07-22 18:33:59 +0200 (gio, 22 lug 2010) | 1 line

  Add definition and function for new i2c api.
........
  r4051 | asterix | 2010-07-22 18:49:59 +0200 (gio, 22 lug 2010) | 1 line

  Add implementation for oveloaded functions.
........
  r4052 | asterix | 2010-07-22 19:09:48 +0200 (gio, 22 lug 2010) | 1 line

  Inline oveloaded functions. Some fix. Add missing include.
........
  r4053 | asterix | 2010-07-22 19:10:36 +0200 (gio, 22 lug 2010) | 1 line

  Add cpu header selecter for i2c.
........
  r4054 | asterix | 2010-07-22 19:13:51 +0200 (gio, 22 lug 2010) | 1 line

  Add stop flag defition.
........
  r4055 | asterix | 2010-07-23 17:02:48 +0200 (ven, 23 lug 2010) | 1 line

  Refactor the i2c api.
........
  r4056 | batt | 2010-07-23 17:15:43 +0200 (ven, 23 lug 2010) | 2 lines

  Refactor i2c start.
........
  r4057 | asterix | 2010-07-23 17:49:13 +0200 (ven, 23 lug 2010) | 1 line

  Fix start argument. Add arblst flag.
........
  r4058 | batt | 2010-07-23 17:54:17 +0200 (ven, 23 lug 2010) | 2 lines

  Add some errors.
........
  r4059 | asterix | 2010-07-23 18:41:43 +0200 (ven, 23 lug 2010) | 1 line

  Add test stop and generic error.
........
  r4060 | asterix | 2010-07-23 18:46:29 +0200 (ven, 23 lug 2010) | 1 line

  Add test stop and generic error.
........
  r4061 | batt | 2010-07-23 21:40:05 +0200 (ven, 23 lug 2010) | 1 line

  Automatically decrement transfer size.
........
  r4062 | batt | 2010-07-23 21:40:40 +0200 (ven, 23 lug 2010) | 1 line

  Add generic i2c_recv and i2c_send implementation.
........
  r4063 | batt | 2010-07-23 21:41:23 +0200 (ven, 23 lug 2010) | 1 line

  First version of new i2c bitbang API.
........
  r4065 | asterix | 2010-07-26 15:59:45 +0200 (lun, 26 lug 2010) | 1 line

  Refactor the driver for new api.
........
  r4066 | asterix | 2010-07-26 16:00:27 +0200 (lun, 26 lug 2010) | 1 line

  Add header for i2c for lpc2.
........
  r4067 | asterix | 2010-07-26 16:01:19 +0200 (lun, 26 lug 2010) | 1 line

  Add definition for generic send and recv.
........
  r4068 | asterix | 2010-07-26 16:02:05 +0200 (lun, 26 lug 2010) | 1 line

  Fix count params macro.
........
  r4069 | asterix | 2010-07-26 16:07:48 +0200 (lun, 26 lug 2010) | 1 line

  Clean up.
........
  r4070 | asterix | 2010-07-26 17:32:24 +0200 (lun, 26 lug 2010) | 1 line

  Add support for more i2c devices.
........
  r4071 | asterix | 2010-07-26 17:32:44 +0200 (lun, 26 lug 2010) | 1 line

  Add comments.
........
  r4072 | asterix | 2010-07-26 17:33:27 +0200 (lun, 26 lug 2010) | 1 line

  Move cm3 type to generic types header.
........
  r4073 | asterix | 2010-07-26 17:41:14 +0200 (lun, 26 lug 2010) | 1 line

  Remove unneeded macros. Remove empty header.
........
  r4074 | asterix | 2010-07-26 17:42:10 +0200 (lun, 26 lug 2010) | 1 line

  Fix include.
........
  r4075 | asterix | 2010-07-27 11:28:40 +0200 (mar, 27 lug 2010) | 1 line

  Add defines for all i2c devices.
........
  r4076 | asterix | 2010-07-27 14:21:55 +0200 (mar, 27 lug 2010) | 1 line

  Clean up.
........
  r4077 | asterix | 2010-07-27 14:22:54 +0200 (mar, 27 lug 2010) | 1 line

  Add some header to use new i2c api.
........
  r4078 | asterix | 2010-07-27 16:58:37 +0200 (mar, 27 lug 2010) | 1 line

  Remove dependece from log module.
........
  r4079 | asterix | 2010-07-27 16:59:02 +0200 (mar, 27 lug 2010) | 1 line

  Modify driver to work with new api.
........
  r4080 | asterix | 2010-07-27 17:06:52 +0200 (mar, 27 lug 2010) | 1 line

  Add missing define to use i2c2 devices.
........
  r4081 | asterix | 2010-07-27 17:45:00 +0200 (mar, 27 lug 2010) | 1 line

  Clean up. Use cpu_relax for while loop. Rename check_i2cStatus to wait_event.
........
  r4082 | asterix | 2010-07-27 18:13:01 +0200 (mar, 27 lug 2010) | 1 line

  Split long function. Add comments.
........
  r4083 | asterix | 2010-07-28 17:40:25 +0200 (mer, 28 lug 2010) | 1 line

  Refactor to works with new api. Clean up.
........
  r4084 | asterix | 2010-07-28 17:48:28 +0200 (mer, 28 lug 2010) | 1 line

  Refactor to works with new api. Clean up.
........
  r4085 | asterix | 2010-07-28 18:23:43 +0200 (mer, 28 lug 2010) | 1 line

  Refactor the recv. Add comments. Change fist_send flag names.
........
  r4086 | asterix | 2010-07-28 18:29:18 +0200 (mer, 28 lug 2010) | 1 line

  Move generic i2c_hw_init prototype to i2c header.
........
  r4087 | asterix | 2010-07-28 19:22:09 +0200 (mer, 28 lug 2010) | 1 line

  Add firt implementation for avr i2c with new api.
........
  r4088 | asterix | 2010-07-28 19:22:31 +0200 (mer, 28 lug 2010) | 1 line

  Add data nack error.
........
  r4089 | asterix | 2010-07-29 16:21:18 +0200 (gio, 29 lug 2010) | 1 line

  Use different api name for new i2c interface. Comply all driver.
........
  r4090 | asterix | 2010-07-29 17:17:31 +0200 (gio, 29 lug 2010) | 1 line

  Fix flag test.
........
  r4091 | asterix | 2010-07-30 12:28:47 +0200 (ven, 30 lug 2010) | 1 line

  Add support for i2c bitbang.
........
  r4092 | asterix | 2010-07-30 12:30:26 +0200 (ven, 30 lug 2010) | 1 line

  Add author.
........
  r4093 | asterix | 2010-07-30 12:31:47 +0200 (ven, 30 lug 2010) | 1 line

  Add foldback for at91 i2c for nightly test.
........
  r4094 | asterix | 2010-07-30 12:32:15 +0200 (ven, 30 lug 2010) | 1 line

  Reorder includes.
........
  r4095 | asterix | 2010-07-30 12:39:13 +0200 (ven, 30 lug 2010) | 1 line

  Clean up. Remove module check where is unneeded.
........

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4101 38d2e660-2303-0410-9eaa-f027e97ec537


Trivial merge