Syntax
typedef enum {
  VM_DCL_SPI_PORT_RESERVED = VM_DCL_SPI_GROUP_START,
  VM_DCL_SPI_PORT1
} VM_DCL_SPI_DEVICE;
ContentsIndex
PreviousUpNext
VM_DCL_SPI_DEVICE
Example
Syntax
typedef enum {
  VM_DCL_SPI_PORT_RESERVED = VM_DCL_SPI_GROUP_START,
  VM_DCL_SPI_PORT1
} VM_DCL_SPI_DEVICE;
Description

VM_DCL_SPI_DEVICE is the ENUM SPI type, you can select one of the devices to use with DCL.

Example
 VM_DCL_HANDLE spi_handle;
spi_handle = vm_dcl_open(VM_DCL_SPI_PORT1, 0);
if(VM_DCL_HANDLE_INVALID != spi_handle)
{
    // To do something.
}
File

vmdcl_spi.h

Members
Members 
Description 
VM_DCL_SPI_PORT_RESERVED = VM_DCL_SPI_GROUP_START 
This is for start SPI 1 only. Do Not Use! 
VM_DCL_SPI_PORT1 
Use from SPI 1. 
Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.