Rev 1512 | Rev 1532 | 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 | |
| 1528 | myhrman | 6 | # Number of ouput pins. |
| 7 | act_protectedOutput_NR_OUTPUT_PINS=1 |
||
| 1503 | myhrman | 8 | |
| 1528 | myhrman | 9 | # Output pins. |
| 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 |
||
| 14 | |||
| 1503 | myhrman | 15 | # Defines the ACTIVE state of the OUTPUT pin. 1 means output is active high, 0 means active low. |
| 1528 | myhrman | 16 | act_protectedOutput_OUTPUT0_PIN_ACTIVE_STATE=1 |
| 17 | act_protectedOutput_OUTPUT1_PIN_ACTIVE_STATE=1 |
||
| 18 | act_protectedOutput_OUTPUT2_PIN_ACTIVE_STATE=0 |
||
| 19 | act_protectedOutput_OUTPUT3_PIN_ACTIVE_STATE=1 |
||
| 1503 | myhrman | 20 | |
| 1528 | myhrman | 21 | # Diagnostics pin. Asserted from external monitors if the outputs need to be disabled. |
| 1503 | myhrman | 22 | act_protectedOutput_DIAG_PIN=GPIO_D2 |
| 23 | act_protectedOutput_DIAG_PIN_PCINT=<PCINT> |
||
| 24 | |||
| 25 | # Defines the ASSERTED state of the DIAG pin. 1 means DIAG is asserted HIGH during error conditions, 0 means it is asserted low. |
||
| 26 | act_protectedOutput_DIAG_PIN_ASSERTED_STATE=0 |
||
| 27 | |||
| 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). |
||
| 29 | act_protectedOutput_DIAG_PIN_PULL_ENABLED=0 |
||
| 30 | |||
| 1528 | myhrman | 31 | # 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 | 32 | # Set timeout to 0 to disable this mechanism. |
| 33 | act_protectedOutput_RETRY_TIMER=<TIMER> |
||
| 1505 | myhrman | 34 | act_protectedOutput_RETRY_TIMER_TIME_S=10 |
| 1503 | myhrman | 35 | |
| 36 | act_protectedOutput_ID=<ID> |
||
| 37 | |||
| 38 | ## End section act_protectedOutput -- Do not edit this line |