Determine hardware serial speed during program execution?

Hello,

I am switching the serial read/write speed throughout my program. Is there a function in the serial library that will return the current speed of the hardware serial port? I suppose that I could check the registers, has anybody done that already?

Thanks,

-ren

I suppose that I could check the registers,

Only way I know of.

That said you can just keep a variable that mimics the current value.


Rob