Cart Contact NSDSP Home

nsdsp_debug_write_double_reg

This function writes a double precision floating point value to a CPU register.

Syntax

int nsdsp_debug_write_double_reg(
        nsdsp_session_t   session,
        unsigned int      reg,
        double            value
);

Parameters

session - a reference to the Debug Session Object obtained with nsdsp_session_program_for_debug or nsdsp_start_debug_session function

reg - one of the constants listed in the nsdspif.h file. These constants are device specific and are named according to the following table:

Target Device Constant Syntax
dsPIC33AREG_PIC33_XXXX
PIC32MREG_PIC32_XXXX

value - the value to be written to the register

Return

The function returns non-zero if the write command has been succesfully queued, or zero otherwise

Notes

The register must be a double precision floating register.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

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