CAP#.PREMODE
Description
Selects the type of precondition.
Examples
Usage
0: No precondition. (default)
1:Trigger edge AFTER precondition edge
2: Trigger edge WHILE precondition is 1
3: Trigger edge WHILE precondition is 0
Pre-Mode 0 (No Precondition)
Once armed the next edge on the trigger input will capture the position.
CAP#.EDGE = 1, CAP#.PREMODE = 0
Pre-Mode 1 (Trigger Edge AFTER Precondition Edge)
An edge on the precondition input is required before the edge on the trigger input will capture the position.
CAP#.EDGE = 1, CAP#.PREMODE = 1, CAP#.PREEDGE = 1
If the precondition and trigger edges occur at the same time (within 40ns after any input filters), it is not a valid trigger event. A subsequent trigger edge must occur after the precondition edge.
Pre-Mode 2 and 3 (Trigger Edge WHILE Precondition is 1 or 0)
Trigger on first trigger edge to occur while the precondition input is 1 (mode2) or 0 (mode 3)
CAP#.EDGE = 1, CAP#.PREMODE = 2
Code
-->CAP1.PREMODE 1 -->
Context
For more information please refer to Capture.
Versions
Action | Version | Notes |
---|---|---|
Implemented | 02-00-00-000 |
General Information
Type | Read/Write |
Units | N/A |
Range |
0 to 3 |
Default Value | 0 |
Data Type | Integer |
See Also | |
Stored in Non Volatile Memory | Yes |
Variants Supported
All variants are supported.