Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
#include <xc.h>
void PPS_unlock() {
PPSLOCK = 0x55;
PPSLOCK = 0xAA;
PPSLOCK = 0; //PPS unlocked
}
void PPS_lock() {
PPSLOCK = 0x55;
PPSLOCK = 0xAA;
PPSLOCK = 1; //PPS locked
}562328552This file is pinned to the selected release. Download the original to open it in your design tool.