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 Both sides next revision
en:configuration_api [2021/08/05 15:30]
peter
en:configuration_api [2021/08/06 15:15]
kateyu
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. \\ \\