knx
ETS configurable knx-stack
knx_ip_extended_device_information_dib.cpp
Go to the documentation of this file.
2 #include "bits.h"
3 
4 #ifdef USE_IP
6 {}
7 
9 {
10  return _data[2];
11 }
12 
13 
15 {
16  _data[2] = value;
17 }
18 
19 
21 {
22  return getWord(_data + 4);
23 }
24 
25 
27 {
28  pushWord(value, _data + 4);
29 }
30 
31 
33 {
34  return getWord(_data + 6);
35 }
36 
37 
39 {
40  pushWord(value, _data + 6);
41 }
42 #endif
uint8_t * pushWord(uint16_t w, uint8_t *data)
Definition: bits.cpp:64
uint16_t getWord(const uint8_t *data)
Definition: bits.cpp:91
uint8_t * _data
Definition: knx_ip_dib.h:32