4.8.0.0R6
Software Development Kit
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
ltrx_spi_protocol Struct Reference

Represents a SPI protocol for registration. More...

Data Fields

const char * helpHtml
 
const char * protocolName
 
bool(* startProtocol )(uint16_t zeroBasedIndex)
 
void(* stopProtocol )(uint16_t zeroBasedIndex)
 

Detailed Description

Represents a SPI protocol for registration.

This struct designates the procedures to start and stop a Serial Peripheral Interface protocol. It it used with ltrx_spi_register_protocol().

Note that your struct must persist, so you will typically declare it static const.

Field Documentation

const char* ltrx_spi_protocol::helpHtml

HTML help for SPI Protocol selection.

const char* ltrx_spi_protocol::protocolName

Name of this protocol as it will appear in configuration menu choices.

bool(* ltrx_spi_protocol::startProtocol)(uint16_t zeroBasedIndex)

Function that starts this protocol.

void(* ltrx_spi_protocol::stopProtocol)(uint16_t zeroBasedIndex)

Function that stops this protocol.


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