hathach / tinyusb

An open source cross-platform USB stack for embedded system
https://www.tinyusb.org
MIT License
4.67k stars 998 forks source link

remove the usage of TU_BIT() and TU_GENMASK() from tusb_types.h #2586

Closed hathach closed 2 months ago

hathach commented 2 months ago

Describe the PR Supersede and close #2097, tusb_types.h should be as primitive as possible for external driver to include without include the whole stack.