Commit Graph

539 Commits

Author SHA1 Message Date
barthess 4284d0ee15 I2C. In functions added local pointer to I2C_TypeDef structure.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3770 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-08 20:41:27 +00:00
barthess 16d354e687 I2C. Added external fields hook in driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3769 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-08 19:36:35 +00:00
barthess 55cdd3db53 I2C. Added forgotten DMA definitions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3768 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-08 19:32:32 +00:00
gdisirio ceabd20101 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3758 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-07 13:34:43 +00:00
gdisirio 0a3c31495e git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3756 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-07 07:36:07 +00:00
gdisirio 618b341a05 Removed unused stuff from RTCv1.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3753 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-07 07:06:49 +00:00
gdisirio dcbb613f6d git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3750 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-06 16:41:43 +00:00
barthess 25238b87b5 I2C. Optimized interrupt handling strategy.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3749 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-06 16:29:18 +00:00
barthess 8fbd1c95e0 I2C. Fix problem with write only transactions. Code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3747 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-06 11:49:21 +00:00
barthess c048ac69ff I2C. Initialization of RC2 register now doing only once in start() function.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3744 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-05 19:19:13 +00:00
barthess 5b8b005cbd I2C. Fixed 2 errors.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3742 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-05 17:50:11 +00:00
gdisirio 62b090c673 Improvements to the MMC over SPI driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3741 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-05 16:01:52 +00:00
barthess 3f685aa996 I2C. Merged changes from i2c_lld_2.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3729 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 14:36:51 +00:00
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 5909d22fdd Fixed bug 3468445.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3721 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-03 19:06:48 +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 fc44d8dbc6 I2C. Deleted unneeded __IO macro from driver fields.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3710 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 18:17:16 +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 51ec1f0e1e I2C. Outdated driver deleted.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3700 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-31 14:42:17 +00:00
gdisirio c397738010 Changes to palSetGroupMode(), various adjustments to the PAL driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3695 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-31 10:07:43 +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 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
gdisirio cefffe9013 Fixed bug 3458947.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3643 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-20 18:35:18 +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 968d0cf6e9 RTC. High level API rolled back.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3619 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-16 14:42:23 +00:00
barthess 172680aea3 RTC. Nop.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3617 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-16 13:18:55 +00:00
barthess 9a98744b28 RTC. Testhal works on F4x, compiles (but not deeply tested) on F1x.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3615 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-15 20:49:24 +00:00
barthess 35ea734700 RTC. Added callback switch helper. Not tested.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3608 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-13 09:03:41 +00:00
barthess 82ee230c45 RTCv1 minor fix
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3604 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-12 13:19:21 +00:00
barthess dd834361e8 RTCv1 code cleanups and adding some safety checks.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3603 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-12 13:13:07 +00:00
barthess 527ef56ed3 Merging changes from rtc_dev branch.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3601 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-12 11:07:30 +00:00
barthess facfe77b18 RTC. Development suspended until EXTI driver API will changed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3600 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-12 10:56:51 +00:00
barthess 9d343de5f9 RTC. Driver broken.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3598 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-11 23:40:49 +00:00
barthess 91fd67be1f RTC. Code reorganization.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3597 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-11 20:14:45 +00:00
barthess 4a5c4e2ae0 RTC. Merge RTC code from trunk.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3595 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-11 20:03:50 +00:00
barthess a8115a6060 RTC. Code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3594 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-11 18:14:30 +00:00
barthess 3a0e138e7e RTC. Pointless lock removed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3593 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-11 17:41:06 +00:00