3.3.9.3 PAC_PeripheralProtectSetup
Set peripheral access control for the given peripheral using the specfied operation.
void PAC_PeripheralProtectSetup
(
PAC_PERIPHERAL peripheral,
PAC_PROTECTION operation
);
Precondition
- Protection status return by PAC_PeripheralIsProtected() function needs to be used before calling this function.
Parameters
- peripheral - peripheral to be operated on.
- operation - PAC operation to be performed. Refer to the description of the PAC_PROTECTION enumeration for possible operations.
Returns
- void
