amiro-blt / Target / Modules / LightRing_1-0 / Boot / iodef.h @ 15d336cf
History | View | Annotate | Download (2.26 KB)
1 |
#ifndef IODEF_H
|
---|---|
2 |
#define IODEF_H
|
3 |
|
4 |
#include "stm32f10x.h" |
5 |
#include "stm32f10x_conf.h" |
6 |
|
7 |
#define PSEUDO_LED_GPIO GPIOA
|
8 |
#define PSEUDO_LED_PIN GPIO_Pin_1
|
9 |
#define LASER_RX_GPIO GPIOA
|
10 |
#define LASER_RX_PIN GPIO_Pin_2
|
11 |
#define LASER_TX_GPIO GPIOA
|
12 |
#define LASER_TX_PIN GPIO_Pin_3
|
13 |
#define LIGHT_BLANK_GPIO GPIOA
|
14 |
#define LIGHT_BLANK_PIN GPIO_Pin_4
|
15 |
#define LIGHT_SCLK_GPIO GPIOA
|
16 |
#define LIGHT_SCLK_PIN GPIO_Pin_5
|
17 |
#define LIGHT_MOSI_GPIO GPIOA
|
18 |
#define LIGHT_MOSI_PIN GPIO_Pin_7
|
19 |
#define PROG_RX_GPIO GPIOA
|
20 |
#define PROG_RX_PIN GPIO_Pin_9
|
21 |
#define PROG_TX_GPIO GPIOA
|
22 |
#define PROG_TX_PIN GPIO_Pin_10
|
23 |
#define CAN_RX_GPIO GPIOA
|
24 |
#define CAN_RX_PIN GPIO_Pin_11
|
25 |
#define CAN_TX_GPIO GPIOA
|
26 |
#define CAN_TX_PIN GPIO_Pin_12
|
27 |
#define SWDIO_GPIO GPIOA
|
28 |
#define SWDIO_PIN GPIO_Pin_13
|
29 |
#define SWCLK_GPIO GPIOA
|
30 |
#define SWCLK_PIN GPIO_Pin_14
|
31 |
|
32 |
#define LASER_EN_GPIO GPIOB
|
33 |
#define LASER_EN_PIN GPIO_Pin_2
|
34 |
#define LASER_OC_N_GPIO GPIOB
|
35 |
#define LASER_OC_N_PIN GPIO_Pin_5
|
36 |
#define SYS_UART_DN_GPIO GPIOB
|
37 |
#define SYS_UART_DN_PIN GPIO_Pin_6
|
38 |
#define WL_GDO2_GPIO GPIOB
|
39 |
#define WL_GDO2_PIN GPIO_Pin_8
|
40 |
#define WL_GDO0_GPIO GPIOB
|
41 |
#define WL_GDO0_PIN GPIO_Pin_9
|
42 |
#define MEM_SCL_GPIO GPIOB
|
43 |
#define MEM_SCL_PIN GPIO_Pin_10
|
44 |
#define MEM_SDA_GPIO GPIOB
|
45 |
#define MEM_SDA_PIN GPIO_Pin_11
|
46 |
#define WL_SS_N_GPIO GPIOB
|
47 |
#define WL_SS_N_PIN GPIO_Pin_12
|
48 |
#define WL_SCLK_GPIO GPIOB
|
49 |
#define WL_SCLK_PIN GPIO_Pin_13
|
50 |
#define WL_MISO_GPIO GPIOB
|
51 |
#define WL_MISO_PIN GPIO_Pin_14
|
52 |
#define WL_MOSI_GPIO GPIOB
|
53 |
#define WL_MOSI_PIN GPIO_Pin_15
|
54 |
|
55 |
#define LIGHT_XLAT_GPIO GPIOC
|
56 |
#define LIGHT_XLAT_PIN GPIO_Pin_4
|
57 |
#define SYS_UART_RX_GPIO GPIOC
|
58 |
#define SYS_UART_RX_PIN GPIO_Pin_10
|
59 |
#define SYS_UART_TX_GPIO GPIOC
|
60 |
#define SYS_UART_TX_PIN GPIO_Pin_11
|
61 |
#define SYS_PD_N_GPIO GPIOC
|
62 |
#define SYS_PD_N_PIN GPIO_Pin_14
|
63 |
|
64 |
#define OSC_IN_GPIO GPIOD
|
65 |
#define OSC_IN_PIN GPIO_Pin_0
|
66 |
#define OSC_OUT_GPIO GPIOD
|
67 |
#define OSC_OUT_PIN GPIO_Pin_1
|
68 |
#define SYS_SYNC_N_GPIO GPIOD
|
69 |
#define SYS_SYNC_N_PIN GPIO_Pin_2
|
70 |
|
71 |
#endif /* IODEF_H */ |