DL_SPI_backupConfig

Module: Driverlib (AM13E232X) APIs / Driverlib SPI API

Configuration structure to backup SPI peripheral state before going to STOP/STANDBY mode. Not required after PG 1.0 silicon. Used by DL_SPI_saveConfiguration and DL_SPI_restoreConfiguration.

#include <dl_unicommspi.h>

Public Attributes

Name

uint32_t

controlWord0

uint32_t

controlWord1

uint32_t

clockControl

uint32_t

clockSel

uint32_t

divideRatio

uint32_t

interruptFifoLevelSelectWord

uint32_t

interruptMask0

uint32_t

interruptMask1

uint32_t

interruptMask2

bool

backupRdy

Public Attributes Documentation

variable controlWord0

uint32_t controlWord0;

Combination of basic SPI control configurations that are compressed to a single word as they are stored in the SPI registers See DL_SPI_init for how the peripheral control word 0 is created.

variable controlWord1

uint32_t controlWord1;

Combination of basic SPI control configurations that are compressed to a single word as they are stored in the SPI registers. See DL_SPI_init for how the peripheral control word 1 is created.

variable clockControl

uint32_t clockControl;

Combination of serial clock divider and delayed sampling settings compressed to a single word as they are stored in the SPI registers.

variable clockSel

uint32_t clockSel;

SPI module clock source. One of DL_SPI_CLOCK

variable divideRatio

uint32_t divideRatio;

SPI clock divider. One of DL_SPI_CLOCK_DIVIDE_RATIO

variable interruptFifoLevelSelectWord

uint32_t interruptFifoLevelSelectWord;

Combination of SPI interrupt FIFO level select configurations that are compressed to a single word as they are stored in the SPI registers.

variable interruptMask0

uint32_t interruptMask0;

SPI interrupt status for EVENT0. Bitwise OR of [DL_SPI_INTERRUPT]

variable interruptMask1

uint32_t interruptMask1;

SPI interrupt status for EVENT1. Bitwise OR of [DL_SPI_DMA_INTERRUPT_RX]

variable interruptMask2

uint32_t interruptMask2;

SPI interrupt status for EVENT2. Bitwise OR of DL_SPI_DMA_INTERRUPT_TX

variable backupRdy

bool backupRdy;

Boolean flag indicating whether or not a valid configuration structure exists. Should not be modified by the user.