aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/i2c.c
Commit message (Collapse)AuthorAgeFilesLines
* git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6511 ↵gdisirio2013-11-261-1/+1
| | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C ported but needs to be reviewed to not use virtual timers directly.gdisirio2013-08-171-0/+283
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6170 35acf78f-673a-0410-8e92-d51de3d6d3f4
* git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6108 ↵gdisirio2013-08-091-303/+0
| | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* Renamed or added prefix to all hernel configuration options.gdisirio2013-07-201-6/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6010 35acf78f-673a-0410-8e92-d51de3d6d3f4
* Adjusted C file templates.gdisirio2013-02-281-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5339 35acf78f-673a-0410-8e92-d51de3d6d3f4
* Updated license years.gdisirio2013-02-021-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5102 35acf78f-673a-0410-8e92-d51de3d6d3f4
* License text updated with new year.gdisirio2012-01-211-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3846 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C driver state diagram modified, documentation improvements.gdisirio2012-01-061-6/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3751 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Merged changes from i2c_lld_2.zipbarthess2012-01-041-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3729 35acf78f-673a-0410-8e92-d51de3d6d3f4
* Removed two initializations that should go in the low level.gdisirio2012-01-041-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3727 35acf78f-673a-0410-8e92-d51de3d6d3f4
* Fixed some documentation errors.gdisirio2012-01-041-4/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3725 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Rest of "id_" prefixes deleted from driver.barthess2012-01-021-19/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3708 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Fixes.barthess2011-12-311-10/+3
| | | | 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-4/+10
| | | | 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@3686 ↵gdisirio2011-12-291-2/+3
| | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* Updated credits.gdisirio2011-12-291-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3685 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C API proposal.gdisirio2011-12-291-66/+88
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3684 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Added forgotten check of BUSY flag.barthess2011-12-091-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3587 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Added timeout in functions. Code clean ups.barthess2011-12-081-58/+36
| | | | 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-6/+2
| | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3578 ↵gdisirio2011-12-081-30/+24
| | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Error handling from userland code added.barthess2011-12-071-2/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3572 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Switch to synchronous model.barthess2011-12-071-19/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3570 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Bug fixes.barthess2011-12-061-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3562 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Tested on tmp75, mma8451, max1236.barthess2011-12-041-29/+11
| | | | 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-1/+1
| | | | 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-8/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3548 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Nop.barthess2011-12-011-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3545 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Merge code from trunk.barthess2011-08-281-0/+4
|\ | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3263 35acf78f-673a-0410-8e92-d51de3d6d3f4
| * git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3254 ↵gdisirio2011-08-261-0/+4
| | | | | | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3250 ↵barthess2011-08-231-1/+1
| | | | | | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. 1 - Merge code from trunk. 2 - Fix driver problems detected by the ↵barthess2011-08-231-4/+12
|\| | | | | | | | | | | 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-0/+8
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3190 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. STOP waitings was replaced by GPT callback functions. Need much of testing.barthess2011-07-191-2/+2
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3166 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Documentation improvements. Dead code clenups.barthess2011-07-121-6/+12
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3153 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Code clean ups.barthess2011-07-111-21/+2
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3151 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Main problem fixed, but some minor problems must to be fixed.barthess2011-07-091-2/+0
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3142 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Driver still cause stack overflows.barthess2011-07-071-3/+1
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3134 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3117 ↵barthess2011-07-041-9/+8
| | | | | | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Driver looks working, but sometimes hangs up. I don't know, my big ↵barthess2011-07-031-18/+24
| | | | | | | | | | | | 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
* | I2C. Trying to add optional WAIT support. Driver broken.barthess2011-07-011-22/+18
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3101 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Added dirty hack to realize thread safe dirver. Needs to be rewrited.barthess2011-06-301-10/+6
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3100 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. API changed. Transmit and receive buffers removed from I2CSlaveConfig. ↵barthess2011-06-301-5/+10
| | | | | | | | | | | | 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
* | I2C. Some coding style improvements.barthess2011-06-231-4/+11
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3074 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Commetns style changed to /**/.barthess2011-06-231-9/+8
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3073 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Fixed indent style. All tabs changed to 2 spaces.barthess2011-06-231-16/+16
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3071 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Variables shared among I2C1 and I2C2 interrupt handlers moved to driver ↵barthess2011-06-231-0/+2
| | | | | | | | | | | | structure. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3070 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Slave config structure now have const qualifier. Moset of fields moved ↵barthess2011-06-211-6/+18
| | | | | | | | | | | | 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
* | I2C. Some fields from I2CSlaveConfig moved to driver.barthess2011-06-211-15/+15
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3066 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. "Slave_addr" and "nbit_addr" fields from I2CSlaveConfig structure ↵barthess2011-06-181-22/+8
| | | | | | | | | | | | merged together. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3057 35acf78f-673a-0410-8e92-d51de3d6d3f4