|
PebbleOS v4.47.0-1362-gd278268fe
|
#include <stdint.h>#include <pbl/device.h>#include <pbl/drivers/mbox.h>#include <pbl/kernel/timer.h>Data Structures | |
| struct | pbl_mbox_chan_state |
| Channel state, kept by the class. More... | |
| struct | pbl_mbox_controller_state |
| Controller state, kept by the class. More... | |
| struct | pbl_mbox_controller_ops |
| Controller operations, implemented by the providers. More... | |
| struct | pbl_mbox_controller |
| Mailbox controller. More... | |
Macros | |
| #define | PBL_MBOX_CONTROLLER_STATE_DEFINE(sym, _num_chans) |
| Define the state of a controller, for providers. | |
| #define | PBL_MBOX_CONTROLLER_INIT(sym, _name, _init, _parent, _ops, _txpoll_period_ms) |
| Initializer of a struct pbl_mbox_controller, for providers. | |
Functions | |
| void | pbl_mbox_chan_received (const struct pbl_mbox_controller *ctrl, uint8_t idx, const void *msg) |
| Report a message from the remote, for providers. | |
| void | pbl_mbox_chan_txdone (const struct pbl_mbox_controller *ctrl, uint8_t idx, int ret) |
| Report that the remote took the last message, for providers with a completion interrupt. | |