TI-RTOS Drivers  tidrivers_cc13xx_cc26xx_2_20_00_08
Data Fields
I2CSlave_Params Struct Reference

I2CSlave Parameters. More...

#include <I2CSlave.h>

Collaboration diagram for I2CSlave_Params:
Collaboration graph
[legend]

Data Fields

I2CSlave_TransferMode transferMode
 
I2CSlave_CallbackFxn transferCallbackFxn
 
uint_fast16_t slaveAddress
 
uintptr_t custom
 

Detailed Description

I2CSlave Parameters.

I2CSlave parameters are used to with the I2CSlave_open() call. Default values for these parameters are set using I2CSlave_Params_init().

If I2CSlave_TransferMode is set to I2CSLAVE_MODE_BLOCKING then I2CSlave_read or I2CSlave_write function calls will block thread execution until the transaction has completed.

If I2CSlave_TransferMode is set to I2CSLAVE_MODE_CALLBACK then I2CSlave read/write will not block thread execution and it will call the function specified by transferCallbackFxn. (regardless of error state).

See also
I2CSlave_Params_init()

Field Documentation

I2CSlave_TransferMode I2CSlave_Params::transferMode

< Blocking or Callback mode Callback function pointer

I2CSlave_CallbackFxn I2CSlave_Params::transferCallbackFxn

Address associated with current I2CSlave device

uint_fast16_t I2CSlave_Params::slaveAddress

Custom argument used by driver implementation

uintptr_t I2CSlave_Params::custom

The documentation for this struct was generated from the following file:
Copyright 2016, Texas Instruments Incorporated