Tiny protocol  0.9.3
Tiny communication protocol for microcontrollers
Classes | Typedefs | Functions
tiny_hd.h File Reference

Tiny Protocol Half Duplex API. More...

#include <stdint.h>
#include "proto/hdlc/tiny_hdlc.h"
#include "proto/hal/tiny_types.h"
Include dependency graph for tiny_hd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  STinyHdData_
 
struct  STinyHdInit_
 

Typedefs

typedef struct STinyHdData_ STinyHdData
 
typedef struct STinyHdInit_ STinyHdInit
 

Functions

int tiny_hd_init (STinyHdData *handle, STinyHdInit *init)
 Initialized communication for Tiny Half Duplex protocol. More...
 
void tiny_hd_close (STinyHdData *handle)
 stops Tiny Half Duplex state machine More...
 
int tiny_hd_run (STinyHdData *handle)
 runs receive functions of Tiny Half Duplex protocol. More...
 
int tiny_hd_run_tx (STinyHdData *handle)
 
int tiny_send_wait_ack (STinyHdData *handle, void *buf, uint16_t len)
 Sends userdata and waits for acknowledgement from remote side. More...
 

Detailed Description

Tiny Protocol Half Duplex API.

This is Tiny Half-Duplex protocol implementation for microcontrollers. It is built on top of Tiny Protocol (tiny_layer2.c)