# Mcbsp_TempBuffer_t Struct Reference

Loop job buffer structure. This structure defines the format of the Loop job buffer. More...

`#include <mcbsp_drv.h>`

## Data Fields

Uint8 | scratchBuf [(4u)+MCBSP_CACHE_LENGTH]
uint32_t * | scratchBuffer

## Detailed Description

Loop job buffer structure. This structure defines the format of the Loop job buffer.

Note:
  Loop job buffer is a buffer used by the mcbsp in edma mode. The Mcbsp uses this buffer when no iobufs are present and the mcbsp is also not stopped. In this condition the Mcbsp utilises the loop job buffer to transmit a known pattern of data from the loopjob buffer or receives the data in to a loop job buffer

## Field Documentation

Uint8 Mcbsp_TempBuffer_t::scratchBuf[(4u)+MCBSP_CACHE_LENGTH]

This buffer will be aligned and also the same buffer will be used for all slots and also only 4 bytes are required because the max wordwidth is 4 and the cache length is used for buffer alignment

uint32_t* Mcbsp_TempBuffer_t::scratchBuffer

Pointer to hold the aligned buffer

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

- mcbsp_drv.h

Copyright 2012, Texas Instruments Incorporated