NetBurner 3.5.6
PDF Version
SB800EX/include/pinconstant.h
1/*NB_REVISION*/
2
3/*NB_COPYRIGHT*/
4
5#ifndef SB800EX_PIN_CONSTANT
6#define SB800EX_PIN_CONSTANT
7
8#define PIN_GPIO (0) // Universal GPIO Definition
9
10// Pin: JP3-1 / CPU Pin: G13
11#define PIN_1_T3IN (3) // Primary Function: Timer Input 3
12#define PIN_1_T3OUT (2) // Alternate Function 1: Timer Output 3
13#define PIN_1_USBO_VBUS_EN (1) // Alternate Function 2: USB On-the-Go VBUS Enable
14#define PIN_1_GPIO (0) // Port D - 2 / Rapid GPIO 1
15
16// Pin: JP3-2 / CPU Pin: B11
17#define PIN_2_UART0_RTS (3) // Primary Function: UART 0 - Request to Send
18#define PIN_2_UART4_RXD (2) // Alternate Function 1: UART 4 - Receive
19#define PIN_2_DSPI2_PCS0 (1) // Alternate Function 2: DSPI 2 - Peripheral Chip Select 0
20#define PIN_2_GPIO (0) // Port F - 5 / Rapid GPIO 6
21
22// Pin: JP3-3 / CPU Pin: E13
23#define PIN_3_UART0_CTS (3) // Primary Function: UART 0 - Clear to Send
24#define PIN_3_UART4_TXD (2) // Alternate Function 1: UART 4 - Transmit
25#define PIN_3_DSPI2_SCK (1) // Alternate Function 2: DSPI 2 - Serial Clock
26#define PIN_3_GPIO (0) // Port F - 6 / Rapid GPIO 5
27
28// Pin: JP3-4 / CPU Pin: B10
29#define PIN_4_UART0_RXD (3) // Primary Function: UART 0 - Receive
30#define PIN_4_I2C4_SDA (2) // Alternate Function 1: I2C 4 - Serial Data
31#define PIN_4_DSPI2_SIN (1) // Alternate Function 2: DSPI 2 - Serial Data In
32#define PIN_4_GPIO (0) // Port F - 4
33
34// Pin: JP3-5 / CPU Pin: D11
35#define PIN_5_UART0_TXD (3) // Primary Function: UART 0 - Transmit
36#define PIN_5_I2C4_SCL (2) // Alternate Function 1: I2C 4 - Serial Clock
37#define PIN_5_DSPI2_SOUT (1) // Alternate Function 2: DSPI 2 - Serial Data Out
38#define PIN_5_GPIO (0) // Port F - 3
39
40// Pin: JP3-6 / CPU Pin: E12
41#define PIN_6_SIM0_DATA (3) // Primary Function:
42#define PIN_6_PWM_FAULT2 (2) // Alternate Function 1:
43#define PIN_6_SDHC_DAT7 (1) // Alternate Function 2:
44#define PIN_6_GPIO (0) // Port G - 4
45
46// Pin: JP3-7 / CPU Pin: M1
47#define PIN_7_IRQ3 (3) // Primary Function: External Interrupt 3
48#define PIN_7_DSPI0_PCS3 (2) // Alternate Function 1: DSPI 0 - Peripheral Chip Select 3
49#define PIN_7_USBH_VBUS_EN (1) // Alternate Function 2: USB Host VBUS Enable
50#define PIN_7_GPIO (0) // Port C - 3
51
52// Pin: JP3-8 / CPU Pin: NA / Reserved For: VCC3V
53
54// Pin: JP3-9 / CPU Pin: NA / Reserved For: GND
55
56// CPU Pin: M1
57#define PORTC_3_IRQ3 (3) // Primary Function: External Interrupt 3
58#define PORTC_3_DSPI0_PCS3 (2) // Alternate Function 1: DSPI 0 - Peripheral Chip Select 3
59#define PORTC_3_USBH_VBUS_EN (1) // Alternate Function 2: USB Host VBUS Enable
60#define PORTC_3_GPIO (0) // Port C - 3
61
62// CPU Pin: M2
63#define PORTC_2_IRQ2 (3) // Primary Function: External Interrupt 2
64#define PORTC_2_DSPI0_PCS2 (2) // Alternate Function 1: DSPI 0 - Peripheral Chip Select 2
65#define PORTC_2_USBH_VBUS_OC (1) // Alternate Function 2: USB Host VBUS Over-Current
66#define PORTC_2_GPIO (0) // Port C - 2
67#endif