2019-05-18 01:17:00 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Foundries.io
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INC_BOARD_H
|
|
|
|
#define __INC_BOARD_H
|
|
|
|
|
|
|
|
/* pin used to enable the buffer power */
|
2022-06-10 22:00:23 +08:00
|
|
|
#define SERIAL_BUFFER_ENABLE_GPIO_NODE DT_INST(0, nordic_nrf_gpio)
|
2019-05-18 01:17:00 +08:00
|
|
|
#define SERIAL_BUFFER_ENABLE_GPIO_PIN 25
|
2020-01-29 06:25:03 +08:00
|
|
|
#define SERIAL_BUFFER_ENABLE_GPIO_FLAGS GPIO_ACTIVE_LOW
|
2019-05-18 01:17:00 +08:00
|
|
|
|
|
|
|
/* pin used to detect V_INT (buffer power) */
|
2020-01-29 06:25:03 +08:00
|
|
|
#define V_INT_DETECT_GPIO_PIN 2
|
|
|
|
#define V_INT_DETECT_GPIO_FLAGS GPIO_ACTIVE_HIGH
|
2019-05-18 01:17:00 +08:00
|
|
|
|
|
|
|
#endif /* __INC_BOARD_H */
|