SPI_connect

SPI_connect — подключить процедуру к менеджеру SPI

Синтаксис

int SPI_connect(void)

Описание

SPI_connect устанавливает подключение вызова процедуры к менеджеру SPI. Эту функцию необходимо вызвать, если вы хотите выполнять команды через SPI. Некоторые вспомогательные функции SPI могут вызываться из неподключённых процедур.

Возвращаемое значение

SPI_OK_CONNECT

при успехе

SPI_ERROR_CONNECT

при ошибке

SPI_connect

SPI_connect — connect a procedure to the SPI manager

Synopsis

int SPI_connect(void)

Description

SPI_connect opens a connection from a procedure invocation to the SPI manager. You must call this function if you want to execute commands through SPI. Some utility SPI functions can be called from unconnected procedures.

Return Value

SPI_OK_CONNECT

on success

SPI_ERROR_CONNECT

on error

FAQ