Skip to content

sAPI r0.5.0

Latest
Compare
Choose a tag to compare
@epernia epernia released this 23 Jul 16:18
· 7 commits to master since this release

sAPI library for microcontrollers r0.5.0

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

Included modules

Internal Peripherals

  • Data types.
  • Peripheral Map.
  • ISR Vector.
  • Board.
  • Tick.
  • GPIO.
  • UART.
  • ADC.
  • DAC.
  • I2C.
  • SPI.
  • RTC.
  • SCT.
  • Timer.
  • Sleep.

High Level modules

  • Delay. Use Tick module.
  • PWM. Use SCT and GPIO modules.
  • Circular Buffer.
  • Convert.
  • Print. Use UART and Convert modules.
  • Debug Print. Use Print module.
  • Console Print. Use Print module.

External Peripherals using sAPI

  • 7-segment display. Use GPIO and Delay modules.
  • Keypad. Use GPIO and Delay modules.
  • Angular Servo (0 to 180°). Use Timer and GPIO modules.
  • Magnetometer (compass) sensor HMC5883L. Use I2C module.

Every module includes an example.

Boards

Available for boards: