## Phidget Data Adapter.lvlib:DataAdapterGetSPIMode.vi

Configures SCLK polarity and phase.

| Device In Device # Identification

| error in (no error) error in can accept error information wired from VIs previously called.

| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| code code is the error or warning code. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| source source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| Device Out Same as Device In

| error out error out passes error or warning information out of a VI to be used by other VIs.

| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error out control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| code code is the error or warning code. Right-click the error out control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| source source describes the origin of the error or warning. Right-click the error out control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| SPIMode The SPI mode.
Enumeration Values
Name | Value | Supported Devices
--- | --- | ---
ADP0002_0 v100 | ADP0002_0 v100
SPI_MODE_0 | 1 | ✓ | ✓
SPI_MODE_1 | 2 | ✓ | ✓
SPI_MODE_2 | 3 | ✓ | ✓
SPI_MODE_3 | 4 | ✓ | ✓
ADP0002_0 (ver: 100) Data Adapter: Default: SPI_MODE_0 ADP0002_0 (ver: 100) Data Adapter: Default: SPI_MODE_0