File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 8
8
extern "C" {
9
9
#endif
10
10
11
+ // Alternative possibilities which use other HW peripheral instances
12
+ #define ALT0 0x000
13
+ #define ALT1 0x100
14
+ #define ALT2 0x200
15
+ #define ALT3 0x300
16
+ #define ALT4 0x400
17
+ #define ALT5 0x500
18
+ #define ALT6 0x600
19
+ #define ALT7 0x700
20
+
21
+ // Specific pins
22
+ // Dual pad pin
23
+ // Direct channels are connected to analog I/Os
24
+ // (PY_C) to optimize ADC performance.
25
+ #define PDUAL 0x2000
26
+ // Remap pin
27
+ #define PREMAP 0x3000
28
+ // PinName mask
29
+ #define PNAME_MASK 0xFF
30
+
11
31
typedef enum {
12
32
// Not connected
13
33
NC = (int )0xFFFFFFFF ,
Original file line number Diff line number Diff line change @@ -726,6 +726,17 @@ PADC_TEMP LITERAL1
726
726
PADC_VREF LITERAL1
727
727
PADC_VBAT LITERAL1
728
728
729
+ ALT0 LITERAL1
730
+ ALT1 LITERAL1
731
+ ALT2 LITERAL1
732
+ ALT3 LITERAL1
733
+ ALT4 LITERAL1
734
+ ALT5 LITERAL1
735
+ ALT6 LITERAL1
736
+ ALT7 LITERAL1
737
+ PDUAL LITERAL1
738
+ PREMAP LITERAL1
739
+
729
740
# Port Name
730
741
PortName KEYWORD3
731
742
FirstPort
You can’t perform that action at this time.
0 commit comments