Serial Async
A lightweight and flexible serial driver library that provides register-level access through generic interfaces. By implementing these interfaces, users can create asynchronous serial drivers for various platforms with ease.
📌 Features
- Register-Level Abstraction: Offers low-level register-like control while maintaining usability.
- Asynchronous Read/Write Support: Enables non-blocking data transmission and reception using interrupts and device FIFO.
- Highly Portable: Abstracted hardware layer allows easy adaptation to different MCUs or SoCs.
- Modular Design: Clean architecture suitable for integration into existing embedded projects.
- Full-Duplex Communication: Supports simultaneous sending and receiving, automatically controlling the lifecycle of the transmitter and receiver.
🧩 Core Interface Overview
To use this library, implement the following device-specific interface functions:
Then you can use it like this:
static HANDLER: = new;
// Your interrupt handler
async
🤝 Contributing
Contributions are welcome!
📜 License
This project is licensed under the MIT License.