File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 31
31
| SPI | P9_0 | P9_1 | MOSI and MISO shorted |
32
32
| | P9_2 | NC | SCLK to SCLK |
33
33
| | | | |
34
- | ADC | P10.0 | VDDA 3.3V | A0 connected to VDDA 3.3V |
34
+ | Analog IO ADC | P10.0 | VDDA 3.3V | A0 connected to VDDA 3.3V |
35
35
| | P10.1 | VoltageDivider | A1 connected to Voltage |
36
36
| | | | divider circuit as below: |
37
37
| | | | |
45
45
| | | | | |
46
46
| | | | GND (0V) |
47
47
| | | | |
48
+ | Analog IO PWM | P9.6 | P9.7 | IO6 (PWM feedback) to |
49
+ | | | | IO7 (PWM Output) |
50
+ | | | | |
Original file line number Diff line number Diff line change 13
13
#include <stdint.h>
14
14
15
15
// Test Pin Definitions
16
- #define TEST_DIGITALIO_OUTPUT 7 // IO_4
17
- #define TEST_DIGITALIO_INPUT 6 // IO_3
18
16
19
- #define TEST_SYNC_INPUT_OUTPUT 4 // IO_1
17
+ #define TEST_PIN_DIGITAL_IO_OUTPUT 7 // IO_4
18
+ #define TEST_PIN_DIGITAL_IO_INPUT 6 // IO_3
20
19
21
- #define TEST_SPI_SLAVE_SELECT 3 // IO_0
20
+ #define TEST_PIN_SYNC_IO 4 // IO_1
22
21
23
- #define TEST_ANALOG_IO_VREF A0 // Pin connected to VREF
24
- #define TEST_ANALOG_IO_DIVIDER A1 // Pin connected to voltage divider
22
+ #define TEST_PIN_SPI_SSEL 3 // IO_0
25
23
26
- #define VDDA 3.3f // Assume VDDA is 3.3V
27
- #define RESOLUTION 2048 // 11-bit resolution
24
+ #define TEST_PIN_ANALOG_IO_VREF A0 // Pin connected to VREF
25
+ #define TEST_PIN_ANALOG_IO_DIVIDER A1 // Pin connected to voltage divider
26
+
27
+ #define TEST_ADC_RESOLUTION 2048 // 11-bit resolution
28
28
29
29
#endif // TEST_CONFIG_H
You can’t perform that action at this time.
0 commit comments