Enum Osr
#[repr(u8)]pub enum Osr {
Show 30 variants
_00000 = 0,
_00011 = 3,
_00100 = 4,
_00101 = 5,
_00110 = 6,
_00111 = 7,
_01000 = 8,
_01001 = 9,
_01010 = 10,
_01011 = 11,
_01100 = 12,
_01101 = 13,
_01110 = 14,
_01111 = 15,
_10000 = 16,
_10001 = 17,
_10010 = 18,
_10011 = 19,
_10100 = 20,
_10101 = 21,
_10110 = 22,
_10111 = 23,
_11000 = 24,
_11001 = 25,
_11010 = 26,
_11011 = 27,
_11100 = 28,
_11101 = 29,
_11110 = 30,
_11111 = 31,
}Expand description
Oversampling Ratio
Value on reset: 15
Variants§
_00000 = 0
0: Writing 0 to this field will result in an oversampling ratio of 16
_00011 = 3
3: Oversampling ratio of 4, requires BOTHEDGE to be set.
_00100 = 4
4: Oversampling ratio of 5, requires BOTHEDGE to be set.
_00101 = 5
5: Oversampling ratio of 6, requires BOTHEDGE to be set.
_00110 = 6
6: Oversampling ratio of 7, requires BOTHEDGE to be set.
_00111 = 7
7: Oversampling ratio of 8.
_01000 = 8
8: Oversampling ratio of 9.
_01001 = 9
9: Oversampling ratio of 10.
_01010 = 10
10: Oversampling ratio of 11.
_01011 = 11
11: Oversampling ratio of 12.
_01100 = 12
12: Oversampling ratio of 13.
_01101 = 13
13: Oversampling ratio of 14.
_01110 = 14
14: Oversampling ratio of 15.
_01111 = 15
15: Oversampling ratio of 16.
_10000 = 16
16: Oversampling ratio of 17.
_10001 = 17
17: Oversampling ratio of 18.
_10010 = 18
18: Oversampling ratio of 19.
_10011 = 19
19: Oversampling ratio of 20.
_10100 = 20
20: Oversampling ratio of 21.
_10101 = 21
21: Oversampling ratio of 22.
_10110 = 22
22: Oversampling ratio of 23.
_10111 = 23
23: Oversampling ratio of 24.
_11000 = 24
24: Oversampling ratio of 25.
_11001 = 25
25: Oversampling ratio of 26.
_11010 = 26
26: Oversampling ratio of 27.
_11011 = 27
27: Oversampling ratio of 28.
_11100 = 28
28: Oversampling ratio of 29.
_11101 = 29
29: Oversampling ratio of 30.
_11110 = 30
30: Oversampling ratio of 31.
_11111 = 31
31: Oversampling ratio of 32.