Thank you. I learned something new. I'm still stuck in 1980's.
Is there a better way to implement it than below? There is an __RBIT(uint32_t value) defined in cmsis_gcc.h.
uint32_t value = 0x12345678;
uint32_t result;
asm volatile ("rbit...
You are looking for a controlled USB hubs such as https://acroname.com/. These USB hubs can be remotely controlled to connect/disconnect power & data lines. We use them for device testing at work. I think there are a few others too.
If you need to reverse bits, FLEXIO module already has several registers that do it automatically. You write it to one register and can read it from a few others that have different bit flippings... This was very handy for my transputer project...