Cart Contact NSDSP Home

nsdsp_session_set_red_led

This function turns red LED on or off

Syntax

int nsdsp_session_set_red_led(
        nsdsp_session_t   session,
        int               red_led
);

Parameters

session - a reference to the Session Object

red_led - one to turn LED on, zero to turn LED off

Return

The function returns non-zero if the command to change LED state has been succesfully queued, or zero otherwise

Notes

This function works in NSDSP-2 only

The LED may be turned on when executing canned algorithms. The LED will be turned off next time NSDSP enters programming mode.

This instruction only queues a command. The command will be sent to NSDSP when you queue enough commands to fill the buffer or when you call nsdsp_session_flush.

 

Supported session types: SPI

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

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