Rev 1505 | Go to most recent revision | Details | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1503 | myhrman | 1 | ## Section act_protectedOutput -- Do not edit this line |
| 2 | |||
| 3 | # Define a pair of output/input pins. The diagnostics pin is used as enable flag for the protected output. |
||
| 4 | # External hardware can monitor the output and assert the diagnostics pin whenever the output must be turned off, to protect whatever is connected to it. |
||
| 5 | |||
| 6 | # Output pin. |
||
| 7 | act_protectedOutput_OUTPUT_PIN=GPIO_D5 |
||
| 8 | |||
| 9 | # Defines the ACTIVE state of the OUTPUT pin. 1 means output is active high, 0 means active low. |
||
| 10 | act_protectedOutput_OUTPUT_PIN_ACTIVE_STATE=1 |
||
| 11 | |||
| 12 | # Diagnostics pin. Asserted from external monitors if the output needs to be disabled. |
||
| 13 | act_protectedOutput_DIAG_PIN=GPIO_D2 |
||
| 14 | act_protectedOutput_DIAG_PIN_PCINT=<PCINT> |
||
| 15 | |||
| 16 | # Defines the ASSERTED state of the DIAG pin. 1 means DIAG is asserted HIGH during error conditions, 0 means it is asserted low. |
||
| 17 | act_protectedOutput_DIAG_PIN_ASSERTED_STATE=0 |
||
| 18 | |||
| 19 | # Enables internal pull-up resistor for the DIAG pin. This is only used if ASSERTED state is defined as 0 (i.e. active low). |
||
| 20 | act_protectedOutput_DIAG_PIN_PULL_ENABLED=0 |
||
| 21 | |||
| 22 | # When the output pin has been turned off by a DIAG assertion, software can try to enable it again after a specified timeout. |
||
| 23 | # Set timeout to 0 to disable this mechanism. |
||
| 24 | act_protectedOutput_RETRY_TIMER=<TIMER> |
||
| 25 | act_protectedOutput_RETRY_TIMER_TIME_S=s10 |
||
| 26 | |||
| 27 | # This timer polls the DIAG pin. Perhaps change this so we trigger on interrupt instead? |
||
| 28 | act_protectedOutput_DIAG_POLL_TIMER=<TIMER> |
||
| 29 | act_protectedOutput_DIAG_POLL_TIMER_TIME_MS=100 |
||
| 30 | |||
| 31 | act_protectedOutput_ID=<ID> |
||
| 32 | |||
| 33 | ## End section act_protectedOutput -- Do not edit this line |