Giter Club home page Giter Club logo

pic18f4620-drivers's Introduction

PIC18F4620 Drivers

This repository contains drivers for various peripherals and components for the PIC18F4620 microcontroller, organized into two layers: the MCAL (Microcontroller Abstraction Layer) and the ECU (Embedded Control Unit) layer. Additionally, an application layer is provided to facilitate easy implementation of user applications using the provided drivers.

MCAL Layer

The MCAL layer includes drivers for the following peripherals:

  • USART
    • usart.c
    • usart.h
  • Timer3
    • timer3.c
    • timer3.h
  • Timer2
    • timer2.c
    • timer2.h
  • Timer1
    • timer1.c
    • timer1.h
  • Timer0
    • timer0.c
    • timer0.h
  • SPI
    • spi.c
    • spi.h
  • Interrupt
    • interrupt.c
    • interrupt.h
  • I2C
    • i2c.c
    • i2c.h
  • GPIO
    • gpio.c
    • gpio.h
  • EEPROM
    • eeprom.c
    • eeprom.h
  • ADC
    • adc.c
    • adc.h

ECU Layer

The ECU layer includes drivers for the following components:

  • Relay
    • relay.c
    • relay.h
  • LM35
    • lm35.c
    • lm35.h
  • LED
    • led.c
    • led.h
  • KeyPad
    • keypad.c
    • keypad.h
  • DC Motor
    • dc_motor.c
    • dc_motor.h
  • Chr_LCD
    • chr_lcd.c
    • chr_lcd.h
  • PUSH_BUTTON
    • button.c
    • button.h
  • 7 Segment
    • 7_segment.c
    • 7_segment.h

Application Layer

The application layer provides an application.c and application.h file, which contain a main function and other necessary functions to implement your application directly. These files utilize the documented drivers from both the MCAL and ECU layers, allowing you to easily interface with various peripherals and components without needing to implement them from scratch.

Usage

To use the provided drivers and application layer:

  1. Include the necessary .h files in your project.
  2. Implement your application logic in the application.c file.
  3. Utilize the functions provided in the application.h file to interact with the drivers.

Documentation

Each driver is documented within its respective .c and .h files to provide clear usage instructions and descriptions of functionality.

Contributing

Contributions to improve existing drivers or add support for additional peripherals/components are welcome. Please follow the contribution guidelines outlined in the repository.

pic18f4620-drivers's People

Contributors

aaref5720 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.