mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-05 13:24:40 +00:00
This implements the newly introduced APIs to manipulate line controls for UART. This also implements the driver command API as setting baud rate may require setting the DLF. Change-Id: I80634aa3fbd4a3223c46edb61417123e36f439dd Signed-off-by: Daniel Leung <daniel.leung@intel.com>
27 lines
765 B
C
27 lines
765 B
C
/*
|
|
* Copyright (c) 2015 Intel Corporation.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
/**
|
|
* @file Header file for the NS16550 UART
|
|
*/
|
|
|
|
#ifndef _UART_NS16550_H_
|
|
#define _UART_NS16550_H_
|
|
|
|
#define CMD_SET_DLF 0x01
|
|
|
|
#endif /* _UART_NS16550_H_ */
|