Skip to content

My journey with ATmega32 drivers: integrating microcontroller peripherals with clear documentation and modular code for easy hardware interaction.

License

Notifications You must be signed in to change notification settings

AhmedSamymoh/ATmega32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATmega32 Drivers

My ATmega32 drivers journey. Integrate microcontroller peripherals smoothly. Simplify development with clear documentation and modular code for smooth hardware interaction.

Pin Diagram

Layered Architecture

The driver is structured into the following layers:

  • ADC: A/D Converter Module
  • DIO: Digital Input/Output module
  • EXTI: External Interrupt module
  • PWM: Pulse Width Modulation Module
  • TIMER0: TIMER/Counter 0 Module
  • TIMER1: TIMER/Counter 1 and ICU Module
  • TIMER2: TIMER/Counter 2 Module
  • WATCHDOG: WatchDog Timer Module
  • USART: USART Communication Protocol Module
  • SPI: SPI Communication Protocol Module
  • I2C: I2C (TWI) Communication Protocol Module



Application Layer

  • main.c: Main application code file.
  • STD_TYPES.h: Header file for standard data types.
  • BIT_MATH.h: Header file for bitwise manipulation functions.

Contributing

Please pull requests to help improve and expand the drivers.

About

My journey with ATmega32 drivers: integrating microcontroller peripherals with clear documentation and modular code for easy hardware interaction.

Topics

Resources

License

Stars

Watchers

Forks

Packages