nsdsp_use_alt_mclr
nsdsp_use_method nsdsp_ignore_eeprom nsdsp_ignore_uid nsdsp_allow_otp nsdsp_config_jtag nsdsp_config_debug nsdsp_config_lvp nsdsp_config_cksw nsdsp_config_wdt nsdsp_reset_after_prog nsdsp_set_debug_magic nsdsp_set_debug_rom nsdsp_set_debug_ram nsdsp_set_debug_cores nsdsp_start_spi_session nsdsp_start_uart_session nsdsp_start_prog_session nsdsp_start_debug_session nsdsp_end_sessionnsdsp_use_alt_mclr
This function specifies whether to use a regular MCLR pin or PGM/RTS/AMCLR when programming.
Syntax
void nsdsp_use_alt_mclr(
nsdsp_t nsdsp,
int alt_mclr
);
Parameters
nsdsp - a reference to the NSDSP object returned by nsdsp_connect function
alt_mclr - non-zero to select PGM/RTS/AMCLR, zero to select MCLR.
Notes
Before using this setting, you must configure the NSDSP programmer to use PGM/RTS/AMCLR as an AMCLR pin.
The PGM/RTS/AMCLR pin cannot generate high voltage and therefore cannot work with HVP.
Minimum library version - 163
© 2007-2026 Northern Software Inc. All Rights Reserved.