Synopsis
#include <inavr.h>
unsigned char __swap_nibbles(unsigned char x);
Description

__swap_nibbles swaps the high and low nibbles of x.

__swap_nibbles is an intrinsic function and produces inline code.

Portability

__swap_nibbles can be used on any AVR device.