ATMEGA32 is an AVR based μController. I wrote some of its peripheral drivers based on classic Software Architicuter: MCAL, HAL, Service Layer and Application Layer. each driver has its branch in the repository.