Commit Graph

78 Commits (2a7ff56334ae29c61336d47f450a1ce38f6e30db)

Author SHA1 Message Date
gdisirio df18715f17 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7100 35acf78f-673a-0410-8e92-d51de3d6d3f4 2014-07-26 09:24:53 +00:00
gdisirio c3b9392212 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6175 35acf78f-673a-0410-8e92-d51de3d6d3f4 2013-08-19 11:45:52 +00:00
gdisirio dbd493cff1 I2C ported but needs to be reviewed to not use virtual timers directly.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6170 35acf78f-673a-0410-8e92-d51de3d6d3f4
2013-08-17 15:32:41 +00:00
gdisirio 8ca210a4af git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6108 35acf78f-673a-0410-8e92-d51de3d6d3f4 2013-08-09 08:24:22 +00:00
gdisirio 49d71a01ab Renamed or added prefix to all hernel configuration options.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6010 35acf78f-673a-0410-8e92-d51de3d6d3f4
2013-07-20 10:12:44 +00:00
gdisirio 675296b852 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5536 35acf78f-673a-0410-8e92-d51de3d6d3f4 2013-04-02 17:28:18 +00:00
gdisirio 356fb1a2a0 I2Cv2 driver tested on STM32F37x.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5526 35acf78f-673a-0410-8e92-d51de3d6d3f4
2013-04-01 16:16:18 +00:00
gdisirio 184a71345c Updated license years.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5102 35acf78f-673a-0410-8e92-d51de3d6d3f4
2013-02-02 10:58:09 +00:00
gdisirio c0cbc2411e Fixed bug 3530043.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4244 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-05-27 14:50:05 +00:00
gdisirio de5dcbba85 License text updated with new year.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3846 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-21 14:29:42 +00:00
gdisirio 35ae8956e8 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3784 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-10 18:20:35 +00:00
gdisirio 54c975bed0 I2C driver state diagram modified, documentation improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3751 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-06 19:05:13 +00:00
gdisirio 2e5931ea53 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3716 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-03 15:30:32 +00:00
barthess 1c62f74c05 I2C. Added wrappers with TIME_INFINITE timeout.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3715 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 20:35:47 +00:00
barthess 72266f8b59 I2C. Fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3694 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-31 09:40:52 +00:00
barthess 2234fd3e31 I2C. API changes mostly done.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3692 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-30 20:45:56 +00:00
gdisirio 411418930f Updated credits.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3685 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-29 18:07:02 +00:00
gdisirio b30ba31603 I2C API proposal.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3684 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-29 18:03:49 +00:00
barthess edfa9d2fae I2C. Added timeout in functions. Code clean ups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3583 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-08 19:24:21 +00:00
gdisirio c7c5942ac3 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3578 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-08 08:36:37 +00:00
barthess 3799bf56f5 I2C. Error handling from userland code added.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3572 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-07 19:23:09 +00:00
barthess 0738591b02 I2C. Switch to synchronous model.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3570 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-07 17:57:42 +00:00
barthess 80043ff2a0 I2C. Minor code improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3564 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-07 05:44:33 +00:00
barthess 59014aa2be I2C. Tested on tmp75, mma8451, max1236.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3553 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-04 17:46:19 +00:00
gdisirio fa0a7f52db git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3407 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-09-25 10:11:49 +00:00
barthess d3e15bccfc I2C. Revert const qualifier to the pointer to I2CSlaveConfig.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3310 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-09-12 15:50:35 +00:00
barthess cf7747f040 I2C. Remove const qualifier from pointer to I2CSlaveConfig. Step 3.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3308 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-09-11 20:21:45 +00:00
barthess a08f38d06c I2C. Remove const qualifier from pointer to I2CSlaveConfig. Step 2.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3307 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-09-11 18:30:56 +00:00
barthess 6ee04cf232 I2C. Added template of synchronouse deriver. It does not work for a moment.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3190 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-08-05 17:24:23 +00:00
barthess 4bcff1c283 I2C. Added optional fields hook to I2CSlaveConfig structure.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3189 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-08-05 10:42:42 +00:00
barthess 302d06cc66 I2C. All polling waitins code replaced by "waiting" GPT interrups. Documentation fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3167 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-20 08:35:05 +00:00
barthess b569145b24 I2C. STOP waitings was replaced by GPT callback functions. Need much of testing.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3166 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-19 20:45:57 +00:00
barthess 621d794bf0 I2C. Documentation improvements. Dead code clenups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3153 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-12 18:26:39 +00:00
barthess 6eca655484 I2C. Driver still cause stack overflows.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3134 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-07 21:53:01 +00:00
barthess ccb28114da I2C. Driver looks working, but sometimes hangs up. I don't know, my big project cause troubles in it, or driver cause troubles in my project.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3116 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-03 18:02:55 +00:00
barthess af0e40079d I2C. Trying to add optional WAIT support. Driver broken.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3101 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-01 13:36:59 +00:00
barthess 551a1c1f22 I2C. Added dirty hack to realize thread safe dirver. Needs to be rewrited.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3100 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-30 21:37:34 +00:00
barthess f73960c8dc I2C. API changed. Transmit and receive buffers removed from I2CSlaveConfig. Now pointers to that buffers pass in functions arguments.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3099 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-30 13:43:42 +00:00
barthess b1d043cede I2C. Some coding style improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3074 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-23 19:06:33 +00:00
barthess 97e643a2a2 I2C. Commetns style changed to /**/.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3073 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-23 18:50:13 +00:00
barthess 2f77482083 I2C. "Sevent" field moved from I2CSlaveConfig to I2CDriver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3072 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-23 18:31:24 +00:00
barthess 10153a4f30 I2C. Fixed indent style. All tabs changed to 2 spaces.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3071 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-23 18:29:22 +00:00
barthess 3f2e823d2a I2C. Small improvemets
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3069 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-22 18:00:20 +00:00
barthess 70179f12dd I2C. Slave config structure now have const qualifier. Moset of fields moved to the driver structure. May be broken events subsystem in driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3067 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-21 20:17:14 +00:00
barthess b54133ab1b I2C. Some fields from I2CSlaveConfig moved to driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3066 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-21 18:30:50 +00:00
barthess 79f477ba95 I2C. "Slave_addr" and "nbit_addr" fields from I2CSlaveConfig structure merged together.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3057 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-18 14:31:27 +00:00
barthess f3e571839b I2C. Code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3056 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-18 13:35:26 +00:00
barthess 350ae0a1a9 I2C. API BROKEN! Structure fields renamed in underscore naming style.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3055 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-18 11:12:33 +00:00
barthess 5cad241306 I2C. Merged code from trunk.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3036 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-07 14:34:59 +00:00
barthess 152f34a80c I2C. Some refactorings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3000 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-05-28 12:31:47 +00:00