Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aztechsk/sam-lib

Peripheral drivers library for Microchip (Atmel) SAM3-SAM4 microcontroller family.
https://github.com/aztechsk/sam-lib

at91 atmel driver firmware freertos microchip sam3 sam4

Last synced: about 1 month ago
JSON representation

Peripheral drivers library for Microchip (Atmel) SAM3-SAM4 microcontroller family.

Awesome Lists containing this project

README

        

# sam-lib

The C library **sam-lib** provides an API for controlling the peripherals of the microcontroller.
The supported devices include microcontrollers from the Microchip (Atmel) **AT91** family, specifically the ***SAM3N***, ***SAM3S***, ***SAM4N***, and ***SAM4S*** chips.
The supported standard peripherals include SUPC, RSTC, WDT, PMC, EEFC, UART, USART, PIO, TWI, ADC, DACC, SPI, TC, and various hardware components connected to the microcontroller such as buttons, LEDs, LEDUI, IO extenders (shift registers), etc.

### Library features

- Standardized API (for the AZTech framework).
- Implementation of low-level serial communication protocols.
- Designed for real-time multitasking applications (dependent on FreeRTOS).
- Efficient interrupt handling.
- Use of DMA where appropriate.
- Communication peripheral instances are represented by C structures with synchronous (blocking) read() and write() I/O operations.
- Support for low-power microcontroller modes. Peripheral blocks are turned off when entering sleep mode.