Drop the port access, rework to separate interrupt and pin configuration, add new API. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
14 lines
241 B
Plaintext
14 lines
241 B
Plaintext
/*
|
|
* Copyright (c) 2019 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
resources {
|
|
compatible = "test,gpio_basic_api";
|
|
out-gpios = <&portb 6 0>; /* EXT1.5 */
|
|
in-gpios = <&portb 7 0>; /* EXT1.6 */
|
|
};
|
|
};
|