Skip to content

elsuizo/sAPI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sAPI library for microcontrollers

This library implements a simple API that acts as a HAL (Hardware Abstraction Layer) for microcontrollers.

It takes ideas from Wiring library, but use the concept of peripheral instead the concept of pin, making the API regardless of the number of pins that use certain peripheral.

Documentation

Included modules

Internal Peripherals

  • Data types.
  • Peripheral Map.
  • ISR Vector.
  • Board.
  • Tick.
  • Delay.
  • Digital I/O.
  • Analog I/O.
  • UART.
  • I2C.
  • RTC.
  • PWM.

External Peripherals

  • Angular Servo (0 to 180°).
  • Magnetometer (compass) sensor HMC5883L.

Every module includes an example.

Software layers

 "sapi-modulos-capas.png" image not found

Boards

Now available for boards:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 90.4%
  • Makefile 9.6%