nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
selector_hw_def.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#include "selector_hw.h"
8
9/* This configuration file is included only once from selector_hw module
10 * and holds information about pins used by module.
11 */
12
13/* This structure enforces the header file is included only once in the build.
14 * Violating this requirement triggers a multiple definition error at link time.
15 */
17
18static const struct gpio_pin pins0[] = {
19 { .port = 1, .pin = 11 },
20 { .port = 1, .pin = 12 },
21};
22static const struct selector_config config0 = {
23 .id = CONFIG_DESKTOP_BLE_DONGLE_PEER_SELECTOR_ID,
24 .pins = pins0,
25 .pins_size = ARRAY_SIZE(pins0)
26};
27
28static const struct selector_config *selector_config[] = {
29 &config0,
30};
static const struct selector_config config0
Definition selector_hw_def.h:22
const struct @108 selector_hw_def_include_once
static const struct gpio_pin pins0[]
Definition selector_hw_def.h:18
Definition gpio_pins.h:13
Definition selector_hw.h:12