USBUSARTIsTxTrfReady Macro

Microchip USB Device Library

USB Device Library Help
USBUSARTIsTxTrfReady Macro
C
#define USBUSARTIsTxTrfReady (cdc_trf_state == CDC_TX_READY)
Description

This macro is used to check if the CDC class is ready to send more data. 

Typical Usage:

    if(USBUSARTIsTxTrfReady())
    {
        putrsUSBUSART("Hello World");
    }
Preconditions

None

Remarks

None

Microchip MCHPFSUSB v2.3 - Sept 20, 2008
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.