Jump to main content

##

# 2.88.6 PTG_SoftwareTriggerClear Function

## C

    void PTG_SoftwareTriggerClear(void)

## Summary

Clears the software trigger bit of the PTG peripheral of the device.

## Description

This function clears the software trigger bit PTGSWT 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 Option GUI. This API is added to resolve the Errata issue. After executing the wait for software trigger step command followed by the same command, the PTGSWT bit is not cleared by hardware.

## Parameters

None.

## Returns

None.

## Example

    PTG_SoftwareTriggerClear();

## Remarks

None.