aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/i2c_lld.c
Commit message (Collapse)AuthorAgeFilesLines
* I2C. In functions added local pointer to I2C_TypeDef structure.barthess2012-01-081-55/+66
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3770 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Added external fields hook in driver.barthess2012-01-081-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3769 35acf78f-673a-0410-8e92-d51de3d6d3f4
* git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3750 ↵gdisirio2012-01-061-8/+7
| | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Optimized interrupt handling strategy.barthess2012-01-061-3/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3749 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Fix problem with write only transactions. Code cleanups.barthess2012-01-061-4/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3747 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Initialization of RC2 register now doing only once in start() function.barthess2012-01-051-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3744 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Fixed 2 errors.barthess2012-01-051-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3742 35acf78f-673a-0410-8e92-d51de3d6d3f4
* Improvements to the MMC over SPI driver.gdisirio2012-01-051-98/+170
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3741 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Merged changes from i2c_lld_2.zipbarthess2012-01-041-44/+36
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3729 35acf78f-673a-0410-8e92-d51de3d6d3f4
* Reformatted some comments going past column 80.gdisirio2012-01-041-13/+24
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3726 35acf78f-673a-0410-8e92-d51de3d6d3f4
* Fixed some documentation errors.gdisirio2012-01-041-4/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3725 35acf78f-673a-0410-8e92-d51de3d6d3f4
* git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3720 ↵gdisirio2012-01-031-1/+1
| | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Small style improvements.barthess2012-01-031-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3719 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Merged changes from files posted in forum.barthess2012-01-031-243/+278
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3718 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Added safety timeouts and resets.barthess2012-01-031-4/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3717 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Clock checks moved to header file.barthess2012-01-021-34/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3713 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Reorganized locks.barthess2012-01-021-2/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3711 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Functions: i2c_lld_set_clock(), and i2c_lld_set_opmode() and ↵barthess2012-01-021-139/+138
| | | | | | i2c_lld_master_transceive() now static. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3709 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. "id_" prefixes deleted from driver.barthess2012-01-021-53/+53
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3707 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. #defines moved out of functions.barthess2012-01-021-29/+26
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3706 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Deleted __NOP()barthess2012-01-021-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3705 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Fixes.barthess2011-12-311-2/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3694 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. API changes mostly done.barthess2011-12-301-18/+76
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3692 35acf78f-673a-0410-8e92-d51de3d6d3f4
* git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3645 ↵gdisirio2011-12-211-12/+12
| | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Clock checks done at compile time.barthess2011-12-171-26/+33
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3630 35acf78f-673a-0410-8e92-d51de3d6d3f4
* Cleaned "//" comments.barthess2011-12-171-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3628 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Added safety checks for different STM32 platforms in frequency settings ↵barthess2011-12-171-3/+18
| | | | | | routine. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3624 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Added timeout in functions. Code clean ups.barthess2011-12-081-18/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3583 35acf78f-673a-0410-8e92-d51de3d6d3f4
* git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3581 ↵barthess2011-12-081-0/+10
| | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Switch to synchronous model.barthess2011-12-071-17/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3570 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Added note about different API classes usage.barthess2011-12-071-9/+38
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3569 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Bug fixes.barthess2011-12-061-4/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3562 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Added checks. Cleaned copypaste errors.barthess2011-12-061-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3559 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Added startup functions for I2C1 and I2C3 interfaces.barthess2011-12-051-55/+123
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3554 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Tested on tmp75, mma8451, max1236.barthess2011-12-041-185/+168
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3553 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. DMA works.barthess2011-12-021-10/+190
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3550 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Code compiles but does not work.barthess2011-12-011-414/+58
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3548 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Totally broken.barthess2011-12-011-336/+29
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3546 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Nop.barthess2011-11-271-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3542 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Minor fixes.barthess2011-11-271-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3540 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Fixed warning.barthess2011-10-261-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3453 35acf78f-673a-0410-8e92-d51de3d6d3f4
* git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3320 ↵gdisirio2011-09-161-10/+5
| | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Revert const qualifier to the pointer to I2CSlaveConfig.barthess2011-09-121-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3310 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Added forgotten copyrights.barthess2011-09-021-0/+20
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3283 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Test updated.barthess2011-08-281-0/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3264 35acf78f-673a-0410-8e92-d51de3d6d3f4
* git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3250 ↵barthess2011-08-231-1/+0
| | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. 1 - Merge code from trunk. 2 - Fix driver problems detected by the ↵barthess2011-08-231-7/+3
| | | | | | 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
* I2C. Added template of synchronouse deriver. It does not work for a moment.barthess2011-08-051-22/+220
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3190 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Code cleanups.barthess2011-07-311-35/+44
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3187 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. All polling waitins code replaced by "waiting" GPT interrups. ↵barthess2011-07-201-71/+83
| | | | | | Documentation fixes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3167 35acf78f-673a-0410-8e92-d51de3d6d3f4