forked from haraldwolff/avr-fw-modules
33 lines
559 B
C
33 lines
559 B
C
|
#pragma once
|
||
|
|
||
|
#include <stdint.h>
|
||
|
#include <util/list.h>
|
||
|
|
||
|
/***********************************
|
||
|
rb2/proxy.h
|
||
|
|
||
|
RegisteredBus2 Interface Definitions
|
||
|
|
||
|
Paketorientierte Kommunikation via Serielle Verbindungen mit Adressierung
|
||
|
|
||
|
***********************************/
|
||
|
|
||
|
|
||
|
struct _rb2_proxy;
|
||
|
typedef struct _rb2_proxy RB2_PROXY;
|
||
|
#define RB2_PROXY(ptr) ((RB2_PROXY*)(ptr))
|
||
|
|
||
|
|
||
|
struct _rb2_proxy
|
||
|
{
|
||
|
list_t list;
|
||
|
|
||
|
uint8_t id;
|
||
|
uint8_t (*register_proc)(RB2_REGISTER *reg,RB2_TELEGRAM *telegram);
|
||
|
register_node_proc
|
||
|
register_node_proc;
|
||
|
|
||
|
list_t segments;
|
||
|
};
|
||
|
|