#include <inmsp.h>unsigned char __bit_reverse_char(unsigned char x);
__bit_reverse_char swaps the order of bits in x.
__bit_reverse_char is an intrinsic function and produces inline code.
__bit_reverse_char can be used on any MSP430 device.