Cart Contact NSDSP Home

nsdsp_use_method

This function specifies a programming method

Syntax

void nsdsp_use_method(
        nsdsp_t           nsdsp,
        int               method
);

Parameters

nsdsp - a reference to the NSDSP object returned by nsdsp_connect function

method - one of the following constants

Value ConstantMethod
0NSDSP_METHOD_DEFAULTThe default programming method for the device
1NSDSP_METHOD_LVPLow voltage ICSP programming (LVP)
2NSDSP_METHOD_HVPHigh voltage ICSP programming (HVP)

The target device must support the method you select. You can find out if it does by calling mcu_can_use_method function.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

© 2007-2025 Northern Software Inc. All Rights Reserved.