ConOpSys V2970  P004.07
ANVILEX control operating system
P015_09_V1_0_DIO.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file P015_09_V1_0_DIO.h
3 //! @brief Control board P015.09 digital I/O hardware driver header file.
4 //! @attention No special attention requered.
5 //! @copyright (C) 2015-2020 ANVILEX LLC
6 //! $HeadURL: https://192.168.3.4:8443/svn/P004_07/ConOpSys/Hardware/P015_09_V1_0/P015_09_V1_0_DIO.h $
7 //! $Revision: 2881 $
8 //! $Date: 2021-11-04 17:20:08 +0500 (Do, 04 Nov 2021) $
9 //! $Author: ggavrituhin $
10 //------------------------------------------------------------------------------
11 //
12 // Redistribution and use in source and binary forms, with or without
13 // modification, are permitted provided that the following conditions are met:
14 //
15 // 1. Redistributions of source code must retain the above copyright notice,
16 // this list of conditions and the following disclaimer.
17 //
18 // 2. Redistributions in binary form must reproduce the above copyright notice,
19 // this list of conditions and the following disclaimer in the documentation
20 // and/or other materials provided with the distribution.
21 //
22 // 3. Neither the name of ANVILEX nor the names of its contributors may be
23 // used to endorse or promote products derived from this software without
24 // specific prior written permission.
25 //
26 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29 // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
30 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 // POSSIBILITY OF SUCH DAMAGE.
37 //
38 //------------------------------------------------------------------------------
39 
40 //------------------------------------------------------------------------------
41 // Protecting header files from mutual, recursive inclusion.
42 //------------------------------------------------------------------------------
43 
44 #pragma once
45 
46 //------------------------------------------------------------------------------
47 // Include standard libraries header files
48 //------------------------------------------------------------------------------
49 
50 //------------------------------------------------------------------------------
51 // Include thrid party header files
52 //------------------------------------------------------------------------------
53 
54 //------------------------------------------------------------------------------
55 // Include ConOpSys header files
56 //------------------------------------------------------------------------------
57 
58 #include "Function_Block_Base.h"
59 
60 //------------------------------------------------------------------------------
61 // Include ConOpSys application header files
62 //------------------------------------------------------------------------------
63 
64 //------------------------------------------------------------------------------
65 // Class definition
66 //------------------------------------------------------------------------------
67 
68 //! @brief Digital I/O P015.09 V1 T1 board class
70 {
71 
72  //----------------------------------------------------------------------------
73  // Public defines, methods and variables
74  //----------------------------------------------------------------------------
75 
76  public:
77 
78  //--------------------------------------------------------------------------
79  // Public definies
80  //--------------------------------------------------------------------------
81 
82  //! @brief Register structure for digital I/O access
83  typedef struct
84  {
85 
86  //! @brief 0x00 : Unit identification register
88 
89  //! @brief 0x01 : Unit identification register
91 
92  //! @brief 0x02 : Digital inputs
94 
95  //! @brief 0x03 : Reserved
97 
98  //! @brief 0x04 : Reserved
100 
101  //! @brief 0x05 : Reserved
103 
104  //! @brief 0x06 : Digital outputs
106 
107  //! @brief 0x07 : Set digital outputs
109 
110  //! @brief 0x08 : Reset digital outputs
112 
113  //! @brief 0x09 : Toggle digital outputs
115 
117 
118  //--------------------------------------------------------------------------
119  // Public methods
120  //--------------------------------------------------------------------------
121 
122  //!-------------------------------------------------------------------------
123  //! @brief Class constructor method.
124  //! @note None
125  //! \par Override
126  //! Not allowed
127  //! @attention Don't call this method directly.
128  //--------------------------------------------------------------------------
129 
131 
132  //!-------------------------------------------------------------------------
133  //! @brief Class destructor method.
134  //! @note None
135  //! \par Override
136  //! Not allowed
137  //! @attention Don't call this method directly.
138  //--------------------------------------------------------------------------
139 
140  virtual ~TP015_09_V1_DIO_T1();
141 
142  //!-------------------------------------------------------------------------
143  //! @brief Hardware mapping method.
144  //! @note None
145  //! @param [in] *struct_Registers_Base_Address - Pointer to mapped memory region
146  //! \par Override
147  //! Not allowed
148  //! @attention None
149  //--------------------------------------------------------------------------
150 
151  VOID Map( TP015_09_V1_DIO_Registers *struct_Registers_Base_Address );
152 
153  //!-------------------------------------------------------------------------
154  //! @brief Initialisation method.
155  //! @note None
156  //! \par Override
157  //! Not allowed
158  //! @attention None
159  //--------------------------------------------------------------------------
160 
161  virtual VOID Init();
162 
163  //!-------------------------------------------------------------------------
164  //! @brief Function block inputs execution method.
165  //! @note None
166  //! \par Override
167  //! Not allowed
168  //! @attention None
169  //--------------------------------------------------------------------------
170 
171  virtual VOID Execute_Inputs();
172 
173  //!-------------------------------------------------------------------------
174  //! @brief Function block execution method.
175  //! @note None
176  //! \par Override
177  //! Not allowed
178  //! @attention None
179  //--------------------------------------------------------------------------
180 
181  virtual VOID Execute();
182 
183  //!-------------------------------------------------------------------------
184  //! @brief Function block outputs execution method.
185  //! @note None
186  //! \par Override
187  //! Not allowed
188  //! @attention None
189  //--------------------------------------------------------------------------
190 
191  virtual VOID Execute_Outputs();
192 
193  //!-------------------------------------------------------------------------
194  //! @brief Send function block diagnostic information method.
195  //! @note None
196  //! @param [in] *object_Protocol - Pointer to communication protocol
197  //! \par Override
198  //! Not allowed
199  //! @attention None
200  //--------------------------------------------------------------------------
201 
202  virtual VOID Send_Information( TProtocol_Base *object_Protocol );
203 
204  //--------------------------------------------------------------------------
205  // Function block input signals
206  //--------------------------------------------------------------------------
207 
208  //! @brief Digital output 1 signal connector
210 
211  //! @brief Digital output 2 signal connector
213 
214  //! @brief Digital output 3 signal connector
216 
217  //! @brief Digital output 4 signal connector
219 
220  //! @brief Digital output 5 signal connector
222 
223  //! @brief Digital output 6 signal connector
225 
226  //! @brief Digital output 7 signal connector
228 
229  //! @brief Digital output 8 signal connector
231 
232  //! @brief Digital output 9 signal connector
234 
235  //! @brief Digital output 10 signal connector
237 
238  //! @brief Digital output 11 signal connector
240 
241  //! @brief Digital output 12 signal connector
243 
244  //! @brief Digital output 13 signal connector
246 
247  //! @brief Digital output 14 signal connector
249 
250  //! @brief Digital output 15 signal connector
252 
253  //! @brief Digital output 16 signal connector
255 
256  //! @brief Digital output signals connector
258 
259  //! @brief Digital output test enable signal connector
261 
262  //! @brief Digital output test data signal connector
264 
265  //--------------------------------------------------------------------------
266  // Function block output signals
267  //--------------------------------------------------------------------------
268 
269  //! @brief Digital input 1 signal connector
271 
272  //! @brief Digital input 2 signal connector
274 
275  //! @brief Digital input 3 signal connector
277 
278  //! @brief Digital input 4 signal connector
280 
281  //! @brief Digital input 5 signal connector
283 
284  //! @brief Digital input 6 signal connector
286 
287  //! @brief Digital input 7 signal connector
289 
290  //! @brief Digital input 8 signal connector
292 
293  //! @brief Digital input 9 signal connector
295 
296  //! @brief Digital input 10 signal connector
298 
299  //! @brief Digital input 11 signal connector
301 
302  //! @brief Digital input 12 signal connector
304 
305  //! @brief Digital input 13 signal connector
307 
308  //! @brief Digital input 14 signal connector
310 
311  //! @brief Digital input 15 signal connector
313 
314  //! @brief Digital input 16 signal connector
316 
317  //! @brief Digital input signals connector
319 
320  //! @brief Digital output signals connector
322 
323  //----------------------------------------------------------------------------
324  // Protected defines, methods and variables
325  //----------------------------------------------------------------------------
326 
327  protected:
328 
329  //----------------------------------------------------------------------------
330  // Private defines, methods and variables
331  //----------------------------------------------------------------------------
332 
333  private:
334 
335  //--------------------------------------------------------------------------
336  // Private defines
337  //--------------------------------------------------------------------------
338 
339  //! @brief Structure for digital inputs bit parsing
340  typedef union
341  {
342 
343  //! @brief Digital input data register as U16 raw data
345 
346  //! @brief Digital input data as bits
347  struct
348  {
349 
350  //! @brief Bit 0 - Digital input channel 1
352 
353  //! @brief Bit 1 - Digital input channel 2
355 
356  //! @brief Bit 2 - Digital input channel 3
358 
359  //! @brief Bit 3 - Digital input channel 4
361 
362  //! @brief Bit 4 - Digital input channel 5
364 
365  //! @brief Bit 5 - Digital input channel 6
367 
368  //! @brief Bit 6 - Digital input channel 7
370 
371  //! @brief Bit 7 - Digital input channel 8
373 
374  //! @brief Bit 8 - Digital input channel 9
376 
377  //! @brief Bit 9 - Digital input channel 10
379 
380  //! @brief Bit 10 - Digital input channel 11
382 
383  //! @brief Bit 11 - Digital input channel 12
385 
386  //! @brief Bit 12 - Digital input channel 13
388 
389  //! @brief Bit 13 - Digital input channel 14
391 
392  //! @brief Bit 14 - Digital input channel 15
394 
395  //! @brief Bit 15 - Digital input channel 16
397 
398  };
399 
400  } TDigital_Inputs;
401 
402  //! @brief Structure for digital outputs bit parsing
403  typedef union
404  {
405 
406  //! @brief Digital output data register as U16 raw data
408 
409  //! @brief Digital output data as bits
410  struct
411  {
412 
413  //! @brief Bit 0 - Digital output channel 1
415 
416  //! @brief Bit 1 - Digital output channel 2
418 
419  //! @brief Bit 2 - Digital output channel 3
421 
422  //! @brief Bit 3 - Digital output channel 4
424 
425  //! @brief Bit 4 - Digital output channel 5
427 
428  //! @brief Bit 5 - Digital output channel 6
430 
431  //! @brief Bit 6 - Digital output channel 7
433 
434  //! @brief Bit 7 - Digital output channel 8
436 
437  //! @brief Bit 8 - Digital output channel 9
439 
440  //! @brief Bit 9 - Digital output channel 10
442 
443  //! @brief Bit 10 - Digital output channel 11
445 
446  //! @brief Bit 11 - Digital output channel 12
448 
449  //! @brief Bit 12 - Digital output channel 13
451 
452  //! @brief Bit 13 - Digital output channel 14
454 
455  //! @brief Bit 14 - Digital output channel 15
457 
458  //! @brief Bit 15 - Digital output channel 16
460 
461  };
462 
463  } TDigital_Outputs;
464 
465  //--------------------------------------------------------------------------
466  // Private variables
467  //--------------------------------------------------------------------------
468 
469  //! @brief Pointer to the mapped hardware registers
471 
472 };
473 
474 //------------------------------------------------------------------------------
475 
476 //! @brief Digital I/O P015.09 V1 T2 board class
478 {
479 
480  //----------------------------------------------------------------------------
481  // Public defines, methods and variables
482  //----------------------------------------------------------------------------
483 
484  public:
485 
486  //--------------------------------------------------------------------------
487  // Public definies
488  //--------------------------------------------------------------------------
489 
490  //! @brief Register structure for digital I/O access
491  typedef struct
492  {
493 
494  //! @brief 0x00 : Unit identification register
496 
497  //! @brief 0x01 : Unit identification register
499 
500  //! @brief 0x02 : Digital inputs
502 
503  //! @brief 0x03 : Reserved
505 
506  //! @brief 0x04 : Reserved
508 
509  //! @brief 0x05 : Reserved
511 
512  //! @brief 0x06 : Digital outputs
514 
515  //! @brief 0x07 : Set digital outputs
517 
518  //! @brief 0x08 : Reset digital outputs
520 
521  //! @brief 0x09 : Toggle digital outputs
523 
524  //! @brief 0x0A : Digital inputs status register
526 
527  //! @brief 0x0B : Digital outputs status register
529 
531 
532  //--------------------------------------------------------------------------
533  // Public methods
534  //--------------------------------------------------------------------------
535 
536  //!-------------------------------------------------------------------------
537  //! @brief Class constructor method.
538  //! @note None
539  //! \par Override
540  //! Not allowed
541  //! @attention Don't call this method directly.
542  //--------------------------------------------------------------------------
543 
545 
546  //!-------------------------------------------------------------------------
547  //! @brief Class destructor method.
548  //! @note None
549  //! \par Override
550  //! Not allowed
551  //! @attention Don't call this method directly.
552  //--------------------------------------------------------------------------
553 
554  virtual ~TP015_09_V1_DIO_T2();
555 
556  //!-------------------------------------------------------------------------
557  //! @brief Hardware mapping method.
558  //! @note None
559  //! @param [in] *struct_Registers_Base_Address - Pointer to mapped memory region
560  //! \par Override
561  //! Not allowed
562  //! @attention None
563  //--------------------------------------------------------------------------
564 
565  VOID Map( TP015_09_V1_DIO_Registers *struct_Registers_Base_Address );
566 
567  //!-------------------------------------------------------------------------
568  //! @brief Initialisation method.
569  //! @note None
570  //! \par Override
571  //! Not allowed
572  //! @attention None
573  //--------------------------------------------------------------------------
574 
575  virtual VOID Init();
576 
577  //!-------------------------------------------------------------------------
578  //! @brief Function block execution method.
579  //! @note None
580  //! \par Override
581  //! Not allowed
582  //! @attention None
583  //--------------------------------------------------------------------------
584 
585  virtual VOID Execute();
586 
587  //!-------------------------------------------------------------------------
588  //! @brief Send function block diagnostic information method.
589  //! @note None
590  //! @param [in] *object_Protocol - Pointer to communication protocol
591  //! \par Override
592  //! Not allowed
593  //! @attention None
594  //--------------------------------------------------------------------------
595 
596  virtual VOID Send_Information( TProtocol_Base *object_Protocol );
597 
598  //--------------------------------------------------------------------------
599  // Function block input signals
600  //--------------------------------------------------------------------------
601 
602  //! @brief Digital output signals connector
604 
605  //--------------------------------------------------------------------------
606  // Function block output signals
607  //--------------------------------------------------------------------------
608 
609  //! @brief Digital input signals connector
611 
612  //----------------------------------------------------------------------------
613  // Protected defines, methods and variables
614  //----------------------------------------------------------------------------
615 
616  protected:
617 
618  //----------------------------------------------------------------------------
619  // Private defines, methods and variables
620  //----------------------------------------------------------------------------
621 
622  private:
623 
624  //--------------------------------------------------------------------------
625  // Private variables
626  //--------------------------------------------------------------------------
627 
628  //! @brief Pointer to the mapped hardware registers
630 
631 };
632 
633 //------------------------------------------------------------------------------
634 // End of file
635 //------------------------------------------------------------------------------
#define NULL
Definition: Defines.h:388
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
unsigned short U16
Binary 16-Bit unsigned integer datatype defenition.
Definition: Defines.h:193
Function block base class header file.
Function block input connector class.
Definition: Block_Input_Connector.h:83
Function block output connector class.
Definition: Block_Output_Connector.h:59
Function block base class for device.
Definition: Function_Block_Base.h:96
Digital I/O P015.09 V1 T1 board class.
Definition: P015_09_V1_0_DIO.h:70
TBlock_Output_Connector object_bool_Digital_Input_4
Digital input 4 signal connector.
Definition: P015_09_V1_0_DIO.h:279
TBlock_Output_Connector object_bool_Digital_Input_11
Digital input 11 signal connector.
Definition: P015_09_V1_0_DIO.h:300
TBlock_Output_Connector object_u16_Digital_Inputs_Status
Digital input signals connector.
Definition: P015_09_V1_0_DIO.h:318
VOID Map(TP015_09_V1_DIO_Registers *struct_Registers_Base_Address)
Hardware mapping method.
Definition: P015_09_V1_0_DIO.cpp:130
TBlock_Input_Connector object_bool_Digital_Output_10
Digital output 10 signal connector.
Definition: P015_09_V1_0_DIO.h:236
virtual ~TP015_09_V1_DIO_T1()
Class destructor method.
Definition: P015_09_V1_0_DIO.cpp:122
TBlock_Output_Connector object_bool_Digital_Input_12
Digital input 12 signal connector.
Definition: P015_09_V1_0_DIO.h:303
TBlock_Input_Connector object_bool_Digital_Output_12
Digital output 12 signal connector.
Definition: P015_09_V1_0_DIO.h:242
TBlock_Output_Connector object_bool_Digital_Input_15
Digital input 15 signal connector.
Definition: P015_09_V1_0_DIO.h:312
TBlock_Input_Connector object_bool_Digital_Output_3
Digital output 3 signal connector.
Definition: P015_09_V1_0_DIO.h:215
TBlock_Input_Connector object_bool_Digital_Output_11
Digital output 11 signal connector.
Definition: P015_09_V1_0_DIO.h:239
TBlock_Output_Connector object_bool_Digital_Input_3
Digital input 3 signal connector.
Definition: P015_09_V1_0_DIO.h:276
virtual VOID Execute_Inputs()
Function block inputs execution method.
Definition: P015_09_V1_0_DIO.cpp:158
TBlock_Input_Connector object_bool_Digital_Output_14
Digital output 14 signal connector.
Definition: P015_09_V1_0_DIO.h:248
TBlock_Input_Connector object_bool_Digital_Output_5
Digital output 5 signal connector.
Definition: P015_09_V1_0_DIO.h:221
TBlock_Input_Connector object_bool_Digital_Output_7
Digital output 7 signal connector.
Definition: P015_09_V1_0_DIO.h:227
TBlock_Input_Connector object_bool_Digital_Output_2
Digital output 2 signal connector.
Definition: P015_09_V1_0_DIO.h:212
TBlock_Output_Connector object_bool_Digital_Input_10
Digital input 10 signal connector.
Definition: P015_09_V1_0_DIO.h:297
TBlock_Output_Connector object_bool_Digital_Input_14
Digital input 14 signal connector.
Definition: P015_09_V1_0_DIO.h:309
TBlock_Input_Connector object_bool_Digital_Output_13
Digital output 13 signal connector.
Definition: P015_09_V1_0_DIO.h:245
virtual VOID Execute_Outputs()
Function block outputs execution method.
Definition: P015_09_V1_0_DIO.cpp:209
TBlock_Output_Connector object_bool_Digital_Input_1
Digital input 1 signal connector.
Definition: P015_09_V1_0_DIO.h:270
TBlock_Output_Connector object_bool_Digital_Input_2
Digital input 2 signal connector.
Definition: P015_09_V1_0_DIO.h:273
TBlock_Input_Connector object_bool_Digital_Output_15
Digital output 15 signal connector.
Definition: P015_09_V1_0_DIO.h:251
TBlock_Output_Connector object_u16_Digital_Outputs_Status
Digital output signals connector
Definition: P015_09_V1_0_DIO.h:321
TBlock_Output_Connector object_bool_Digital_Input_8
Digital input 8 signal connector.
Definition: P015_09_V1_0_DIO.h:291
virtual VOID Execute()
Function block execution method.
Definition: P015_09_V1_0_DIO.cpp:194
TBlock_Output_Connector object_bool_Digital_Input_6
Digital input 6 signal connector.
Definition: P015_09_V1_0_DIO.h:285
TBlock_Input_Connector object_bool_Digital_Output_9
Digital output 9 signal connector.
Definition: P015_09_V1_0_DIO.h:233
TP015_09_V1_DIO_T1()
Class constructor method.
Definition: P015_09_V1_0_DIO.cpp:66
TBlock_Input_Connector object_bool_Digital_Output_4
Digital output 4 signal connector.
Definition: P015_09_V1_0_DIO.h:218
TBlock_Input_Connector object_u16_Digital_Outputs
Digital output signals connector.
Definition: P015_09_V1_0_DIO.h:257
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send function block diagnostic information method.
Definition: P015_09_V1_0_DIO.cpp:271
TBlock_Input_Connector object_u16_Digital_Output_Test_Data
Digital output test data signal connector.
Definition: P015_09_V1_0_DIO.h:263
virtual VOID Init()
Initialisation method.
Definition: P015_09_V1_0_DIO.cpp:145
TBlock_Output_Connector object_bool_Digital_Input_7
Digital input 7 signal connector.
Definition: P015_09_V1_0_DIO.h:288
TBlock_Input_Connector object_bool_Digital_Output_1
Digital output 1 signal connector.
Definition: P015_09_V1_0_DIO.h:209
TBlock_Output_Connector object_bool_Digital_Input_9
Digital input 9 signal connector.
Definition: P015_09_V1_0_DIO.h:294
TBlock_Output_Connector object_bool_Digital_Input_13
Digital input 13 signal connector.
Definition: P015_09_V1_0_DIO.h:306
TBlock_Input_Connector object_bool_Digital_Output_16
Digital output 16 signal connector.
Definition: P015_09_V1_0_DIO.h:254
volatile TP015_09_V1_DIO_Registers * struct_Registers
Pointer to the mapped hardware registers.
Definition: P015_09_V1_0_DIO.h:470
TBlock_Input_Connector object_bool_Digital_Output_6
Digital output 6 signal connector.
Definition: P015_09_V1_0_DIO.h:224
TBlock_Output_Connector object_bool_Digital_Input_5
Digital input 5 signal connector.
Definition: P015_09_V1_0_DIO.h:282
TBlock_Input_Connector object_bool_Digital_Output_Test_Enable
Digital output test enable signal connector.
Definition: P015_09_V1_0_DIO.h:260
TBlock_Input_Connector object_bool_Digital_Output_8
Digital output 8 signal connector.
Definition: P015_09_V1_0_DIO.h:230
TBlock_Output_Connector object_bool_Digital_Input_16
Digital input 16 signal connector.
Definition: P015_09_V1_0_DIO.h:315
Digital I/O P015.09 V1 T2 board class.
Definition: P015_09_V1_0_DIO.h:478
VOID Map(TP015_09_V1_DIO_Registers *struct_Registers_Base_Address)
Hardware mapping method.
Definition: P015_09_V1_0_DIO.cpp:312
virtual VOID Init()
Initialisation method.
Definition: P015_09_V1_0_DIO.cpp:327
virtual ~TP015_09_V1_DIO_T2()
Class destructor method.
Definition: P015_09_V1_0_DIO.cpp:304
virtual VOID Execute()
Function block execution method.
Definition: P015_09_V1_0_DIO.cpp:339
TBlock_Input_Connector object_u16_Digital_Outputs
Digital output signals connector.
Definition: P015_09_V1_0_DIO.h:603
volatile TP015_09_V1_DIO_Registers * struct_Registers
Pointer to the mapped hardware registers.
Definition: P015_09_V1_0_DIO.h:629
TP015_09_V1_DIO_T2()
Class constructor method.
Definition: P015_09_V1_0_DIO.cpp:283
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send function block diagnostic information method.
Definition: P015_09_V1_0_DIO.cpp:362
TBlock_Output_Connector object_u16_Digital_Inputs
Digital input signals connector.
Definition: P015_09_V1_0_DIO.h:610
Definition: Protocol_Base.h:57
Register structure for digital I/O access.
Definition: P015_09_V1_0_DIO.h:84
U16 u16_Digital_Outputs_Set
0x07 : Set digital outputs
Definition: P015_09_V1_0_DIO.h:108
U16 u16_Digital_Outputs
0x06 : Digital outputs
Definition: P015_09_V1_0_DIO.h:105
U16 u16_Digital_Outputs_Reset
0x08 : Reset digital outputs
Definition: P015_09_V1_0_DIO.h:111
U16 u16_Unit_ID_H
0x01 : Unit identification register
Definition: P015_09_V1_0_DIO.h:90
U16 u16_Unit_ID_L
0x00 : Unit identification register
Definition: P015_09_V1_0_DIO.h:87
U16 u16_Digital_Inputs
0x02 : Digital inputs
Definition: P015_09_V1_0_DIO.h:93
U16 u16_Digital_Inputs_Reserve_2
0x04 : Reserved
Definition: P015_09_V1_0_DIO.h:99
U16 u16_Digital_Inputs_Reserve_3
0x05 : Reserved
Definition: P015_09_V1_0_DIO.h:102
U16 u16_Digital_Inputs_Reserve_1
0x03 : Reserved
Definition: P015_09_V1_0_DIO.h:96
U16 u16_Digital_Outputs_Toggle
0x09 : Toggle digital outputs
Definition: P015_09_V1_0_DIO.h:114
Register structure for digital I/O access.
Definition: P015_09_V1_0_DIO.h:492
U16 u16_Unit_ID_L
0x00 : Unit identification register
Definition: P015_09_V1_0_DIO.h:495
U16 u16_Digital_Outputs
0x06 : Digital outputs
Definition: P015_09_V1_0_DIO.h:513
U16 u16_Digital_Inputs_Reserve_1
0x03 : Reserved
Definition: P015_09_V1_0_DIO.h:504
U16 u16_Digital_Outputs_Toggle
0x09 : Toggle digital outputs
Definition: P015_09_V1_0_DIO.h:522
U16 u16_Digital_Inputs
0x02 : Digital inputs
Definition: P015_09_V1_0_DIO.h:501
U16 u16_Digital_Outputs_Reset
0x08 : Reset digital outputs
Definition: P015_09_V1_0_DIO.h:519
U16 u16_Digital_Inputs_Status
0x0A : Digital inputs status register
Definition: P015_09_V1_0_DIO.h:525
U16 u16_Digital_Outputs_Set
0x07 : Set digital outputs
Definition: P015_09_V1_0_DIO.h:516
U16 u16_Digital_Outputs_Status
0x0B : Digital outputs status register
Definition: P015_09_V1_0_DIO.h:528
U16 u16_Digital_Inputs_Reserve_2
0x04 : Reserved
Definition: P015_09_V1_0_DIO.h:507
U16 u16_Unit_ID_H
0x01 : Unit identification register
Definition: P015_09_V1_0_DIO.h:498
U16 u16_Digital_Inputs_Reserve_3
0x05 : Reserved
Definition: P015_09_V1_0_DIO.h:510
U16 bit1_Channel_14
Bit 13 - Digital input channel 14.
Definition: P015_09_V1_0_DIO.h:390
U16 bit1_Channel_7
Bit 6 - Digital input channel 7.
Definition: P015_09_V1_0_DIO.h:369
U16 bit1_Channel_16
Bit 15 - Digital input channel 16.
Definition: P015_09_V1_0_DIO.h:396
U16 bit1_Channel_1
Bit 0 - Digital input channel 1.
Definition: P015_09_V1_0_DIO.h:351
U16 bit1_Channel_11
Bit 10 - Digital input channel 11.
Definition: P015_09_V1_0_DIO.h:381
U16 bit1_Channel_15
Bit 14 - Digital input channel 15.
Definition: P015_09_V1_0_DIO.h:393
U16 bit1_Channel_12
Bit 11 - Digital input channel 12.
Definition: P015_09_V1_0_DIO.h:384
U16 bit1_Channel_2
Bit 1 - Digital input channel 2.
Definition: P015_09_V1_0_DIO.h:354
U16 bit1_Channel_5
Bit 4 - Digital input channel 5.
Definition: P015_09_V1_0_DIO.h:363
U16 bit1_Channel_3
Bit 2 - Digital input channel 3.
Definition: P015_09_V1_0_DIO.h:357
U16 bit1_Channel_9
Bit 8 - Digital input channel 9.
Definition: P015_09_V1_0_DIO.h:375
U16 bit1_Channel_4
Bit 3 - Digital input channel 4.
Definition: P015_09_V1_0_DIO.h:360
U16 bit1_Channel_10
Bit 9 - Digital input channel 10.
Definition: P015_09_V1_0_DIO.h:378
U16 u16_Digital_Inputs_Raw
Digital input data register as U16 raw data.
Definition: P015_09_V1_0_DIO.h:344
U16 bit1_Channel_13
Bit 12 - Digital input channel 13.
Definition: P015_09_V1_0_DIO.h:387
U16 bit1_Channel_6
Bit 5 - Digital input channel 6.
Definition: P015_09_V1_0_DIO.h:366
U16 bit1_Channel_8
Bit 7 - Digital input channel 8.
Definition: P015_09_V1_0_DIO.h:372
U16 bit1_Channel_7
Bit 6 - Digital output channel 7.
Definition: P015_09_V1_0_DIO.h:432
U16 bit1_Channel_3
Bit 2 - Digital output channel 3.
Definition: P015_09_V1_0_DIO.h:420
U16 bit1_Channel_6
Bit 5 - Digital output channel 6.
Definition: P015_09_V1_0_DIO.h:429
U16 bit1_Channel_1
Bit 0 - Digital output channel 1.
Definition: P015_09_V1_0_DIO.h:414
U16 bit1_Channel_12
Bit 11 - Digital output channel 12.
Definition: P015_09_V1_0_DIO.h:447
U16 bit1_Channel_11
Bit 10 - Digital output channel 11.
Definition: P015_09_V1_0_DIO.h:444
U16 bit1_Channel_4
Bit 3 - Digital output channel 4.
Definition: P015_09_V1_0_DIO.h:423
U16 bit1_Channel_10
Bit 9 - Digital output channel 10.
Definition: P015_09_V1_0_DIO.h:441
U16 bit1_Channel_8
Bit 7 - Digital output channel 8.
Definition: P015_09_V1_0_DIO.h:435
U16 bit1_Channel_9
Bit 8 - Digital output channel 9.
Definition: P015_09_V1_0_DIO.h:438
U16 bit1_Channel_15
Bit 14 - Digital output channel 15.
Definition: P015_09_V1_0_DIO.h:456
U16 bit1_Channel_13
Bit 12 - Digital output channel 13.
Definition: P015_09_V1_0_DIO.h:450
U16 bit1_Channel_14
Bit 13 - Digital output channel 14.
Definition: P015_09_V1_0_DIO.h:453
U16 bit1_Channel_2
Bit 1 - Digital output channel 2.
Definition: P015_09_V1_0_DIO.h:417
U16 bit1_Channel_16
Bit 15 - Digital output channel 16.
Definition: P015_09_V1_0_DIO.h:459
U16 bit1_Channel_5
Bit 4 - Digital output channel 5.
Definition: P015_09_V1_0_DIO.h:426
U16 u16_Digital_Outputs_Raw
Digital output data register as U16 raw data.
Definition: P015_09_V1_0_DIO.h:407