The function usbd_cdc_ser_linestate checks the line state of the serial port. The argument lineState is a pointer to the variable that stores the status. The variable is set with each read or write attempt to the COM port. The function usbd_cdc_ser_linestate is part of the USB Device Function Driver layer of the RL-USB Device Software Stack. Modify this function to the application needs. |