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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
///Register `DFLT0CR` reader
pub type R = crateR;
///Register `DFLT0CR` writer
pub type W = crateW;
///Field `DFLTEN` writer - DFLT0 enable This bit is set and cleared by software. It is used to control the start of acquisition of the DFLT0 path. This bit behavior depends on ACQMOD\[2:0\] and external events. The serial or parallel interface delivering the samples must be enabled as well.
pub type DFLTEN_W<'a, REG> = crateBitWriter;
///Field `DMAEN` reader - DMA requests enable This bit is set and cleared by software. It is used to control the generation of DMA request to transfer the processed samples into the memory. Note: This bit can be write-protected (see Section 46.4.13: Register protection for details).
pub type DMAEN_R = crateBitReader;
///Field `DMAEN` writer - DMA requests enable This bit is set and cleared by software. It is used to control the generation of DMA request to transfer the processed samples into the memory. Note: This bit can be write-protected (see Section 46.4.13: Register protection for details).
pub type DMAEN_W<'a, REG> = crateBitWriter;
///Field `FTH` reader - RXFIFO threshold selection This bit is set and cleared by software. It is used to select the RXFIFO threshold. Note: This bit can be write-protected (see Section 46.4.13: Register protection for details).
pub type FTH_R = crateBitReader;
///Field `FTH` writer - RXFIFO threshold selection This bit is set and cleared by software. It is used to select the RXFIFO threshold. Note: This bit can be write-protected (see Section 46.4.13: Register protection for details).
pub type FTH_W<'a, REG> = crateBitWriter;
///Field `ACQMOD` reader - DFLT0 trigger mode This field is set and cleared by software. It is used to select the filter trigger mode. others: same as 000 Note: This field can be write-protected (see Section 46.4.13: Register protection for details)..
pub type ACQMOD_R = crateFieldReader;
///Field `ACQMOD` writer - DFLT0 trigger mode This field is set and cleared by software. It is used to select the filter trigger mode. others: same as 000 Note: This field can be write-protected (see Section 46.4.13: Register protection for details)..
pub type ACQMOD_W<'a, REG> = crateFieldWriter;
///Field `TRGSENS` reader - DFLT0 trigger sensitivity selection This field is set and cleared by software. It is used to select the trigger sensitivity of the external signals When the trigger source is TRGO, TRGSENS value is not taken into account. When TRGO is selected, the sensitivity is forced to falling edge. Note: This bit can be write-protected (see Section 46.4.13: Register protection for details).
pub type TRGSENS_R = crateBitReader;
///Field `TRGSENS` writer - DFLT0 trigger sensitivity selection This field is set and cleared by software. It is used to select the trigger sensitivity of the external signals When the trigger source is TRGO, TRGSENS value is not taken into account. When TRGO is selected, the sensitivity is forced to falling edge. Note: This bit can be write-protected (see Section 46.4.13: Register protection for details).
pub type TRGSENS_W<'a, REG> = crateBitWriter;
///Field `TRGSRC` reader - DFLT0 trigger signal selection This field is set and cleared by software. It is used to select which external signals trigger DFLT0. others: Reserved Note: This field can be write-protected (see Section 46.4.13: Register protection for details).
pub type TRGSRC_R = crateFieldReader;
///Field `TRGSRC` writer - DFLT0 trigger signal selection This field is set and cleared by software. It is used to select which external signals trigger DFLT0. others: Reserved Note: This field can be write-protected (see Section 46.4.13: Register protection for details).
pub type TRGSRC_W<'a, REG> = crateFieldWriter;
///Field `NBDIS` reader - Number of samples to be discarded This field is set and cleared by software. It is used to define the number of samples to be discarded every time DFLT0 is re-started. ... Note: This field can be write-protected (see Section 46.4.13: Register protection for details).
pub type NBDIS_R = crateFieldReader;
///Field `NBDIS` writer - Number of samples to be discarded This field is set and cleared by software. It is used to define the number of samples to be discarded every time DFLT0 is re-started. ... Note: This field can be write-protected (see Section 46.4.13: Register protection for details).
pub type NBDIS_W<'a, REG> = crateFieldWriter;
///Field `DFLTRUN` reader - DFLT0 run status flag This bit is set and cleared by hardware. It indicates if DFLT0 is running or not.
pub type DFLTRUN_R = crateBitReader;
///Field `DFLTACTIVE` reader - DFLT0 active flag This bit is set and cleared by hardware. It indicates if DFLT0 is active: can be running or waiting for events.
pub type DFLTACTIVE_R = crateBitReader;
/**ADF digital filter control register 0
You can [`read`](crate::Reg::read) this register and get [`dflt0cr::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`dflt0cr::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).*/
;
///`read()` method returns [`dflt0cr::R`](R) reader structure
///`write(|w| ..)` method takes [`dflt0cr::W`](W) writer structure
///`reset()` method sets DFLT0CR to value 0