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

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

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

at91 atmel driver firmware freertos microchip sam3 sam4

Last synced: 12 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# sam-lib

The `sam-lib` C library provides an API for controlling peripherals of
microcontrollers. Supported devices include microcontrollers from the
Microchip (Atmel) AT91 family, specifically SAM3N, SAM3S, SAM4N, and SAM4S
chips. 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), and more.

## Library Features

- Standardized API (designed for the AZTech framework).
- Implementation of low-level serial communication protocols.
- Designed for real-time applications with multitasking support
(dependent on FreeRTOS).
- Efficient interrupt handling.
- Utilizes DMA where applicable.
- Instances of communication peripherals are represented as C structures
with synchronous (blocking) `read()` and `write()` operations.
- Supports low-power modes of the microcontroller. Peripheral blocks are
turned off when entering sleep mode.