1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
///Register `DIR` reader
pub type R = crateR;
///Field `THI` reader - threshold HIGH (THI = 2.5 x UI / T<sub>spdifrx_ker_ck</sub>) This field contains the current threshold HIGH estimation. This value can be used to estimate the sampling rate of the received stream. The accuracy of THI is limited to a period of the spdifrx_ker_ck. The sampling rate can be estimated as follow: Sampling Rate = \[2 x THI x T<sub>spdifrx_ker_ck </sub>+/- T<sub>spdifrx_ker_ck</sub>\] x 2/5 Note that THI is updated by the hardware when SYNCD goes high, and then every frame.
pub type THI_R = crateFieldReader;
///Field `TLO` reader - threshold LOW (TLO = 1.5 x UI / T<sub>spdifrx_ker_ck</sub>) This field contains the current threshold LOW estimation. This value can be used to estimate the sampling rate of the received stream. The accuracy of TLO is limited to a period of the spdifrx_ker_ck. The sampling rate can be estimated as follow: Sampling Rate = \[2 x TLO x T<sub>spdifrx_ker_ck </sub>+/- T<sub>spdifrx_ker_ck</sub>\] x 2/3 Note that TLO is updated by the hardware when SYNCD goes high, and then every frame.
pub type TLO_R = crateFieldReader;
/**SPDIFRX debug information register
You can [`read`](crate::Reg::read) this register and get [`dir::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).*/
;
///`read()` method returns [`dir::R`](R) reader structure
///`reset()` method sets DIR to value 0