Rev 1512 | Rev 1532 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1512 | Rev 1528 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | ## Section act_protectedOutput -- Do not edit this line |
1 | ## Section act_protectedOutput -- Do not edit this line |
| 2 | 2 | ||
| 3 | # Define a |
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 |
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. |
| 5 | 5 | ||
| - | 6 | # Number of ouput pins. |
|
| - | 7 | act_protectedOutput_NR_OUTPUT_PINS=1 |
|
| - | 8 | ||
| 6 | # Output |
9 | # Output pins. |
| 7 |
|
10 | act_protectedOutput_OUTPUT0_PIN=GPIO_D5 |
| - | 11 | act_protectedOutput_OUTPUT1_PIN=GPIO_D1 |
|
| - | 12 | act_protectedOutput_OUTPUT2_PIN=GPIO_D7 |
|
| - | 13 | act_protectedOutput_OUTPUT3_PIN=GPIO_B0 |
|
| 8 | 14 | ||
| 9 | # Defines the ACTIVE state of the OUTPUT pin. 1 means output is active high, 0 means active low. |
15 | # Defines the ACTIVE state of the OUTPUT pin. 1 means output is active high, 0 means active low. |
| - | 16 | act_protectedOutput_OUTPUT0_PIN_ACTIVE_STATE=1 |
|
| 10 |
|
17 | act_protectedOutput_OUTPUT1_PIN_ACTIVE_STATE=1 |
| - | 18 | act_protectedOutput_OUTPUT2_PIN_ACTIVE_STATE=0 |
|
| - | 19 | act_protectedOutput_OUTPUT3_PIN_ACTIVE_STATE=1 |
|
| 11 | 20 | ||
| 12 | # Diagnostics pin. Asserted from external monitors if the |
21 | # Diagnostics pin. Asserted from external monitors if the outputs need to be disabled. |
| 13 | act_protectedOutput_DIAG_PIN=GPIO_D2 |
22 | act_protectedOutput_DIAG_PIN=GPIO_D2 |
| 14 | act_protectedOutput_DIAG_PIN_PCINT=<PCINT> |
23 | act_protectedOutput_DIAG_PIN_PCINT=<PCINT> |
| 15 | 24 | ||
| 16 | # Defines the ASSERTED state of the DIAG pin. 1 means DIAG is asserted HIGH during error conditions, 0 means it is asserted low. |
25 | # 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 |
26 | act_protectedOutput_DIAG_PIN_ASSERTED_STATE=0 |
| 18 | 27 | ||
| 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). |
28 | # 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 |
29 | act_protectedOutput_DIAG_PIN_PULL_ENABLED=0 |
| 21 | 30 | ||
| 22 | # When the output |
31 | # When the output pins have been turned off by a DIAG assertion, software can try to enable them again after a specified timeout. |
| 23 | # Set timeout to 0 to disable this mechanism. |
32 | # Set timeout to 0 to disable this mechanism. |
| 24 | act_protectedOutput_RETRY_TIMER=<TIMER> |
33 | act_protectedOutput_RETRY_TIMER=<TIMER> |
| 25 | act_protectedOutput_RETRY_TIMER_TIME_S=10 |
34 | act_protectedOutput_RETRY_TIMER_TIME_S=10 |
| 26 | 35 | ||
| 27 | act_protectedOutput_ID=<ID> |
36 | act_protectedOutput_ID=<ID> |