| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- _Slave_Port _Slave_Ports[] = {
- {"CAN", 0x102, 0x07, 0x00, 0x00, 0x00, 0x00 }
- //,
- //{"CAN", 0x102, 0x01, 0x00, 0x01, 0xFF, 0x6d } //testowy ttl
- }; //TO BE REPLACED BY _Slave_Ports_LOCAL_LIST
- /*
- typedef struct {
- const char * const _Protocol;
- int _Slave_ID;
- int PortTypes; //0xFF = 1111 1111
- {
- bit 1 - PWM port
- bit 2 - on I2C managed port
- bit 3 - expanded port with LocalPort address
- bit 4 - not allocated
- bit 2 - not allocated
- bit 5 - not allocated
- bit 6 - not allocated
- bit 7 - not allocated
- bit 8 - not allocated
- }
-
- // byte has_Address;
- int Address ;
- // byte has_Local_Port;
- int LocalPort;
- int Exp_state; 0xFF = 1111 1111
- 0x00 = 0000 0000 = OFF = 0V
- 0x01 = 0000 0001 = ON = PWM max
- {
- bit 1 - OFF = 0V
- bit 2 - ON = PWM max
- bit 3 - not allocated
- bit 4 - not allocated
- bit 2 - not allocated
- bit 5 - not allocated
- bit 6 - not allocated
- bit 7 - not allocated
- bit 8 - not allocated
- }
- int Exp_state_ttl; // 0x00 = odswiezyc
- } _Slave_Port;
- */
|