AM261x MCU+ SDK: MCSPI_Object Struct Reference

| AM261x MCU+ SDK 26.00.00 |

Data Fields
MCSPI_Object Struct Reference
APIs for SOC Specific Device Drivers » APIs for MCSPI

## Detailed Description

MCSPI driver object.

## Data Fields
MCSPI_Handle | handle
MCSPI_OpenParams | openPrms
uint32_t | baseAddr
MCSPI_ChObject | chObj [MCSPI_MAX_NUM_CHANNELS]
uint32_t | isOpen
void * | transferSem
SemaphoreP_Object | transferSemObj
void * | hwiHandle
HwiP_Object | hwiObj
MCSPI_Transaction * | transaction
void * | mcspiDmaHandle
MCSPILLD_Object | mcspiLldObject
MCSPILLD_Handle | mcspiLldHandle
MCSPILLD_InitObject | mcspiLldInitObj

## Field Documentation

## ◆ handle

MCSPI_Handle MCSPI_Object::handle

Instance handle to which this object belongs

## ◆ openPrms

MCSPI_OpenParams MCSPI_Object::openPrms

Open parameter as provided by user

## ◆ baseAddr

uint32_t MCSPI_Object::baseAddr

Peripheral base address - CPU view

## ◆ chObj

MCSPI_ChObject MCSPI_Object::chObj[MCSPI_MAX_NUM_CHANNELS]

Channel object

## ◆ isOpen

uint32_t MCSPI_Object::isOpen

Flag to indicate whether the instance is opened already

## ◆ transferSem

void* MCSPI_Object::transferSem

Transfer Sync Sempahore - to sync between transfer completion ISR and task

## ◆ transferSemObj

SemaphoreP_Object MCSPI_Object::transferSemObj

Transfer Sync Sempahore object

## ◆ hwiHandle

void* MCSPI_Object::hwiHandle

Interrupt handle for controller ISR

## ◆ hwiObj

HwiP_Object MCSPI_Object::hwiObj

Interrupt object

## ◆ transaction

MCSPI_Transaction* MCSPI_Object::transaction

Pointer to transaction

## ◆ mcspiDmaHandle

void* MCSPI_Object::mcspiDmaHandle

DMA Handle

## ◆ mcspiLldObject

MCSPILLD_Object MCSPI_Object::mcspiLldObject

## ◆ mcspiLldHandle

MCSPILLD_Handle MCSPI_Object::mcspiLldHandle

## ◆ mcspiLldInitObj

MCSPILLD_InitObject MCSPI_Object::mcspiLldInitObj