Line data Source code
1 0 : /*
2 : * Copyright 2025 Google LLC
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : */
6 :
7 : #include <zephyr/device.h>
8 :
9 : /**
10 : * @brief Update the hardware port settings on a uart bridge
11 : *
12 : * If dev is part bridge_dev, then the dev uart configuration are applied to
13 : * the other device in the uart bridge. This allows propagating the settings
14 : * from a USB CDC-ACM port to a hardware UART.
15 : *
16 : * If dev is not part of bridge_dev then the function is a no-op.
17 : */
18 1 : void uart_bridge_settings_update(const struct device *dev,
19 : const struct device *bridge_dev);
|