UART divisor in serial RS232 C programming

Hi,

I can't figure out how to set a baud rate in C programming, I'm not looking to use the standard rates. I need to set the baud rate to 8226.6, I can do this by using a divider of 14. but i can't figure out how to program this in C. can someone please help?

background info.. working on app to listen to data coming from a car PCM. it works on a 8192 baud but the 8226 works.

any help is great thank you very much!
Perhaps it would be better to post this in a forum that deals with C hardware iterfacing than a forum that deals with C++.
Topic archived. No new replies allowed.