Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/30/04 11:22
Read: times


 
#67617 - RE: P89C669 - I2C
Responding to: ???'s previous message
P89C669-01 Data sheet page 14 I2CON not bit addresable
P89LPC932 Data sheet page 13 I2CON is bit addressable

How can they be the same ???
Reg932.h
/* I2CON */
sbit I2EN = I2CON^6;
sbit STA = I2CON^5;
sbit STO = I2CON^4;
sbit SI = I2CON^3;
sbit AA = I2CON^2;
sbit CRSEL = I2CON^0;

if i try this in Reg669.H
Keil reports

146 Invalid sfr
The declaration of an absolute bit (base^pos) contains an invalid
base-specification. The base must be the name of a previously declared sfr. Any
other names are invalid.

List of 7 messages in thread
TopicAuthorDate
P89C669 - I2C            01/01/70 00:00      
   RE: P89C669 - I2C            01/01/70 00:00      
      RE: P89C669 - I2C            01/01/70 00:00      
   RE: P89C669 - I2C            01/01/70 00:00      
      RE: P89C669 - I2C            01/01/70 00:00      
         RE: P89C669 - I2C            01/01/70 00:00      
      RE: P89C669 - I2C            01/01/70 00:00      

Back to Subject List