proc iswithin { ADDRESS BASE LEN } { return [expr ((($ADDRESS - $BASE) > 0) && (($ADDRESS - $BASE + $LEN) > 0))] } proc memorytype { ADDRESS } { for { set chip 0 } { $chip < $N_CHIP } { incr chip } { if { iswithin $ADDRESS $FLASH($chip,BASE) $FLASH($chip,LEN) } { return "flash" } } for { set chip 0 } { $chip < $N_RAM } { incr chip } { if { iswithin $ADDRESS $RAM($chip,BASE) $RAM($chip,LEN) } { return "ram" } } } # default to 32bit reads. proc isreadable { ADDRESS } { return isreadable32 $ADDRESS } proc isreadable32 { ADDRESS } { f.h?h=master' type='application/atom+xml'/>
aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/JoyStickMouse/inc/stm32f30x_conf.h
blob: e7161056161c26e7d15eae370056213ad6ef5fa2 (plain)
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