Solar panel
Loading...
Searching...
No Matches
modbus.h
Go to the documentation of this file.
1
/************************************************************************/
6
#ifndef MODBUS_H
7
#define MODBUS_H
8
9
#include <stdint.h>
10
11
extern
uint8_t
modbusAddress
;
12
extern
uint16_t
input_registers
[2];
13
extern
uint16_t
holding_registers
[2];
14
27
void
modbus_init
(uint8_t address);
28
34
uint8_t
modbus_analyse_and_answer
(
void
);
35
41
void
modbus_send
(uint8_t length);
42
51
void
modbus_char_recvd
(
void
);
52
60
void
modbus_timer
(
void
);
61
62
#endif
/* MODBUS_H */
holding_registers
uint16_t holding_registers[2]
Definition:
modbus.c:14
modbusAddress
uint8_t modbusAddress
Definition:
modbus.c:12
modbus_init
void modbus_init(uint8_t address)
Definition:
modbus.c:108
modbus_analyse_and_answer
uint8_t modbus_analyse_and_answer(void)
Definition:
modbus.c:40
modbus_char_recvd
void modbus_char_recvd(void)
Definition:
modbus.c:85
modbus_timer
void modbus_timer(void)
Definition:
modbus.c:33
modbus_send
void modbus_send(uint8_t length)
Definition:
modbus.c:92
input_registers
uint16_t input_registers[2]
Definition:
modbus.c:13
modbus.h
Generated by
1.9.6