Would it be possible to get the source code for this function? It would be very helpful as a base for doing low-level timing-critical functions (and we think we know how to make it slightly more accurate, based on a guess of how it works).
Unfortunately we cannot provide source because this is a low level driver that accesses hardware.
There is also a good thread on captouch here: http://community.broadcom.com/message/4185#4185
Note that we have not done alot of testing/development around this feature to date.