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.
Files at revision 0:3b7549f5f018
Name | Size | Actions |
---|---|---|
[up] | ||
bitreversetable256.cpp | 1633 | Revisions Annotate |
bitreversetable256.h | 116 | Revisions Annotate |