I want to use my atmega8 uC as a [tag:H-Bridge].

Can anybody give me the source code using C, so that the microcontroller acts as an H-Bridge.