Rev 1532 | Rev 1534 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1503 | myhrman | 1 | ## Section act_protectedOutput -- Do not edit this line |
| 2 | |||
| 1528 | myhrman | 3 | # Define a number of outputs with a common diagnostic input pin used as a global enable flag for all the outputs. |
| 4 | # External hardware can monitor the outputs and assert the diagnostics pin whenever the outputs must be turned off, to protect whatever is connected to them. |
||
| 1503 | myhrman | 5 | |
| 1532 | myhrman | 6 | # Shall the output states be remembered in EEPROM? |
| 7 | # If this is disabled (0), outputs will be initialized |
||
| 8 | # to OFF state. |
||
| 9 | act_protectedOutput_EEPROM_ENABLED=1 |
||
| 10 | |||
| 1528 | myhrman | 11 | # Number of ouput pins. |
| 1532 | myhrman | 12 | act_protectedOutput_CH_COUNT=1 |
| 1503 | myhrman | 13 | |
| 1528 | myhrman | 14 | # Output pins. |
| 1532 | myhrman | 15 | act_protectedOutput_CH0=GPIO_D5 |
| 16 | act_protectedOutput_CH1=GPIO_D1 |
||
| 17 | act_protectedOutput_CH2=GPIO_D7 |
||
| 18 | act_protectedOutput_CH3=GPIO_B0 |
||
| 1528 | myhrman | 19 | |
| 1532 | myhrman | 20 | # Defines the polarity of each OUTPUT channel. 1 means output is active high, 0 means active low. |
| 21 | act_protectedOutput_CH0_POLARITY=1 |
||
| 22 | act_protectedOutput_CH1_POLARITY=1 |
||
| 23 | act_protectedOutput_CH2_POLARITY=0 |
||
| 24 | act_protectedOutput_CH3_POLARITY=1 |
||
| 1503 | myhrman | 25 | |
| 1528 | myhrman | 26 | # Diagnostics pin. Asserted from external monitors if the outputs need to be disabled. |
| 1503 | myhrman | 27 | act_protectedOutput_DIAG_PIN=GPIO_D2 |
| 28 | act_protectedOutput_DIAG_PIN_PCINT=<PCINT> |
||
| 29 | |||
| 1533 | myhrman | 30 | # Defines the polarity of the DIAG pin. 1 means DIAG is asserted HIGH during error conditions, 0 means it is asserted low. |
| 31 | act_protectedOutput_DIAG_PIN_POLARITY=0 |
||
| 1503 | myhrman | 32 | |
| 1533 | myhrman | 33 | # Enables internal pull-up resistor for the DIAG pin. This is only used if polarity is defined as 0 (i.e. active low). |
| 1503 | myhrman | 34 | act_protectedOutput_DIAG_PIN_PULL_ENABLED=0 |
| 35 | |||
| 1528 | myhrman | 36 | # When the output pins have been turned off by a DIAG assertion, software can try to enable them again after a specified timeout. |
| 1503 | myhrman | 37 | # Set timeout to 0 to disable this mechanism. |
| 38 | act_protectedOutput_RETRY_TIMER=<TIMER> |
||
| 1505 | myhrman | 39 | act_protectedOutput_RETRY_TIMER_TIME_S=10 |
| 1503 | myhrman | 40 | |
| 41 | act_protectedOutput_ID=<ID> |
||
| 42 | |||
| 43 | ## End section act_protectedOutput -- Do not edit this line |