-
18F6722 EUSART Question
PIC Multicalc generates a DEFINE that sets HSER_CLROERR to 1 in most cases. With a PIC18F6722 which has 2 EUSARTS, I'm finding that for most of the settings, there is an equivalent '1' and '2' setting, i.e. DEFINE HSER_RCSTA 90h would have HSER_RCSTA1 and HSER_RCSTA2 settings available. I'm not finding such a setting for automatically clearing overflows, however. Maybe there isn't such a feature? Anybody been here before?
Len
-
I think it's ...
DEFINE HSER2_CLROERR 1
EDIT: And the others are ...
DEFINE HSER2_RCSTA xxh
DEFINE HSER2_TXSTA xxh
<br>
-
well it sure doesn't cause a compiler error, so I'll try it! Thanks.
BTW, where do I download the latest version of DT_INTs? Hope they work w/ this chip!! :rolleyes:
-