Synergy Software Package User's Manual

#include <sf_socket_api.h>

Data Fields

ssp_err_t(* open )(sf_socket_ctrl_t *p_ctrl, sf_socket_cfg_t const *const p_cfg)
 Pointer to function which initializes the network interface for data transfers Initial driver configuration, enable the driver link, enable interrupts and make device ready for data transfer. More...
 
ssp_err_t(* close )(sf_socket_ctrl_t *const p_ctrl)
 Pointer to function which un-initialize the network interface and may put it in low power mode or power it off. Close the driver, disable the driver link, disable interrupt. More...
 
ssp_err_t(* versionGet )(ssp_version_t *const p_version)
 Gets version and stores it in provided pointer p_version. More...
 

Detailed Description

Socket Interface API

Field Documentation

◆ close

ssp_err_t(* sf_socket_api_t::close) (sf_socket_ctrl_t *const p_ctrl)

Pointer to function which un-initialize the network interface and may put it in low power mode or power it off. Close the driver, disable the driver link, disable interrupt.

Parameters
[in,out]p_ctrlPointer to the control block

◆ open

ssp_err_t(* sf_socket_api_t::open) (sf_socket_ctrl_t *p_ctrl, sf_socket_cfg_t const *const p_cfg)

Pointer to function which initializes the network interface for data transfers Initial driver configuration, enable the driver link, enable interrupts and make device ready for data transfer.

Parameters
[in,out]p_ctrlPointer to user-provided storage for the control block.
[in]p_cfgPointer to configuration structure.

◆ versionGet

ssp_err_t(* sf_socket_api_t::versionGet) (ssp_version_t *const p_version)

Gets version and stores it in provided pointer p_version.

Parameters
[out]p_versionpointer to memory location to return version number

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