Browse Source

Add link to info about usb_tx_packet_count() function & USB packet latency

teensy4-core
PaulStoffregen 5 years ago
parent
commit
fa1f446555
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      teensy3/usb_dev.c

+ 3
- 0
teensy3/usb_dev.c View File

return usb_queue_byte_count(tx_first[endpoint]); return usb_queue_byte_count(tx_first[endpoint]);
} }


// Discussion about using this function and USB transmit latency
// https://forum.pjrc.com/threads/58663?p=223513&viewfull=1#post223513
//
uint32_t usb_tx_packet_count(uint32_t endpoint) uint32_t usb_tx_packet_count(uint32_t endpoint)
{ {
const usb_packet_t *p; const usb_packet_t *p;

Loading…
Cancel
Save