Skip to content
mhaa-archPublic

About

MHAA core providing reusable operations for serial communication.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

MHAA Serial Core

Use Serial to configure a framed link, submit or receive one frame without blocking, and distinguish queue acceptance from the last bit leaving the wire.

Configure the link first. Treat Busy from a try operation as a reason to schedule later work, and consult transmission_complete() when the wire must be idle.

Use in an application

Add this repository's include/ and the matching serial-contract/include/ to the C++11 include path. Include <serial/serial.hpp> and supply a live implementation of the matching Contract. The Core borrows it. In a future device composition, Devices will select the concrete Adapter and wire it to the Core.

Generate the API reference

Use Doxygen 1.18.0. From this repository root, create build/ if it does not exist, then run doxygen Doxyfile.

mkdir -p build
doxygen Doxyfile

On PowerShell, use New-Item -ItemType Directory -Force build for the first command. Open build/docs/html/index.html. Mermaid diagrams render in a browser with access to the Mermaid CDN. GitHub Pages publication runs on published releases and on manual dispatches from main once Pages is enabled.

About

MHAA core providing reusable operations for serial communication.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages