Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't know the answer to that question, but if you are developing an embedded project (and especially if it's a raspberry PI) you can mmap() the hardware I2C registers to userspace memory and use them directly. You will have to basically write the I2C driver in userspace and it won't be portable but it's not that hard and it will make for very low latency I2C communication. I had to do this once for latency.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: