summaryrefslogtreecommitdiffstats
path: root/sys/dev/gpio/gpioiic.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-12-20 02:49:01 +0000
committeradrian <adrian@FreeBSD.org>2011-12-20 02:49:01 +0000
commit943f0fd2d31fd1a7dd68ffe51021b477003ce1be (patch)
tree8cc5375f2f11f31e02cddfae17ee99de4ed9e851 /sys/dev/gpio/gpioiic.c
parentf90cdf352e585c30ae3efc2a2606810e8f532bd1 (diff)
downloadFreeBSD-src-943f0fd2d31fd1a7dd68ffe51021b477003ce1be.zip
FreeBSD-src-943f0fd2d31fd1a7dd68ffe51021b477003ce1be.tar.gz
IIC bitbang changes - prepare to make the bit delay configurable; debug print changes.
* Right now the delay is hard coded at 10uS. This is a bit long when doing lots of periodic i2c transactions. So create a 'udelay' parameter and initialise it to 10. This can be tuned later. * Add a newline after a transaction finishes, so the debugging output isn't so horrible.
Diffstat (limited to 'sys/dev/gpio/gpioiic.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud