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

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

#include <eusci_a_spi.h>

Data Fields

uint16_t msbFirst
 
uint16_t clockPhase
 
uint16_t clockPolarity
 
uint16_t spiMode
 

Detailed Description

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

Field Documentation

uint16_t EUSCI_A_SPI_initSlaveParam::clockPhase

Is clock phase select.
Valid values are:

  • EUSCI_A_SPI_PHASE_DATA_CHANGED_ONFIRST_CAPTURED_ON_NEXT [Default]
  • EUSCI_A_SPI_PHASE_DATA_CAPTURED_ONFIRST_CHANGED_ON_NEXT

Referenced by EUSCI_A_SPI_initSlave().

uint16_t EUSCI_A_SPI_initSlaveParam::clockPolarity

Is clock polarity select
Valid values are:

  • EUSCI_A_SPI_CLOCKPOLARITY_INACTIVITY_HIGH
  • EUSCI_A_SPI_CLOCKPOLARITY_INACTIVITY_LOW [Default]

Referenced by EUSCI_A_SPI_initSlave().

uint16_t EUSCI_A_SPI_initSlaveParam::msbFirst

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

  • EUSCI_A_SPI_MSB_FIRST
  • EUSCI_A_SPI_LSB_FIRST [Default]

Referenced by EUSCI_A_SPI_initSlave().

uint16_t EUSCI_A_SPI_initSlaveParam::spiMode

Is SPI mode select
Valid values are:

  • EUSCI_A_SPI_3PIN
  • EUSCI_A_SPI_4PIN_UCxSTE_ACTIVE_HIGH
  • EUSCI_A_SPI_4PIN_UCxSTE_ACTIVE_LOW

Referenced by EUSCI_A_SPI_initSlave().


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

Copyright 2015, Texas Instruments Incorporated