PreviousNext
unlockPPS
Help > Macros > Control > unlockPPS

Macro

 

Unlock the MCU Peripheral Pin Select (PPS) module

Purpose

 

Enable remapping of MCU digital peripherals to other I/O pins

Syntax

 

void unlockPPS()

Parameters

 

 –

Return value

 

 

Output values

 

The PPS module is unlocked.

Preconditions

 

 –

Remarks

 

Lock the PPS immediately after making the requested changes. See IQRF OS User’s guide, chapter PPS.

Side effects

 

 –

See also

 

lockPPS

Example

 

unlockPPS()         // Unlock PPS

   ...              // Remap requested pins

lockPPS()           // Lock PPS