• Paul Molloy's avatar
    Successfully completed very first SETUP transaction for initial device · 98d61bc0
    Paul Molloy authored
    descriptor request.  Reached second transaction which is set address.
    Need to add support for set address to move forward.
    Added some fancy macros for handling the uber annoying EP0R register
    Would like to make some even fancier macros that work for all EPnR
    registers taking the number as an arguement for the macro.
    Might be good to start cleaning up the code a bit before getting too much
    further.  Really feel like things are getting messy... Maybe don't need so
    many copy pastes from the reference manual..?
main.c 60.8 KB