Tiny protocol
0.7.0
Tiny communication protocol for microcontrollers
|
#include <tiny_layer2.h>
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() | |
This structure contains information about communication channel and its state.
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.
STinyRxStatus STinyData::rx |
STinyStats STinyData::stat |
STinyTxStatus STinyData::tx |
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.