Commit Graph

105 Commits

Author SHA1 Message Date
gdisirio c8f12b50c2 Reformatted some comments going past column 80.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3726 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 10:44:57 +00:00
gdisirio 354a341507 Fixed some documentation errors.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3725 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 10:36:13 +00:00
gdisirio 92a4c29394 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3720 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-03 18:47:14 +00:00
barthess b923d10f0e I2C. Small style improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3719 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-03 17:08:01 +00:00
barthess 9a5d5cc7f7 I2C. Merged changes from files posted in forum.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3718 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-03 16:57:22 +00:00
barthess c9b31ce737 I2C. Added safety timeouts and resets.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3717 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-03 16:32:45 +00:00
barthess e43bc0f967 I2C. Clock checks moved to header file.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3713 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 19:25:44 +00:00
barthess 86b3f07923 I2C. Reorganized locks.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3711 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 19:04:50 +00:00
barthess 7f64ca7a5d I2C. Functions: i2c_lld_set_clock(), and i2c_lld_set_opmode() and i2c_lld_master_transceive() now static.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3709 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 17:54:20 +00:00
barthess d0c36ae0e6 I2C. "id_" prefixes deleted from driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3707 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 17:39:45 +00:00
barthess def238d3a0 I2C. #defines moved out of functions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3706 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 17:26:05 +00:00
barthess e6601833cb I2C. Deleted __NOP()
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3705 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 17:13:03 +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 334c7d645d git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3645 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-21 18:49:04 +00:00
barthess d1f54cbe5a I2C. Clock checks done at compile time.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3630 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-17 20:14:11 +00:00
barthess e062d10250 Cleaned "//" comments.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3628 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-17 19:08:16 +00:00
barthess 27a7716a3b I2C. Added safety checks for different STM32 platforms in frequency settings routine.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3624 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-17 12:45:50 +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
barthess a524ec87f1 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3581 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-08 14:34:44 +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 ac8123d2da I2C. Added note about different API classes usage.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3569 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-07 14:13:57 +00:00
barthess 2db3c769f1 I2C. Bug fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3562 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-06 18:09:34 +00:00
barthess 6777c09f08 I2C. Added checks. Cleaned copypaste errors.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3559 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-06 13:37:08 +00:00
barthess e05d85d2bd I2C. Added startup functions for I2C1 and I2C3 interfaces.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3554 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-05 17:17:52 +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
barthess dbac0ef26b I2C. DMA works.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3550 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-02 15:01:31 +00:00
barthess 62608271ad I2C. Code compiles but does not work.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3548 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-01 20:17:58 +00:00
barthess 7463a3f1ff I2C. Totally broken.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3546 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-01 18:17:30 +00:00
barthess 5e18cf994d I2C. Nop.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3542 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-11-27 22:18:47 +00:00
barthess e5ce81050f I2C. Minor fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3540 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-11-27 19:49:48 +00:00
barthess 267e558ee4 I2C. Fixed warning.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3453 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-10-26 17:49:51 +00:00
gdisirio 3a94137eb3 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3320 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-09-16 17:38:22 +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 4e57582138 I2C. Added forgotten copyrights.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3283 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-09-02 13:32:19 +00:00
barthess 076e7453bf I2C. Test updated.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3264 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-08-28 14:02:18 +00:00
barthess da23780899 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3250 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-08-23 08:38:16 +00:00
barthess 4ec82f62c1 I2C. 1 - Merge code from trunk. 2 - Fix driver problems detected by the CH_DBG_SYSTEM_STATE_CHECK
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3249 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-08-23 08:11:23 +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 28b3dd95f1 I2C. Code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3187 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-31 21:06:23 +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 e02d3607dc I2C. Waits moved from ISR.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3161 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-14 14:47:13 +00:00
barthess 2bdd9885e2 I2C. Code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3159 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-13 20:41:26 +00:00
barthess 146118a136 I2C. Stability improvements in very hi load scenarios.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3157 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-13 11:07:48 +00:00
barthess 71ebbf914f I2C. Comments cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3154 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-12 18:34:11 +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 44960790c5 I2C. Comments improvements. Code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3152 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-12 14:21:44 +00:00
barthess caeaf6536e I2C. Fixed bug occures when read-through-write two bytes. Code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3150 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-10 21:40:49 +00:00
barthess 0088567492 I2C. Most of problems have been resolved. Needs testing.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3149 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-10 18:17:16 +00:00