Contents

HwProgramBaudRate

Sets the communication baud rate to the specified value.

Declaration

virtual kern_return_t HwProgramBaudRate(uint32_t baudRate);

Parameters

  • baudRate:

    The baud rate, in bits per second, to use when communicating with the system.

Return Value

kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.

Discussion

Override this method and use it to configure the baud rate for your device.

See Also

Programming the Modem