Synopsis
unsigned char __swap_nibbles(unsigned char);
Description

__swap_nibbles returns x with the high and low nibbles swapped. __swap_nibbles is an intrinsic function, produces inline code, and you can use it on any MAXQ30 device.