Re: Nonstandard serial speeds
Re: Nonstandard serial speeds
- Subject: Re: Nonstandard serial speeds
- From: Godfrey van der Linden <email@hidden>
- Date: Tue, 10 Nov 2009 16:16:19 +1100
You may, if you are very, very lucky and the low level driver has
implemented it, use the
IOSSIOSPEED ioctl the argument is a uint32_t * to the desired baudrate.
You can find the header at <IOKit/serial/ioss.h>
Godfrey
On 2009-11-10, at 9:31 AM, Steve Checkoway wrote:
I have a microcontroller that seems perfectly willing to speak
serial at 1Mb/s (which is a handy division of the clock rate). On my
Mac, I cannot seem to get tcsetattr() to accept that nonstandard
speed. Is there any way to achieve that?
--
Steve Checkoway
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden