We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
P89C669 user manual page 71 indicate I2CON (91h) is bit addressable.! How can declare to compiler? My custom header file for P89C669 ; sfr I2CON = 0x91; sbit I2EN = I2CON^6; sbit STA = I2CON^5; sbit STO = I2CON^4; sbit SI = I2CON^3; sbit AA = I2CON^2; sbit CRSEL = I2CON^0; When compiled REG669.H(246): error A17: INVALID BASE IN BIT ADDRESS EXPRESSION
"All PHILIPS or other micros has bit addressable I2C control register (I2CON) ... Like ... P89C669" So you say it is bit-addressable... "P89C669 ... I2CON sfr control only posibble byte operators." ... then you say it isn't. It's got to be one or the other! The general consensus seems to that it is not bit-adressable, and the data sheet never said it was?