SmartSnippets DA1459x SDK
brd_prodk_da1459x.h
Go to the documentation of this file.
1 
41 #ifndef BRD_PRODK_DA1459X_H
42 #define BRD_PRODK_DA1459X_H
43 
44 /* Serial port configuration section */
45 #define SER1_UART (HW_UART2)
46 
47 #define SER1_TX_PORT (HW_GPIO_PORT_0)
48 #define SER1_TX_PIN (HW_GPIO_PIN_13)
49 #define SER1_TX_MODE (HW_GPIO_MODE_OUTPUT)
50 #define SER1_TX_FUNC (HW_GPIO_FUNC_UART2_TX)
51 
52 #define SER1_RX_PORT (HW_GPIO_PORT_0)
53 #define SER1_RX_PIN (HW_GPIO_PIN_15)
54 #define SER1_RX_MODE (HW_GPIO_MODE_INPUT)
55 #define SER1_RX_FUNC (HW_GPIO_FUNC_UART2_RX)
56 
57 #define SER1_RTS_PORT (HW_GPIO_PORT_1)
58 #define SER1_RTS_PIN (HW_GPIO_PIN_0)
59 #define SER1_RTS_MODE (HW_GPIO_MODE_OUTPUT)
60 #define SER1_RTS_FUNC (HW_GPIO_FUNC_UART2_RTSN)
61 
62 #define SER1_CTS_PORT (HW_GPIO_PORT_0)
63 #define SER1_CTS_PIN (HW_GPIO_PIN_11)
64 #define SER1_CTS_MODE (HW_GPIO_MODE_INPUT)
65 #define SER1_CTS_FUNC (HW_GPIO_FUNC_UART2_CTSN)
66 
67 /* LED configuration section */
68 #define LED1_PORT (HW_GPIO_PORT_1)
69 #define LED1_PIN (HW_GPIO_PIN_1)
70 #define LED1_MODE (HW_GPIO_MODE_OUTPUT)
71 #define LED1_FUNC (HW_GPIO_FUNC_GPIO)
72 
73 /* KEY configuration section */
74 #define KEY1_PORT (HW_GPIO_PORT_0)
75 #define KEY1_PIN (HW_GPIO_PIN_10)
76 #define KEY1_MODE (HW_GPIO_MODE_INPUT_PULLUP)
77 #define KEY1_FUNC (HW_GPIO_FUNC_GPIO)
78 
79 #endif /* BRD_PRODK_DA1459X_H */
80