47.6.4 Sample Frequency Measurement
The SPDIFRX performs a measurement of the width of the bi-mark code pulses and reports the value in SPDIFRX_RSR.IFS. When the receiver is synchronized (SPDIFRX_RSR.ULOCK=0), the value of the field IFS corresponds to the number of GCLK periods measured for a period of 2 bits (source coding). This value can be used to determine the sampling frequency carried on the SPDIF_RX line (see SPDIFRX_RSR).