Swapped "magic numbers" for bit masks in the firmware

Replaced all the bit strings with bit masks making the firmware program more legible.
Added some to the fx2regs.h file which should be fed back to the mulicheng/fx2lib github repository.
Removed all the firmware files created when compiling the software and no longer required.