• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Nonstandard serial speeds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Nonstandard serial speeds
  • Next by Date: Re: ubc and removable devices
  • Previous by thread: Nonstandard serial speeds
  • Next by thread: Re: Nonstandard serial speeds
  • Index(es):
    • Date
    • Thread