Wen-ting Lo
/
STM32F303RE_LPG
Basic
LPG_Config.h@1:347333bac1fb, 2019-04-22 (annotated)
- Committer:
- lwtroach
- Date:
- Mon Apr 22 08:03:49 2019 +0000
- Revision:
- 1:347333bac1fb
- Parent:
- 0:6bdfb6ccd136
- Child:
- 2:e90526c0bcbe
compile OK
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lwtroach | 0:6bdfb6ccd136 | 1 | #ifndef _LPG_CONFIG_ |
lwtroach | 1:347333bac1fb | 2 | #define _LPG_CONFIG_ |
lwtroach | 1:347333bac1fb | 3 | #ifdef _WISE_1570_ |
lwtroach | 1:347333bac1fb | 4 | #define GPIO_0 PB_9 |
lwtroach | 1:347333bac1fb | 5 | #define GPIO_1 PC_7 |
lwtroach | 1:347333bac1fb | 6 | #define GPIO_2 PB_15 |
lwtroach | 1:347333bac1fb | 7 | #define GPIO_3 PB_12 |
lwtroach | 1:347333bac1fb | 8 | #define GPIO_4 PC_8 |
lwtroach | 1:347333bac1fb | 9 | #define GPIO_5 PC_13 |
lwtroach | 1:347333bac1fb | 10 | #define UART_TX PC_10 |
lwtroach | 1:347333bac1fb | 11 | #define UART_RX PC_11 |
lwtroach | 1:347333bac1fb | 12 | #define ADC_0 PA_1 |
lwtroach | 1:347333bac1fb | 13 | #define ADC_1 PC_2 |
lwtroach | 1:347333bac1fb | 14 | #define ADC_2 PC_4 |
lwtroach | 1:347333bac1fb | 15 | #define PWM_0 PB_0 |
lwtroach | 1:347333bac1fb | 16 | #define PWM_1 PB_1 |
lwtroach | 1:347333bac1fb | 17 | #define I2C1_DATA PB_11 |
lwtroach | 1:347333bac1fb | 18 | #define I2C1_DCLK PB_10 |
lwtroach | 1:347333bac1fb | 19 | #define I2C0_DATA PB_7 |
lwtroach | 1:347333bac1fb | 20 | #define I2C0_DCLK PB_6 |
lwtroach | 1:347333bac1fb | 21 | #else |
lwtroach | 1:347333bac1fb | 22 | #define LED_1 PC_0 |
lwtroach | 1:347333bac1fb | 23 | #define LED_2 PC_1 |
lwtroach | 1:347333bac1fb | 24 | #define LED_3 PC_2 |
lwtroach | 1:347333bac1fb | 25 | #define UART_TX PC_10 |
lwtroach | 1:347333bac1fb | 26 | #define UART_RX PC_11 |
lwtroach | 1:347333bac1fb | 27 | #define D_UART_TX PA_9 |
lwtroach | 1:347333bac1fb | 28 | #define D_UART_RX PA_10 |
lwtroach | 1:347333bac1fb | 29 | #endif |
lwtroach | 0:6bdfb6ccd136 | 30 | #endif |