fixed peripheral/port names and pin list

pull/878/head
mazgch 2015-02-01 17:51:52 +01:00
parent e140fd1e45
commit 3e17cacc76
3 changed files with 12 additions and 2 deletions

View File

@ -42,10 +42,17 @@ typedef enum {
ADC_3 = (int)ADC3_BASE
} ADCName;
typedef enum {
DAC_0 = 0,
DAC_1
} DACName;
typedef enum {
UART_1 = (int)USART1_BASE,
UART_2 = (int)USART2_BASE,
UART_3 = (int)USART3_BASE,
UART_4 = (int)UART4_BASE,
UART_5 = (int)UART5_BASE,
UART_6 = (int)USART6_BASE
} UARTName;

View File

@ -179,7 +179,7 @@ typedef enum {
LED_GRE = PB_4, // Green
LED_YEL = PE_9, // Yellow, CS_CARD
LED_RED = PB_3, // Red
BTN = PA_15
BTN = PA_15,
USBRXD = PD_9, // RX
USBTXD = PD_8, // TX

View File

@ -42,7 +42,10 @@ typedef enum {
PortE = 4,
PortF = 5,
PortG = 6,
PortH = 7
PortH = 7,
PortI = 8,
PortJ = 9,
PortK = 10
} PortName;
#ifdef __cplusplus