Rev 1534 | 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 | |||
| 1537 | myhrman | 36 | # If this is set to 1, the retry attempts will be forced, no matter |
| 37 | # what the state of the DIAG PIN is after the timeout period. In some |
||
| 38 | # applications, the DIAG PIN holds relevant information only during |
||
| 39 | # a real output activation. In such a scenario, FORCED RETRIES must |
||
| 40 | # be used in order not to get stuck in the protection state because |
||
| 41 | # of false-alarm DIAG assertions. |
||
| 42 | act_protectedOutput_FORCED_RETRIES=0 |
||
| 43 | |||
| 44 | # When the output pins have been turned off by a DIAG assertion, |
||
| 45 | # software can try to enable them again after a specified timeout. |
||
| 46 | # Set timeout to 0 to disable this mechanism. When disabled, a |
||
| 47 | # DIAG assertion will cause the outputs to be permanently switched |
||
| 48 | # off until user tries to enable them again. This affects also the |
||
| 49 | # EEPROM data. |
||
| 1503 | myhrman | 50 | act_protectedOutput_RETRY_TIMER=<TIMER> |
| 1505 | myhrman | 51 | act_protectedOutput_RETRY_TIMER_TIME_S=10 |
| 1503 | myhrman | 52 | |
| 1534 | myhrman | 53 | act_protectedOutput_STORE_VALUE_TIMEOUT=<TIMER> |
| 54 | act_protectedOutput_STORE_VALUE_TIMEOUT_TIME_S=10 |
||
| 55 | |||
| 1503 | myhrman | 56 | act_protectedOutput_ID=<ID> |
| 57 | |||
| 58 | ## End section act_protectedOutput -- Do not edit this line |