RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Data Fields
_spdif_handle Struct Reference

SPDIF handle structure. More...

#include <fsl_spdif.h>

Data Fields

uint32_t state
 
spdif_transfer_callback_t callback
 
void * userData
 
spdif_transfer_t spdifQueue [SPDIF_XFER_QUEUE_SIZE]
 
size_t transferSize [SPDIF_XFER_QUEUE_SIZE]
 
volatile uint8_t queueUser
 
volatile uint8_t queueDriver
 
uint8_t watermark
 

Detailed Description

SPDIF handle structure.

Field Documentation

◆ callback

spdif_transfer_callback_t _spdif_handle::callback

Callback function called at transfer event

◆ queueDriver

volatile uint8_t _spdif_handle::queueDriver

Index for driver to get the transfer data and size

◆ queueUser

volatile uint8_t _spdif_handle::queueUser

Index for user to queue transfer

◆ spdifQueue

spdif_transfer_t _spdif_handle::spdifQueue[SPDIF_XFER_QUEUE_SIZE]

Transfer queue storing queued transfer

◆ state

uint32_t _spdif_handle::state

Transfer status

◆ transferSize

size_t _spdif_handle::transferSize[SPDIF_XFER_QUEUE_SIZE]

Data bytes need to transfer

◆ userData

void* _spdif_handle::userData

Callback parameter passed to callback function

◆ watermark

uint8_t _spdif_handle::watermark

Watermark value


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