In Infineon C509 there is a register called S1CON which is a special function register which looks like this.

Is is possible to define bit 0 on S1CON as RI1 so it can be access and refereed to in the main program. I wanted to checked in my main program if receive flag interrupt for serial interface 1 is high or low. Its not defined in the header file but S1CON is
sfr S1CON = 0x9B;
Thank you
Or is it just possible to just check the status on Bit 0 on S1CON???
You can define masks for the individual bits (they may already be defined for you in an appropriate header file), e.g.
and then to test RI1:
To set RI1:
To clear RI1: