Tiny protocol  0.7.0
Tiny communication protocol for microcontrollers
Public Attributes | List of all members
STinyData Struct Reference

#include <tiny_layer2.h>

Collaboration diagram for STinyData:
Collaboration graph
[legend]

Public Attributes

void * pdata
 pointer to application defined data, passed during protocol initialization - absent in Arduino version
 
STinyStats stat
 
write_block_cb_t write_func
 pointer to platform related write function
 
read_block_cb_t read_func
 pointer to platform related read function
 
STinyRxStatus rx
 
STinyTxStatus tx
 
uint8_t fcs_bits
 The field contains number of bits to use for FCS and not available in TINY_MINIMAL configuration.
 
on_frame_cb_t read_cb
 pointer to callback function More...
 
on_frame_cb_t write_cb
 pointer to callback function to get data being sent More...
 
uint8_t uid_support
 flag indicates if uid support is enabled. It is important for tiny_on_rx_byte()
 

Detailed Description

This structure contains information about communication channel and its state.

Warning
This is for internal use only, and should not be accessed directly from the application.

Member Data Documentation

◆ read_cb

on_frame_cb_t STinyData::read_cb

pointer to callback function

This callback is called when it is not null and when new frame is successfully received.

◆ rx

STinyRxStatus STinyData::rx
See also
STinyRxStatus

◆ stat

STinyStats STinyData::stat
See also
STinyStats

◆ tx

STinyTxStatus STinyData::tx
See also
STinyTxStatus

◆ write_cb

on_frame_cb_t STinyData::write_cb

pointer to callback function to get data being sent

This callback is called when it is not null and when new frame is successfully sent.


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