aboutsummaryrefslogtreecommitdiffstats
path: root/usbh/src/pipe/addr.rs
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-08-01 21:16:07 -0400
committerBrian Cully <bjc@kublai.com>2019-08-01 21:16:07 -0400
commitc2119f219eb538fa3ebcb942e99f615a7b1be266 (patch)
treec693ab90991c434f51dd8f35e2ce967759ec11e2 /usbh/src/pipe/addr.rs
parent7f3601e081f71776d3b5f9fc58d5e1adda7772a3 (diff)
downloadsamd21-demo-c2119f219eb538fa3ebcb942e99f615a7b1be266.tar.gz
samd21-demo-c2119f219eb538fa3ebcb942e99f615a7b1be266.zip
Refactor so Endpoint controls pipe characteristics.
Endpoints know their own address, number, max packet size, and data toggle states. When a pipe is needed, pass in the endpoint its needed for so that configuration can happen according to that endpoint.
Diffstat (limited to 'usbh/src/pipe/addr.rs')
0 files changed, 0 insertions, 0 deletions