Zephyr API Documentation
3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
uart_altera.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Intel Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
11
#ifndef ZEPHYR_DRIVERS_SERIAL_UART_ALTERA_H_
12
#define ZEPHYR_DRIVERS_SERIAL_UART_ALTERA_H_
13
14
/* End of packet feature.
15
* Driver will trigger interrupt upon receiving end of package character.
16
* Please enable CONFIG_UART_DRV_CMD and CONFIG_UART_ALTERA_EOP to use this feature.
17
* Use the api: uart_drv_cmd with CMD_ENABLE_EOP to enable the feature.
18
* This cmd will write the ip register and also set a flag to the driver.
19
* The flag will modify uart_irq_callback_user_data_set
20
* to set call back function for eop interrupt.
21
* Flag is cleared after uart_irq_callback_user_data_set is called.
22
*/
23
#define CMD_ENABLE_EOP 0x01
24
#define CMD_DISABLE_EOP 0x02
25
26
#endif
/* ZEPHYR_DRIVERS_SERIAL_UART_ALTERA_H_ */
zephyr
drivers
serial
uart_altera.h
Generated on Thu Oct 10 2024 12:02:31 for Zephyr API Documentation by
1.12.0