Contents

HwResetFIFO

Sends a command to reset the specified device queues.

Declaration

virtual kern_return_t HwResetFIFO(bool tx, bool rx);

Parameters

  • tx:

    If YES, reset the queue you use to transmit data; otherwise, don’t reset the queue.

  • rx:

    If YES, reset the queue you use to receive data; otherwise, don’t reset the queue.

Return Value

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

Discussion

Override this method and use it to reset your device.

See Also

Programming the Modem