Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Nonstandard serial speeds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nonstandard serial speeds



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
References: 
 >Nonstandard serial speeds (From: Steve Checkoway <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.