2.88.1 PTG_Deinitialize Function

C

void PTG_Deinitialize(void)

Summary

Deinitializes the PTG peripheral of the device.

Description

This function deinitializes the PTG Peripheral Library (PLIB) of the device, returning the PTG peripheral to its default reset state. After calling this function, the PTG peripheral will no longer be operational, and any subsequent PTG operations will fail until re-initialization using the PTG_Initialize API.

Precondition

The PTG peripheral must have been initialized using the PTG_Initialize API. This function should be called when the PTG peripheral is no longer required for functioning.

Parameters

None.

Returns

None.

Example

PTG_Deinitialize();

Remarks

None.