Go Down

Topic: Determine hardware serial speed during program execution? (Read 417 times) previous topic - next topic

renasis

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

Graynomad

#1
Apr 10, 2012, 05:58 am Last Edit: Apr 10, 2012, 06:02 am by Graynomad Reason: 1
Quote
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
Rob Gray aka the GRAYnomad www.robgray.com

Go Up