Syntax

Status
Not open for further replies.

YAN-1

New Member
Hello. I am using the PICLITE C ompiler for my PIC programs and I need to refer to the 'R/W' bit of the SSPSTAT register. The compiler is not recognizing 'R/W' or 'RW'.

Anybody knows what that bit is called? Thanks a lot.
 
YAN-1 said:
Hello. I am using the PICLITE C ompiler for my PIC programs and I need to refer to the 'R/W' bit of the SSPSTAT register. The compiler is not recognizing 'R/W' or 'RW'.

Anybody knows what that bit is called? Thanks a lot.

The answer is in the include file for your PIC. For a 16F87x, it would be STAT_RW. I guess it should be the same for any PIC16, but maybe check your include file to make sure?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…