Functions | |
cy_en_trigmux_status_t | Cy_TrigMux_Connect (uint32_t inTrig, uint32_t outTrig, bool invert, en_trig_type_t trigType) |
Connects an input trigger source and output trigger. More... | |
cy_en_trigmux_status_t | Cy_TrigMux_SwTrigger (uint32_t trigLine, uint32_t cycles) |
This function generates a software trigger on an input trigger line. More... | |
cy_en_trigmux_status_t | Cy_TrigMux_Select (uint32_t outTrig, bool invert, en_trig_type_t trigType) |
Enables and configures the specified 1-to-1 trigger line. More... | |
cy_en_trigmux_status_t | Cy_TrigMux_Deselect (uint32_t outTrig) |
Disables the specified 1-to-1 trigger line. More... | |
cy_en_trigmux_status_t | Cy_TrigMux_SetDebugFreeze (uint32_t outTrig, bool enable) |
Enables/disables the Debug Freeze feature for the specified trigger multiplexer or 1-to-1 trigger line. More... | |
cy_en_trigmux_status_t Cy_TrigMux_Connect | ( | uint32_t | inTrig, |
uint32_t | outTrig, | ||
bool | invert, | ||
en_trig_type_t | trigType | ||
) |
Connects an input trigger source and output trigger.
inTrig | An input selection for the trigger mux.
|
outTrig | The output of the trigger mux. This refers to the consumer of the trigger mux.
|
invert |
|
trigType | The trigger signal type.
|
cy_en_trigmux_status_t Cy_TrigMux_SwTrigger | ( | uint32_t | trigLine, |
uint32_t | cycles | ||
) |
This function generates a software trigger on an input trigger line.
All output triggers connected to this input trigger will be triggered. The function also verifies that there is no activated trigger before generating another activation.
trigLine | The input of the trigger mux.
|
cycles | The number of "Clk_Peri" cycles during which the trigger remains activated. For PERI_ver1: The valid range of cycles is 1 ... 254. For PERI_ver2: The only valid value of cycles is 2 (CY_TRIGGER_TWO_CYCLES). Also there are special values (supported with both PERI_ver1 and PERI_ver2):
|
cy_en_trigmux_status_t Cy_TrigMux_Select | ( | uint32_t | outTrig, |
bool | invert, | ||
en_trig_type_t | trigType | ||
) |
Enables and configures the specified 1-to-1 trigger line.
For PERI_ver2 only.
outTrig | The 1to1 trigger line.
|
invert |
|
trigType | The trigger signal type.
|
cy_en_trigmux_status_t Cy_TrigMux_Deselect | ( | uint32_t | outTrig | ) |
Disables the specified 1-to-1 trigger line.
For PERI_ver2 only.
outTrig | The 1to1 trigger line.
|
cy_en_trigmux_status_t Cy_TrigMux_SetDebugFreeze | ( | uint32_t | outTrig, |
bool | enable | ||
) |
Enables/disables the Debug Freeze feature for the specified trigger multiplexer or 1-to-1 trigger line.
For PERI_ver2 only.
outTrig | The output of the trigger mux or dedicated 1-to-1 trigger line.
|
enable |
|