MMgr v1.0.0
Zero-heap memory manager in C11. One borrowed buffer, carved by asserted offset.
Loading...
Searching...
No Matches
PraetCfg Struct Reference

Arguments for opening a channel, and for polling one. More...

#include <memoriam_praetereo.h>

Data Fields

const uint8_t channel
const uint8_t peripheral
const embed_bool loopback
const PraetCallbackCfg *const on_complete

Detailed Description

Arguments for opening a channel, and for polling one.

Note
mmgr_praet_open reads all four members. mmgr_praet_poll passes the whole struct to the port layer.

Definition at line 74 of file memoriam_praetereo.h.

Field Documentation

◆ channel

const uint8_t PraetCfg::channel

Channel to act on.

Definition at line 76 of file memoriam_praetereo.h.

◆ peripheral

const uint8_t PraetCfg::peripheral

Peripheral the channel is wired to.

Definition at line 77 of file memoriam_praetereo.h.

◆ loopback

const embed_bool PraetCfg::loopback

Open the channel looped back on itself.

Definition at line 78 of file memoriam_praetereo.h.

◆ on_complete

const PraetCallbackCfg* const PraetCfg::on_complete

Called when a transfer finishes [BORROWS].

Definition at line 79 of file memoriam_praetereo.h.


The documentation for this struct was generated from the following file: