Contiki 2.6

Implementation of the table-driven Manchester encoding and decoding. More...

#include "me_tabs.h"

Go to the source code of this file.

Functions

unsigned short me_encode (unsigned char c)
 Manchester encode an 8-bit byte.
unsigned char me_decode16 (unsigned short m)
 Decode a Manchester encoded 16-bit word.
unsigned char me_decode8 (unsigned char m)
 Decode a Manchester encoded 8-bit byte.
unsigned char me_valid (unsigned char m)
 Check if an encoded byte is valid.

Detailed Description

Implementation of the table-driven Manchester encoding and decoding.

Author:
Adam Dunkels <adam@sics.se>

Definition in file me.c.