WIZlib Library API
ver 1.0
WIZlib Library API User Menual
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
library
host
STM32F10x
WIZ_W7200
w7200_evb.h
Go to the documentation of this file.
1
12
#ifndef _W7200_EVB
13
#define _W7200_EVB
14
15
// GPIO PIN Definition - Common
16
17
// Port
18
#define PORTA GPIOA
19
#define PORTB GPIOB
20
#define PORTC GPIOC
21
// Pin
22
#define PIN0 GPIO_Pin_0
23
#define PIN1 GPIO_Pin_1
24
#define PIN2 GPIO_Pin_2
25
#define PIN3 GPIO_Pin_3
26
#define PIN4 GPIO_Pin_4
27
#define PIN5 GPIO_Pin_5
28
#define PIN6 GPIO_Pin_6
29
#define PIN7 GPIO_Pin_7
30
#define PIN8 GPIO_Pin_8
31
#define PIN9 GPIO_Pin_9
32
#define PIN10 GPIO_Pin_10
33
#define PIN11 GPIO_Pin_11
34
#define PIN12 GPIO_Pin_12
35
#define PIN13 GPIO_Pin_13
36
#define PIN14 GPIO_Pin_14
37
#define PIN15 GPIO_Pin_15
38
39
// GPIO PIN Definition - Platform Specific
40
41
#define LED1_PORT GPIOB
42
#define LED1_PIN GPIO_Pin_0
43
#define LED2_PORT GPIOB
44
#define LED2_PIN GPIO_Pin_1
45
//#define LED3_PORT
46
//#define LED3_PIN
47
//#define LED4_PORT
48
//#define LED5_PIN
49
50
#define USART1_TX_PORT GPIOA
51
#define USART1_TX_PIN GPIO_Pin_9
52
#define USART1_RX_PORT GPIOA
53
#define USART1_RX_PIN GPIO_Pin_10
54
//#define USART1_CTS_PORT GPIOA
55
//#define USART1_CTS_PIN GPIO_Pin_11
56
//#define USART1_RTS_PORT GPIOA
57
//#define USART1_RTS_PIN GPIO_Pin_12
58
59
#define USART2_TX_PORT GPIOA
60
#define USART2_TX_PIN GPIO_Pin_2
61
#define USART2_RX_PORT GPIOA
62
#define USART2_RX_PIN GPIO_Pin_3
63
//#define USART2_CTS_PORT GPIOA
64
//#define USART2_CTS_PIN GPIO_Pin_0
65
//#define USART2_RTS_PORT GPIOA
66
//#define USART2_RTS_PIN GPIO_Pin_1
67
68
#define SPI1_SCS_PORT GPIOA
69
#define SPI1_SCS_PIN GPIO_Pin_4
70
#define SPI1_SCLK_PORT GPIOA
71
#define SPI1_SCLK_PIN GPIO_Pin_5
72
#define SPI1_MISO_PORT GPIOA
73
#define SPI1_MISO_PIN GPIO_Pin_6
74
#define SPI1_MOSI_PORT GPIOA
75
#define SPI1_MOSI_PIN GPIO_Pin_7
76
77
#define SPI2_SCS_PORT GPIOB
78
#define SPI2_SCS_PIN GPIO_Pin_12
79
#define SPI2_SCLK_PORT GPIOB
80
#define SPI2_SCLK_PIN GPIO_Pin_13
81
#define SPI2_MISO_PORT GPIOB
82
#define SPI2_MISO_PIN GPIO_Pin_14
83
#define SPI2_MOSI_PORT GPIOB
84
#define SPI2_MOSI_PIN GPIO_Pin_15
85
86
#define WIZ_INT_PORT GPIOA
87
#define WIZ_INT_PIN GPIO_Pin_13
88
#define WIZ_RESET_PORT GPIOB
89
#define WIZ_RESET_PIN GPIO_Pin_8
90
#define WIZ_PWDN_PORT GPIOB
91
#define WIZ_PWDN_PIN GPIO_Pin_9
92
93
#endif //_W7200_EVB
94
95
96
Generated on Wed Mar 13 2013 16:12:39 for WIZlib Library API by
1.8.3.1