1.3.16.2 1.4.15.2 1.5.15.2 1.6.17.2 1.7.18.2 1.9.14.2 1.29.16.2 1.30.11.1 1.31.11.1 1.32.17.2 1.33.11.1 1.37.11.1 1.38.15.2 1.39.12.2 1.40.14.2 PAC_PeripheralIsProtected Function

C

bool PAC_PeripheralIsProtected( PAC_PERIPHERAL peripheral );

Summary

Returns PAC protection status of peripheral.

Description

This function returns status PAC protection status for the specified peripheral.

Precondition

On some devices PAC_Initialize() function needs to be called first.

Parameters

Param Description
peripheral Peripheral to be operated on.

Returns

true - Peripheral is protected.

false - Peripheral is not protected.

Example

bool status = false;

status = PAC_PeripheralIsProtected(PAC_PERIPHERAL_DSU);

Remarks

None.