aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/i2c.h
Commit message (Collapse)AuthorAgeFilesLines
* git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3716 ↵gdisirio2012-01-031-3/+3
| | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Added wrappers with TIME_INFINITE timeout.barthess2012-01-021-0/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3715 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Fixes.barthess2011-12-311-2/+2
| | | | 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-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3692 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-86/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3684 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Added timeout in functions. Code clean ups.barthess2011-12-081-8/+9
| | | | 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@3578 ↵gdisirio2011-12-081-12/+10
| | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Error handling from userland code added.barthess2011-12-071-2/+3
| | | | 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-79/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3570 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Minor code improvements.barthess2011-12-071-2/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3564 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Tested on tmp75, mma8451, max1236.barthess2011-12-041-8/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3553 35acf78f-673a-0410-8e92-d51de3d6d3f4
* git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3407 ↵gdisirio2011-09-251-55/+50
| | | | 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Revert const qualifier to the pointer to I2CSlaveConfig.barthess2011-09-121-4/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3310 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Remove const qualifier from pointer to I2CSlaveConfig. Step 3.barthess2011-09-111-3/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3308 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Remove const qualifier from pointer to I2CSlaveConfig. Step 2.barthess2011-09-111-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3307 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Added template of synchronouse deriver. It does not work for a moment.barthess2011-08-051-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3190 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Added optional fields hook to I2CSlaveConfig structure.barthess2011-08-051-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3189 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. All polling waitins code replaced by "waiting" GPT interrups. ↵barthess2011-07-201-5/+6
| | | | | | Documentation fixes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3167 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. STOP waitings was replaced by GPT callback functions. Need much of testing.barthess2011-07-191-4/+5
| | | | 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-12/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3153 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Driver still cause stack overflows.barthess2011-07-071-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3134 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Driver looks working, but sometimes hangs up. I don't know, my big ↵barthess2011-07-031-5/+30
| | | | | | 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-6/+5
| | | | 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-0/+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-6/+4
| | | | | | 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-3/+6
| | | | 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-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3073 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. "Sevent" field moved from I2CSlaveConfig to I2CDriver.barthess2011-06-231-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3072 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Fixed indent style. All tabs changed to 2 spaces.barthess2011-06-231-2/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3071 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Small improvemetsbarthess2011-06-221-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3069 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Slave config structure now have const qualifier. Moset of fields moved ↵barthess2011-06-211-16/+4
| | | | | | 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-6/+5
| | | | 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-2/+10
| | | | | | merged together. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3057 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Code cleanups.barthess2011-06-181-11/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3056 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. API BROKEN! Structure fields renamed in underscore naming style.barthess2011-06-181-7/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3055 35acf78f-673a-0410-8e92-d51de3d6d3f4
* I2C. Merged code from trunk.barthess2011-06-071-1/+2
|\ | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3036 35acf78f-673a-0410-8e92-d51de3d6d3f4
| * License updated.gdisirio2011-03-181-1/+2
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2827 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Some refactorings.barthess2011-05-281-2/+2
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3000 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Code cleanups.barthess2011-05-081-14/+14
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2937 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Some fixes.barthess2011-05-061-6/+5
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2922 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Code compiles successfully, but totally not tested.barthess2011-05-051-63/+62
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2921 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. All is broken. Need rewrite.barthess2011-05-041-11/+26
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2919 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Doxy comments improvement.barthess2011-03-271-19/+23
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2846 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. API changes. rw_bit field moved from slave config ctructure to the ↵barthess2011-03-271-2/+0
| | | | | | | | | | | | driver structure. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2845 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Small bugfix.barthess2011-03-261-0/+4
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2844 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Some improvements.barthess2011-03-261-2/+9
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2841 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Platform independent I2CSlaveConfig structure moved to i2c.h.barthess2011-02-271-15/+89
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2778 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Code cleanups.barthess2011-02-271-6/+2
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2776 35acf78f-673a-0410-8e92-d51de3d6d3f4
* | I2C. Cleanups.barthess2011-02-101-1/+6
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2730 35acf78f-673a-0410-8e92-d51de3d6d3f4