Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/aztechsk/sam-lib
- Owner: aztechsk
- License: isc
- Created: 2024-04-04T14:40:56.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-06-04T14:28:23.000Z (7 months ago)
- Last Synced: 2024-06-04T16:24:16.090Z (7 months ago)
- Topics: at91, atmel, driver, firmware, freertos, microchip, sam3, sam4
- Language: C
- Homepage:
- Size: 319 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.