Data Fields
rlComIfCbs_t Struct Reference

Communication interface(SPI, MailBox, UART etc) callback functions. More...

#include <control/mmwavelink/mmwavelink.h>

Data Fields

rlComIfHdl_t(* rlComIfOpen )(rlUInt8_t deviceIndex, rlUInt32_t flags)
 Open Communication interface. More...
 
rlInt32_t(* rlComIfRead )(rlComIfHdl_t fd, rlUInt8_t *pBuff, rlUInt16_t len)
 Read Data from Communication interface. More...
 
rlInt32_t(* rlComIfWrite )(rlComIfHdl_t fd, rlUInt8_t *pBuff, rlUInt16_t len)
 Write Data over Communication interface. More...
 
rlInt32_t(* rlComIfClose )(rlComIfHdl_t fd)
 Close the Communication interface. More...
 

Detailed Description

Communication interface(SPI, MailBox, UART etc) callback functions.

Definition at line 1080 of file mmwavelink.h.

Field Documentation

◆ rlComIfClose

rlInt32_t(* rlComIfCbs_t::rlComIfClose)(rlComIfHdl_t fd)

Close the Communication interface.

Parameters
[in]fd- Handle to access the communication interface
Returns
rlInt32_t Success - 0, Failure - Error code

Close the Communication interface

Definition at line 1137 of file mmwavelink.h.

◆ rlComIfOpen

rlComIfHdl_t(* rlComIfCbs_t::rlComIfOpen)(rlUInt8_t deviceIndex, rlUInt32_t flags)

Open Communication interface.

...

Parameters
[in]deviceIndex- Communication Interface to Open
[in]flags- Flags to configure the interface
Returns
rlComIfHdl_t Handle to access the communication interface

Open Communication interface

Definition at line 1094 of file mmwavelink.h.

◆ rlComIfRead

rlInt32_t(* rlComIfCbs_t::rlComIfRead)(rlComIfHdl_t fd, rlUInt8_t *pBuff, rlUInt16_t len)

Read Data from Communication interface.

Parameters
[in]fd- Handle to access the communication interface
[out]pBuff- Buffer to store data from communication interface
[in]len- Read size in bytes
Returns
rlInt32_t Length of received data

Read Data from Communication interface

Definition at line 1109 of file mmwavelink.h.

◆ rlComIfWrite

rlInt32_t(* rlComIfCbs_t::rlComIfWrite)(rlComIfHdl_t fd, rlUInt8_t *pBuff, rlUInt16_t len)

Write Data over Communication interface.

Parameters
[in]fd- Handle to access the communication interface
[in]pBuff- Buffer containing data to write over communication interface
[in]len- write size in bytes
Returns
rlInt32_t Length of data sent

Write Data over Communication interface

Definition at line 1124 of file mmwavelink.h.


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

Copyright 2021, Texas Instruments Incorporated