12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- #ifndef WT51822_H
- #define WT51822_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define LEDS_NUMBER 3
- #define LED_1 3
- #define LED_2 4
- #define LED_3 5
- #define LEDS_LIST { LED_1, LED_2, LED_3 }
- #define LEDS_ACTIVE_STATE 0
- #define BSP_LED_0 LED_1
- #define BSP_LED_1 LED_2
- #define BSP_LED_2 LED_3
- #define LEDS_INV_MASK LEDS_MASK
- #define BUTTONS_NUMBER 3
- #define SW_1 0
- #define SW_2 1
- #define SW_3 2
- #define BUTTON_PULL NRF_GPIO_PIN_PULLUP
- #define BUTTONS_LIST { SW_1, SW_2, SW_3 }
- #define BUTTONS_ACTIVE_STATE 0
- #define BSP_BUTTON_0 SW_1
- #define BSP_BUTTON_1 SW_2
- #define BSP_BUTTON_2 SW_3
- #define RX_PIN_NUMBER 13
- #define TX_PIN_NUMBER 12
- #define CTS_PIN_NUMBER 14
- #define RTS_PIN_NUMBER 15
- #define HWFC true
- #define SER_CON_RX_PIN 13
- #define SER_CON_TX_PIN 12
- #define SER_CON_CTS_PIN 14
- #define SER_CON_RTS_PIN 15
- #ifdef __cplusplus
- }
- #endif
- #endif
|