This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

i2c interface polled/IT driven transfer


Hi
I realised, that the I2C API does not offer the possibolity of switching between polled and IT driven transaction (like the SPI does).
I've added this functionality on device level , taking one bit of i2c_flags. (unlike in case of SPI, in order to leave the current interface functions unchanged)


Opinions?

Peter

Attachment: i2cTrMode.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]