Zephyr API Documentation 4.2.0-rc2
A Scalable Open Source RTOS
 4.2.0-rc2
pipelink.h File Reference

Go to the source code of this file.

Macros

#define MODEM_PIPELINK_DT_DECLARE(node_id, name)
 Declare pipelink from devicetree node identifier and name.
#define MODEM_PIPELINK_DT_DEFINE(node_id, name)
 Define pipelink from devicetree node identifier and name.
#define MODEM_PIPELINK_DT_GET(node_id, name)
 Get pointer to pipelink from devicetree node identifier and name.
MODEM_PIPELINK_DT_INST macros

Device driver instance variants of MODEM_PIPELINK_DT macros

#define MODEM_PIPELINK_DT_INST_DECLARE(inst, name)
#define MODEM_PIPELINK_DT_INST_DEFINE(inst, name)
#define MODEM_PIPELINK_DT_INST_GET(inst, name)

Typedefs

typedef void(* modem_pipelink_callback) (struct modem_pipelink *link, enum modem_pipelink_event event, void *user_data)
 Pipelink callback definition.

Enumerations

enum  modem_pipelink_event { MODEM_PIPELINK_EVENT_CONNECTED = 0 , MODEM_PIPELINK_EVENT_DISCONNECTED }
 Pipelink event. More...

Functions

void modem_pipelink_attach (struct modem_pipelink *link, modem_pipelink_callback callback, void *user_data)
 Attach callback to pipelink.
bool modem_pipelink_is_connected (struct modem_pipelink *link)
 Check whether pipelink pipe is connected.
struct modem_pipe * modem_pipelink_get_pipe (struct modem_pipelink *link)
 Get pipe from pipelink.
void modem_pipelink_release (struct modem_pipelink *link)
 Clear callback.