Cart Contact NSDSP Home

nsdsp_session_send_spi

This function transmits data through SPI.

Syntax

int nsdsp_session_send_spi(
        nsdsp_session_t   session,
        void*             data,
        unsigned int      size
);

Parameters

session - a reference to the Session Object

data - the buffer containing the data to transmit

size - the size of the data in bytes

Return

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

Notes

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.