chiark / gitweb /
BUGFIXES
authorian <ian>
Wed, 23 Feb 2005 21:36:30 +0000 (21:36 +0000)
committerian <ian>
Wed, 23 Feb 2005 21:36:30 +0000 (21:36 +0000)
commit579dca8dc05d1bcf76529dc8df9fc3cdd73dc050
treeef4afc15e4dea0dd4a6aff40ebbe3532cf2f2932
parent243cc9c44a0b6a376b3492992173dba3e1e2e848
BUGFIXES
get address value right: bottom bit is always read/write, so:
 in slave mode: shift value for SSPADD left
 in master mode: choose slave address 0x82 = I2C addr 0b1000001, write

NICETIES
disable serial rx and tx interrupts in slave mode
new ifbit1 and ifbit0 macros

DEBUGGING IMPROVEMENTS
master does not panic immediately before sending address
print calculated SSPADD value via debughf in slow slave mode
a few other "debug" statements
debughf gets nybbles > 0x9 right (!)
cebpic/i2c-test.asm