Jump to main content

##

# 2.88.7 PTG_SoftwareTriggerSet Function

## C

    void PTG_SoftwareTriggerSet(void)

## Summary

Activates the software trigger of the PTG peripheral of the device.

## Description

This function asserts the software trigger of the PTG peripheral by setting the PTGSWT bit of the PTGCON register.

## Precondition

The PTG peripheral must have been enabled using the PTG_Enable API. The Step Sequence configurations should be carefully made in the Configuration Options GUI. This function should be called when the PTG peripheral is required to set the software trigger.

## Parameters

None.

## Returns

None.

## Example

    PTG_SoftwareTriggerSet();

## Remarks

None.