25.3.4 Events
Generator Name | Description | Event Type | Generating Clock Domain | Length of Event | |
---|---|---|---|---|---|
Peripheral | Event | ||||
TCDn | CMPBCLR | The counter matches CMPBCLR | Pulse | CLK_TCD | One CLK_TCD_CNT period |
CMPASET | The counter matches CMPASET | ||||
CMPBSET | The counter matches CMPBSET | ||||
PROGEV | Programmable event output(1) | One CLK_TCD_SYNC period |
- The user can select the trigger and all the compare matches (including CMPACLR). Also, it is possible to delay the output event from 0 to 255 TCD delay cycles.
The three events based on the counter match directly generate event strobes that last for one clock cycle on the TCD counter clock. The programmable output event generates an event strobe that lasts for one clock cycle on the TCD synchronizer clock.
User Name | Description | Input Detection | Async/Sync | |
---|---|---|---|---|
Peripheral | Input | |||
TCDn | Input A/Input B | Stop the output, jump to the opposite compare cycle and wait | Level | Both |
Stop the output, execute the opposite compare cycle and wait | ||||
Stop the output, execute the opposite compare cycle while the Fault is active | ||||
Stop all outputs, maintain the frequency | ||||
Stop all outputs, execute dead-time while the Fault is active | ||||
Stop all outputs, jump to the next compare cycle and wait | ||||
Stop all outputs, wait for software action | ||||
Stop the output on the edge, jump to the next compare cycle | Edge | |||
Stop the output on the edge, maintain the frequency | ||||
Stop the output at level, maintain the frequency | Level |
Input A and Input B are TCD event users that detect and act upon the input events. Additional information about input events and how to configure them can be found in the TCD Inputs section. Refer to the EVSYS - Event System section for more details regarding event types and Event System configuration.