PLIB_PORTS_Set() takes 4 parameters (module, port, value, mask). PLIB_PORTS_Clear() and PLIB_PORTS_Toggle() each take 3 parameters (module, port, mask). Why? The only difference between the Set and Clear is that the Set writes to the LATnSET register and ..
↧