Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:configuration_api [2021/08/05 15:30]
peter
en:configuration_api [2021/08/06 15:17]
kateyu [BS2InputConfigEx]
Line 2422: Line 2422:
  
  
-  ==== BS2InputConfigEx ==== +==== BS2InputConfigEx ==== 
-  <code cpp> +<code cpp> 
-  typedef struct { +typedef struct { 
-      ​uint8_t ​​   numInputs;​ +    uint8_t ​   numInputs;​ 
-      ​uint8_t ​​   numSupervised;​ +    uint8_t ​   numSupervised;​ 
-      ​uint8_t ​​   reserved[18];​ +    uint8_t ​   reserved[18];​ 
-   + 
-      ​struct { +    struct { 
-          ​uint8_t ​​   portIndex;​ +        uint8_t ​   portIndex;​ 
-          ​uint8_t ​​   switchType;​ +        uint8_t ​   switchType;​ 
-          ​uint16_t ​​  ​duration; +        uint16_t ​  ​duration; 
-      ​ +     
-          ​uint8_t ​​   reserved; +        uint8_t ​   reserved; 
-          ​uint8_t ​​   supervisedResister;​ +        uint8_t ​   supervisedResister;​ 
-          ​uint8_t ​​   reserved1[16];​ +        uint8_t ​   reserved1[16];​ 
-      ​ +     
-          ​uint8_t ​​   reserved2[26];​ +        uint8_t ​   reserved2[26];​ 
-      ​} inputs[BS2_MAX_INPUT_NUM_EX];​ +    } inputs[BS2_MAX_INPUT_NUM_EX];​ 
-   + 
-      ​uint8_t ​​   reserved2[200];​ +    uint8_t ​   reserved2[200];​ 
-  } BS2InputConfigEx;​ +} BS2InputConfigEx;​ 
-  </code>+</​code>​
   1. //​​numInputs//​​ \\    1. //​​numInputs//​​ \\ 
  ​ Number of Input port. \\ \\  ​ Number of Input port. \\ \\
Line 2453: Line 2453:
  ​ Input Port Number. \\ \\  ​ Input Port Number. \\ \\
   5. //​​switchType//​​ \\   5. //​​switchType//​​ \\
- ​ Input Signal Type\\  + ​ Input Signal Type\\  
-  <WRAP group 50%>+<WRAP group 50%>
  ​ ^Value ​ ^Description ​ ^  ​ ^Value ​ ^Description ​ ^
  ​ |0 ​ |Normally Open  |  ​ |0 ​ |Normally Open  |