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
///Register `PSC` reader
pub type R = crate R;
///Register `PSC` writer
pub type W = crate W;
///Field `PSC` reader - Prescaler value The counter clock frequency (CK_CNT) is equal to fCK_PSC / (PSC\[15:0\] + 1). PSC contains the value to be loaded in the active prescaler register at each update event (including when the counter is cleared through UG bit of TIMx_EGR register or through trigger controller when configured in 'reset mode').
pub type PSC_R = crate FieldReader;
///Field `PSC` writer - Prescaler value The counter clock frequency (CK_CNT) is equal to fCK_PSC / (PSC\[15:0\] + 1). PSC contains the value to be loaded in the active prescaler register at each update event (including when the counter is cleared through UG bit of TIMx_EGR register or through trigger controller when configured in 'reset mode').
pub type PSC_W<'a, REG> = crate FieldWriter;
/**prescaler
You can [`read`](crate::Reg::read) this register and get [`psc::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`psc::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/STM32G061.html#TIM1:PSC)*/
;
///`read()` method returns [`psc::R`](R) reader structure
///`write(|w| ..)` method takes [`psc::W`](W) writer structure
///`reset()` method sets PSC to value 0