|
PebbleOS v4.44.0-199-g465b7d28c
|
Controller operations, implemented by the providers. More...
#include <mbox.h>
Data Fields | |
| int(* | xlate )(const struct pbl_mbox_controller *ctrl, const struct pbl_mbox_chan *chan) |
| Translate a consumer's specifier to a channel index, or return a negative errno. | |
| int(* | startup )(const struct pbl_mbox_controller *ctrl, uint8_t idx) |
| Enable a channel. | |
| void(* | shutdown )(const struct pbl_mbox_controller *ctrl, uint8_t idx) |
| Disable a channel. | |
| int(* | send_data )(const struct pbl_mbox_controller *ctrl, uint8_t idx, const void *msg) |
| Send a message on a channel. | |
| bool(* | last_tx_done )(const struct pbl_mbox_controller *ctrl, uint8_t idx) |
| Whether the remote took the last message on a channel, for polled completion. | |
Controller operations, implemented by the providers.
| bool(* pbl_mbox_controller_ops::last_tx_done) (const struct pbl_mbox_controller *ctrl, uint8_t idx) |
Whether the remote took the last message on a channel, for polled completion.
| int(* pbl_mbox_controller_ops::send_data) (const struct pbl_mbox_controller *ctrl, uint8_t idx, const void *msg) |
Send a message on a channel.
| void(* pbl_mbox_controller_ops::shutdown) (const struct pbl_mbox_controller *ctrl, uint8_t idx) |
Disable a channel.
| int(* pbl_mbox_controller_ops::startup) (const struct pbl_mbox_controller *ctrl, uint8_t idx) |
Enable a channel.
| int(* pbl_mbox_controller_ops::xlate) (const struct pbl_mbox_controller *ctrl, const struct pbl_mbox_chan *chan) |
Translate a consumer's specifier to a channel index, or return a negative errno.