Just a brute-force look-up-table bit-reverse for 8-bit words. I'm using it to control a SSP device that has LSB-first bit ordering via SPI which is MSB-first

Dependents:   Adafruit-GP9002-Grayscale-VFD-Library

Just a 256 byte table to allow for reversing the order of the bits in a byte with a simple lookup operation.

Revisions of bitreversetable256.cpp

Revision Date Message Actions
0:3b7549f5f018 2016-05-09 First commit File  Diff  Annotate