1.3.16.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.