Home
last modified time | relevance | path

Searched refs:pVcom (Results 1 – 2 of 2) sorted by relevance

/external/platform/lpc15xx/lpcopen/usbd_rom_cdc/example/src/
A Dcdc_vcom.c71 pVcom->rx_count = USBD_API->hw->ReadEP(hUsb, USB_CDC_OUT_EP, pVcom->rx_buff); in VCOM_bulk_out_hdlr()
74 if (pVcom->rx_count != 0) { in VCOM_bulk_out_hdlr()
103 VCOM_DATA_T *pVcom = &g_vCOM; in VCOM_SetLineCode() local
161 if (pVcom->rx_count) { in vcom_bread()
162 cnt = (pVcom->rx_count < buf_len) ? pVcom->rx_count : buf_len; in vcom_bread()
164 pVcom->rx_rd_count += cnt; in vcom_bread()
168 if (pVcom->rx_rd_count >= pVcom->rx_count) { in vcom_bread()
170 pVcom->rx_rd_count = pVcom->rx_count = 0; in vcom_bread()
206 ret = pVcom->rx_count; in vcom_read_cnt()
207 pVcom->rx_count = 0; in vcom_read_cnt()
[all …]
/external/platform/lpc15xx/lpcopen/usbd_rom_composite/example/src/
A Dcdc_vcom.c71 pVcom->rx_count = USBD_API->hw->ReadEP(hUsb, USB_CDC_OUT_EP, pVcom->rx_buff); in VCOM_bulk_out_hdlr()
74 if (pVcom->rx_count != 0) { in VCOM_bulk_out_hdlr()
103 VCOM_DATA_T *pVcom = &g_vCOM; in VCOM_SetLineCode() local
161 if (pVcom->rx_count) { in vcom_bread()
162 cnt = (pVcom->rx_count < buf_len) ? pVcom->rx_count : buf_len; in vcom_bread()
164 pVcom->rx_rd_count += cnt; in vcom_bread()
168 if (pVcom->rx_rd_count >= pVcom->rx_count) { in vcom_bread()
170 pVcom->rx_rd_count = pVcom->rx_count = 0; in vcom_bread()
206 ret = pVcom->rx_count; in vcom_read_cnt()
207 pVcom->rx_count = 0; in vcom_read_cnt()
[all …]

Completed in 4 milliseconds