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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
///Register `SITF0CR` reader
pub type R = crateR;
///Register `SITF0CR` writer
pub type W = crateW;
///Field `SITFEN` reader - Serial interface enable This bit is set and cleared by software. It is used to enable/disable the serial interface.
pub type SITFEN_R = crateBitReader;
///Field `SITFEN` writer - Serial interface enable This bit is set and cleared by software. It is used to enable/disable the serial interface.
pub type SITFEN_W<'a, REG> = crateBitWriter;
///Field `SCKSRC` reader - Serial clock source This field is set and cleared by software. It is used to select the clock source of the serial interface. others: reserved Note: This field can be write-protected (see Section 46.4.13: Register protection for details).
pub type SCKSRC_R = crateFieldReader;
///Field `SCKSRC` writer - Serial clock source This field is set and cleared by software. It is used to select the clock source of the serial interface. others: reserved Note: This field can be write-protected (see Section 46.4.13: Register protection for details).
pub type SCKSRC_W<'a, REG> = crateFieldWriter;
///Field `SITFMOD` reader - Serial interface type This field is set and cleared by software. It is used to define the serial interface type. Note: This field can be write-protected (see Section 46.4.13: Register protection for details).
pub type SITFMOD_R = crateFieldReader;
///Field `SITFMOD` writer - Serial interface type This field is set and cleared by software. It is used to define the serial interface type. Note: This field can be write-protected (see Section 46.4.13: Register protection for details).
pub type SITFMOD_W<'a, REG> = crateFieldWriter;
///Field `STH` reader - Manchester symbol threshold/SPI threshold This field is set and cleared by software. It is used for Manchester mode to define the expected symbol threshold levels (seer to Manchester mode for details on computation). In addition this field is used to define the timeout value for the clock absence detection in Normal SPI mode. STH\[4:0\] values lower than four are invalid. Note: This field can be write-protected (see Section 46.4.13: Register protection for details).
pub type STH_R = crateFieldReader;
///Field `STH` writer - Manchester symbol threshold/SPI threshold This field is set and cleared by software. It is used for Manchester mode to define the expected symbol threshold levels (seer to Manchester mode for details on computation). In addition this field is used to define the timeout value for the clock absence detection in Normal SPI mode. STH\[4:0\] values lower than four are invalid. Note: This field can be write-protected (see Section 46.4.13: Register protection for details).
pub type STH_W<'a, REG> = crateFieldWriter;
///Field `SITFACTIVE` reader - Serial interface active flag This bit is set and cleared by hardware. It is used by the application to check if the serial interface is effectively enabled (active) or not. The protected fields of this function can only be updated when SITFACTIVE is set to 0 (see Section 46.4.13: Register protection for details). The delay between a transition on SITFEN and a transition on SITFACTIVE is two periods of AHB clock and two periods of adf_proc_ck.
pub type SITFACTIVE_R = crateBitReader;
/**ADF serial interface control register 0
You can [`read`](crate::Reg::read) this register and get [`sitf0cr::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sitf0cr::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).*/
;
///`read()` method returns [`sitf0cr::R`](R) reader structure
///`write(|w| ..)` method takes [`sitf0cr::W`](W) writer structure
///`reset()` method sets SITF0CR to value 0x1f00