Commit Graph

890 Commits

Author SHA1 Message Date
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 c498fdc4d6 Added time conversions to RT counter code. Documentation improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3728 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 14:29:02 +00:00
gdisirio 8bd4ec7b84 Removed two initializations that should go in the low level.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3727 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 11:19:31 +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 dfbe833d08 Forgot a note.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3724 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 08:47:26 +00:00
gdisirio efa92aaed2 Realtime counter support in the generic HAL driver and implementations for al STM32 devices, others will follow.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3723 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 08:46:11 +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
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 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 f76898bb0f I2C. Rest of "id_" prefixes deleted from driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3708 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 17:53: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 08feb80580 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3686 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-29 22:18:25 +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
gdisirio 89e829f55c git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3658 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-25 15:30:21 +00:00
gdisirio ae91c4936a git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3655 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-25 13:46:19 +00:00
gdisirio 20ee188eb8 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3652 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-24 11:39:04 +00:00
gdisirio 22b48b6876 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3650 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-22 18:53:26 +00:00
gdisirio da9678f49a Provisional STM32F2xx support.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3649 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-22 12:38:21 +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 3ff51b09a4 PVD for STM32F4x code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3623 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-17 11:36:46 +00:00
gdisirio af25622db8 Fixed some forgotten details.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3621 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-17 07:41:10 +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 edcb16ebeb STM32F4x. In HAL added support of power level detector.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3616 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-16 12:49:14 +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