thanks , always good to rtfm with a number to go look for
for those looking for the defines in the manual its
section 8.7 , with the other details of the serial ports options within section 8.x
Code:DEFINE HSER_PORT 1 'HSER port to use on devices with more than one DEFINE HSER2_BAUD 2400 'HSER2 baud rate DEFINE HSER2_SPBRG 25 'HSER2 SPBRG2 init DEFINE HSER2_SPBRGH 0 'HSER2 SPBRGH2 init DEFINE HSER2_RCSTA 90h 'HSER2 receive status init DEFINE HSER2_TXSTA 20h 'HSER2 transmit status init DEFINE HSER2_EVEN 1 'HSER2 If even parity desired DEFINE HSER2_ODD 1 'HSER2 If odd parity desired DEFINE HSER2_BITS 9 'HSER2 Use for 8 bits + parity DEFINE HSER2_CLROERR 1 'Automatically clear HSERIN2 overflow errors




Bookmarks