PebbleOS v4.44.0-199-g465b7d28c
Loading...
Searching...
No Matches
pbl_mbox_client Struct Reference

Channel client. More...

#include <mbox.h>

Data Fields

void(* rx_callback )(const struct pbl_mbox_client *cl, const void *msg)
 Message received, from interrupt context.
 
void(* tx_done )(const struct pbl_mbox_client *cl, const void *msg, int ret)
 Message sent, from interrupt context.
 

Detailed Description

Channel client.

Field Documentation

◆ rx_callback

void(* pbl_mbox_client::rx_callback) (const struct pbl_mbox_client *cl, const void *msg)

Message received, from interrupt context.

Parameters
clClient.
msgMessage, nullptr for doorbells.

◆ tx_done

void(* pbl_mbox_client::tx_done) (const struct pbl_mbox_client *cl, const void *msg, int ret)

Message sent, from interrupt context.

Parameters
clClient.
msgMessage given to pbl_mbox_send().
ret0, or a negative errno.

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