Manchester encoding algorithm and library

I've got a bunch of ATtiny2313's running at 20mhz.
My goal now is to get Manchester encoding running on them so they do the hard work and the Arduino is free to do other things.