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
///Register `SHSR%s` reader
pub type R = crateR;
///Register `SHSR%s` writer
pub type W = crateW;
///Field `TSAMPLE` reader - DAC channel1 sample time (only valid in Sample and hold mode) These bits can be written when the DAC channel1 is disabled or also during normal operation. in the latter case, the write can be done only when BWST1 of DAC_SR register is low, If BWST1=1, the write operation is ignored.
pub type TSAMPLE_R = crateFieldReader;
///Field `TSAMPLE` writer - DAC channel1 sample time (only valid in Sample and hold mode) These bits can be written when the DAC channel1 is disabled or also during normal operation. in the latter case, the write can be done only when BWST1 of DAC_SR register is low, If BWST1=1, the write operation is ignored.
pub type TSAMPLE_W<'a, REG> = crateFieldWriter;
/**DAC channel%s sample and hold sample time register
You can [`read`](crate::Reg::read) this register and get [`shsr::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`shsr::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0B1.html#DAC:SHSR[1])*/
;
///`read()` method returns [`shsr::R`](R) reader structure
///`write(|w| ..)` method takes [`shsr::W`](W) writer structure
///`reset()` method sets SHSR%s to value 0