you can use CodeVision AVR to code all AVR microcontrollers in C .
its a Great compiler with rich C Libraries which make programming easier.
specially it has a wizard to initialize peripherals (you dont have to worry about values ,just answer the wizard questions and it will write appropriate code)