LCOV - code coverage report
Current view: top level - zephyr/drivers/serial - uart_altera.h Coverage Total Hit
Test: new.info Lines: 33.3 % 3 1
Test Date: 2025-09-05 16:43:28

            Line data    Source code
       1            0 : /*
       2              :  * Copyright (c) 2023 Intel Corporation
       3              :  *
       4              :  * SPDX-License-Identifier: Apache-2.0
       5              :  */
       6              : 
       7              : /**
       8              :  * Header file for the ALTERA UART
       9              :  */
      10              : 
      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            1 : #define CMD_ENABLE_EOP  0x01
      24            0 : #define CMD_DISABLE_EOP 0x02
      25              : 
      26              : #endif /* ZEPHYR_DRIVERS_SERIAL_UART_ALTERA_H_ */
        

Generated by: LCOV version 2.0-1