Wen-ting Lo
/
STM32F303RE_LPG
Basic
LPG_Config.h
- Committer:
- lwtroach
- Date:
- 2019-04-24
- Branch:
- Flash_Exam
- Revision:
- 9:4731ae675a01
- Parent:
- 7:e556528beeba
File content as of revision 9:4731ae675a01:
#ifndef _LPG_CONFIG_ #define _LPG_CONFIG_ #ifdef _WISE_1570_ #define GPIO_0 PB_9 #define GPIO_1 PC_7 #define GPIO_2 PB_15 #define GPIO_3 PB_12 #define GPIO_4 PC_8 #define GPIO_5 PC_13 #define UART_TX PC_10 #define UART_RX PC_11 #define ADC_0 PA_1 #define ADC_1 PC_2 #define ADC_2 PC_4 #define PWM_0 PB_0 #define PWM_1 PB_1 #define I2C1_DATA PB_11 #define I2C1_DCLK PB_10 #define I2C0_DATA PB_7 #define I2C0_DCLK PB_6 #else /*BG96*/ #define LED_1 PC_0 #define LED_2 PC_1 #define LED_3 PC_2 #define UART_TX PC_10 #define UART_RX PC_11 #define D_UART_TX PA_9 #define D_UART_RX PA_10 #define BTN PA_0 #define PWR_LTE PC_3 #define KEY PC_4 #define RST PC_5 #define D_UART_BR 115200 #define AT_UART_BR 115200 #define MEM_START 0x0800C4F0 #endif #endif