Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Latest threads

New Articles From Microcontroller Tips

Back
Top