MSP430 DriverLib for MSP430i2xx Devices  2.10.00.09
 All Data Structures Functions Variables Modules Pages
EUSCI_B_SPI_initSlaveParam Struct Reference

Used in the EUSCI_B_SPI_initSlave() function as the param parameter. More...

#include <eusci_b_spi.h>

Data Fields

uint16_t msbFirst
 
uint16_t clockPhase
 
uint16_t clockPolarity
 
uint16_t spiMode
 

Detailed Description

Used in the EUSCI_B_SPI_initSlave() function as the param parameter.

Field Documentation

uint16_t EUSCI_B_SPI_initSlaveParam::clockPhase

Is clock phase select.
Valid values are:

  • EUSCI_B_SPI_PHASE_DATA_CHANGED_ONFIRST_CAPTURED_ON_NEXT [Default]
  • EUSCI_B_SPI_PHASE_DATA_CAPTURED_ONFIRST_CHANGED_ON_NEXT

Referenced by EUSCI_B_SPI_initSlave().

uint16_t EUSCI_B_SPI_initSlaveParam::clockPolarity

Is clock polarity select
Valid values are:

  • EUSCI_B_SPI_CLOCKPOLARITY_INACTIVITY_HIGH
  • EUSCI_B_SPI_CLOCKPOLARITY_INACTIVITY_LOW [Default]

Referenced by EUSCI_B_SPI_initSlave().

uint16_t EUSCI_B_SPI_initSlaveParam::msbFirst

Controls the direction of the receive and transmit shift register.
Valid values are:

  • EUSCI_B_SPI_MSB_FIRST
  • EUSCI_B_SPI_LSB_FIRST [Default]

Referenced by EUSCI_B_SPI_initSlave().

uint16_t EUSCI_B_SPI_initSlaveParam::spiMode

Is SPI mode select
Valid values are:

  • EUSCI_B_SPI_3PIN
  • EUSCI_B_SPI_4PIN_UCxSTE_ACTIVE_HIGH
  • EUSCI_B_SPI_4PIN_UCxSTE_ACTIVE_LOW

Referenced by EUSCI_B_SPI_initSlave().


The documentation for this struct was generated from the following file:

Copyright 2015, Texas Instruments Incorporated