Arduino Mega hardware serial

As I see it, in order to change an hardware-serial from 8-N-1 to 8-O-1, all I've got to do is adding:

Seems right, unless the library dicks with the register at a later date although

UCSR1C |= B00110000;

is neater.

Is there any equivalent to the SoftwareSerial inverse_logic function in the hardware serial?

No, unless you count using an external inverter.


Rob