spdif: xspdif_chsts.h File Reference

| spdif Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List

Functions
xspdif_chsts.h File Reference

## Macros
AES Status and Register Masks and Shifts
For formats/line protocols check the AES Standard specifications document
#define | XSPDIF_AES_STS_USE_OF_CH_STS_BLK_SHIFT (0)
| Use of Channel Status Block bit shift. More...
#define | XSPDIF_AES_STS_USE_OF_CH_STS_BLK_MASK (1 << XSPDIF_AES_STS_USE_OF_CH_STS_BLK_SHIFT)
| Use of Channel Status Block mask. More...
#define | XSPDIF_AES_STS_LINEAR_PCM_ID_SHIFT (1)
| Linear PCM Identification bit shift. More...
#define | XSPDIF_AES_STS_LINEAR_PCM_ID_MASK (1 << XSPDIF_AES_STS_LINEAR_PCM_ID_SHIFT)
| Linear PCM Identification mask. More...
#define | XSPDIF_AES_STS_AUDIO_SIG_PRE_EMPH_SHIFT (2)
| Audio signal pre- emphasis bit shift. More...
#define | XSPDIF_AES_STS_AUDIO_SIG_PRE_EMPH_MASK (0x7 << XSPDIF_AES_STS_AUDIO_SIG_PRE_EMPH_SHIFT)
| Audio signal pre-emphasis mask. More...
#define | XSPDIF_AES_STS_LOCK_INDICATION_SHIFT (5)
| lock indication bit shift More...
#define | XSPDIF_AES_STS_LOCK_INDICATION_MASK (1 << XSPDIF_AES_STS_LOCK_INDICATION_SHIFT)
| Lock indication mask. More...
#define | XSPDIF_AES_STS_SAMPLING_FREQ_E_SHIFT (6)
| Sampling Frequency 0 bit shift. More...
#define | XSPDIF_AES_STS_SAMPLING_FREQ_E_MASK (0x3 << XSPDIF_AES_STS_SAMPLING_FREQ_E_SHIFT)
| Sampling Frequency 0 mask. More...
#define | XSPDIF_AES_STS_CH_MODE_SHIFT (0)
| Channel mode bit shift. More...
#define | XSPDIF_AES_STS_CH_MODE_MASK (0xF << XSPDIF_AES_STS_CH_MODE_SHIFT)
| Channel mode mask. More...
#define | XSPDIF_AES_STS_USR_BITS_MGMT_SHIFT (4)
| User Bits Management bit shift. More...
#define | XSPDIF_AES_STS_USR_BITS_MGMT_MASK (0xF << XSPDIF_AES_STS_USR_BITS_MGMT_SHIFT)
| User Bits Management mask. More...
#define | XSPDIF_AES_STS_USEOF_AUX_SMPL_BITS_SHIFT (0)
| Use of auxiliary sample bits bit shift. More...
#define | XSPDIF_AES_STS_USEOF_AUX_SMPL_BITS_MASK (0x7 << XSPDIF_AES_STS_USEOF_AUX_SMPL_BITS_SHIFT)
| Use of Auxiliary sample bits mask. More...
#define | XSPDIF_AES_STS_SRC_WORD_LENGTH_SHIFT (3)
| Source word length bit shift. More...
#define | XSPDIF_AES_STS_SRC_WORD_LENGTH_MASK (0x7 << XSPDIF_AES_STS_SRC_WORD_LENGTH_SHIFT)
| Source word length mask. More...
#define | XSPDIF_AES_STS_INDICATE_ALIGN_LEVEL_SHIFT (6)
| Indication of Alignment level bit shift. More...
#define | XSPDIF_AES_STS_INDICATE_ALIGN_LEVEL_MASK (0x3 << XSPDIF_AES_STS_INDICATE_ALIGN_LEVEL_SHIFT)
| Indication of Alignment level mask. More...
#define | XSPDIF_AES_STS_CH_NUM0_SHIFT (0)
| Channel Number (0) bit shift. More...
#define | XSPDIF_AES_STS_CH_NUM0_MASK (0x7F << XSPDIF_AES_STS_CH_NUM0_SHIFT)
| Channel Number (0) mask. More...
#define | XSPDIF_AES_STS_MC_CH_MODE_SHIFT (7)
| Multichannel mode bit shift. More...
#define | XSPDIF_AES_STS_MC_CH_MODE_MASK (1 << XSPDIF_AES_STS_MC_CH_MODE_SHIFT)
| Multichannel mode mask. More...
#define | XSPDIF_AES_STS_CH_NUM1_SHIFT (0)
| Channel Number (1) bit shift. More...
#define | XSPDIF_AES_STS_CH_NUM1_MASK (0xF << XSPDIF_AES_STS_CH_NUM1_SHIFT)
| Channel Number (1) mask. More...
#define | XSPDIF_AES_STS_MC_CH_MODE_NUM_SHIFT (4)
| Multichannel mode number bit shift. More...
#define | XSPDIF_AES_STS_MC_CH_MODE_NUM_MASK (0x7 << XSPDIF_AES_STS_MC_CH_MODE_NUM_SHIFT)
| Multichannel mode number mask. More...
#define | XSPDIF_AES_STS_DIGITAL_AUDIO_REF_SIG_SHIFT (0)
| Digital Reference Audio signal bit shift. More...
#define | XSPDIF_AES_STS_DIGITAL_AUDIO_REF_SIG_MASK (0x3 << XSPDIF_AES_STS_DIGITAL_AUDIO_REF_SIG_SHIFT)
| Digital Reference Audio signal mask. More...
#define | XSPDIF_AES_STS_RSVD_BUT_UNDEF0_SHIFT (2)
| Reserved but undefined (0) bit shift. More...
#define | XSPDIF_AES_STS_RSVD_BUT_UNDEF0_MASK (1 << XSPDIF_AES_STS_RSVD_BUT_UNDEF0_SHIFT)
| Reserved but undefined (0) mask. More...
#define | XSPDIF_AES_STS_SAMPLING_FREQ_Q_SHIFT (3)
| Sampling Frequency (1) bit shift. More...
#define | XSPDIF_AES_STS_SAMPLING_FREQ_Q_MASK (0xF << XSPDIF_AES_STS_SAMPLING_FREQ_Q_SHIFT)
| Sampling Frequency (1) mask. More...
#define | XSPDIF_AES_STS_SAMPLING_FREQ_SCALE_FLAG_SHIFT (7)
| Sampling Frequency scaling flag bit shift. More...
#define | XSPDIF_AES_STS_SAMPLING_FREQ_SCALE_FLAG_MASK (1 << XSPDIF_AES_STS_SAMPLING_FREQ_SCALE_FLAG_SHIFT)
| Sampling Frequency scaling flag mask. More...
#define | XSPDIF_AES_STS_RSVD_BUT_UNDEF1_SHIFT (0)
| Reserved but undefined (1) bit shift. More...
#define | XSPDIF_AES_STS_RSVD_BUT_UNDEF1_MASK (0xFF << XSPDIF_AES_STS_RSVD_BUT_UNDEF1_SHIFT)
| Reserved but undefined (1) mask. More...
#define | XSPDIF_AES_STS_ALPHANUM_CH_ORG_DATA_OFFSET (6)
| Alphanumeric channel origin data register(s) offset. More...
#define | XSPDIF_AES_STS_ALPHANUM_CH_DEST_DATA_OFFSET (10)
| Alphanumeric channel destination data bit shift. More...
#define | XSPDIF_AES_STS_LOCAL_SAMPLE_ADDRCODE_OFFSET (14)
| Local sample address code register(s) offset. More...
#define | XSPDIF_AES_STS_TIMEOFDAY_SAMPLE_ADDRCODE_OFFSET (18)
| Time-of-day sample address code register(s) offset. More...
#define | XSPDIF_AES_STS_RELIABLE_FLAGS_OFFSET (22)
| Reliability flags bit shift. More...
#define | XSPDIF_AES_STS_CRC_CHAR_OFFSET (23)
| Cyclic redundancy check character bit shift. More...

## Functions
void | XSpdif_Decode_ChStat (u8 Spdif_SrcBuf[24])
| This function reads the array i.e. More...