Barney
Joined: 18 Oct 2004 Posts: 41 Location: Newark, CA
|
RS232_ERRORS |
Posted: Thu Aug 11, 2005 2:15 pm |
|
|
Can anyone point me to the documentation for the built in variables, in particular RS232_ERRORS? I searched the Forum, FAQ, Manual, .LST, and .H files and found bits & pieces, but nothing complete.
Thanks |
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Aug 11, 2005 2:39 pm |
|
|
It's explained in the manual and the Help file.
However, CCS has written the explanation in short hand,
and it may be difficult to interpret. So I've re-written it below:
Explanation of the RS232_ERRORS variable:
When the hardware UART is specified by #use rs232():
• RS232_ERRORS is used only by the getc() function.
• RS232_ERRORS is a copy of the RCSTA register except
that Bit 0 is used to indicate a parity error. |
|