I need to implement a particular serial comm protocol and I need to be able to set the parity bit. Moreover, I need to be able to use the "mark/space" settings for this parity bit instead of the more common options "none/odd/even".

What's the corresponding library for the virtual (usb) Serial port? Is it the one located at "/hardware/teensy/avr/cores/teensy3/usb_serial.c"? I found some references to the parity bit in its header but I don't know how to actually use it.

Does anyone have any clue about it? Thanks in advance for any help.