Hi,

I'm just writing a library with use of stream to use several Serials for Teensy 3.x

.cpp
Code:
XXX::XXX(HardwareSerial* stream, uint16_t baudrate) {
  (*stream).begin(baudrate);
  this->_stream = stream;
.h
Code:
private:
  Stream* _stream;
My problem is that I need to know which Serial is used to set specific UART register how do I find out the used Serial?

Thanks
Markus