#if defined(__PIC24F__)
#include <p24Fxxxx.h>
#endif
#include <ports.h>

/********************************************************************
* Function Name     : ConfigCNPullups
* Description       : Configures the internal pull-up resistor bits
* Parameters        : None
* Return Value      : None
*********************************************************************/

void ConfigCNPullups(long int config)
{
    CNPU1 = (unsigned int)config;
    CNPU2 = (unsigned int)(config >> 16);
}
/* end of function ConfigCNPullups */
