source: trunk/firmware_v4/SES/src/sysdata.c@ 44

Last change on this file since 44 was 44, checked in by Zed, 29 hours ago

Es wurden zwei zusätzliche Register hinzugefügt.

File size: 441 bytes
RevLine 
[42]1/*!
2 * \file : sysdata.c
3 * \brief : Contains definition of SYS_DATA structure.
4 *
5 */
6
7#include "sysdata.h"
8#include "modbus.h"
9
10sys_data_t sys_data;
11
12void SYS_DATA_Init(void)
13{
14 // Gertetyp angeben
15
16 sys_data.s.parameter.device_type = 600;
17
[44]18 sys_data.s.parameter.fw_revision_major = 1;
19 sys_data.s.parameter.fw_revision_minor = 0;
20 sys_data.s.parameter.fw_revision_revision = 1;
[42]21
22
23
24
25
26
27
28}
Note: See TracBrowser for help on using the repository browser.