LCOV - code coverage report
Current view: top level - zephyr/drivers/bluetooth - hci_driver_bluenrg.h Hit Total Coverage
Test: new.info Lines: 2 2 100.0 %
Date: 2024-12-22 00:14:23

          Line data    Source code
       1           1 : /** @file
       2             :  *  @brief BlueNRG HCI extended API.
       3             :  */
       4             : 
       5             : /*
       6             :  * Copyright (c) 2024 STMicroelectronics
       7             :  *
       8             :  * SPDX-License-Identifier: Apache-2.0
       9             :  */
      10             : #ifndef ZEPHYR_INCLUDE_DRIVERS_BLUETOOTH_HCI_DRIVER_BLUENRG_H_
      11             : #define ZEPHYR_INCLUDE_DRIVERS_BLUETOOTH_HCI_DRIVER_BLUENRG_H_
      12             : 
      13             : /**
      14             :  * @brief BlueNRG HCI Driver-Specific API
      15             :  * @defgroup bluenrg_hci_driver BlueNRG HCI driver extended API
      16             :  * @ingroup bluetooth
      17             :  * @{
      18             :  */
      19             : 
      20             : #include <stdbool.h>
      21             : 
      22             : #ifdef __cplusplus
      23             : extern "C" {
      24             : #endif
      25             : 
      26             : /** @brief Hardware reset the BlueNRG network coprocessor.
      27             :  *
      28             :  * Performs hardware reset of the BLE network coprocessor.
      29             :  * It can also force to enter firmware updater mode.
      30             :  *
      31             :  * @param updater_mode flag to indicate whether updater mode needs to be entered.
      32             :  *
      33             :  * @return a non-negative value indicating success, or a
      34             :  * negative error code for failure
      35             :  */
      36             : 
      37           1 : int bluenrg_bt_reset(bool updater_mode);
      38             : 
      39             : #ifdef __cplusplus
      40             : }
      41             : #endif
      42             : 
      43             : /**
      44             :  * @}
      45             :  */
      46             : 
      47             : #endif /* ZEPHYR_INCLUDE_DRIVERS_BLUETOOTH_HCI_DRIVER_BLUENRG_H_ */

Generated by: LCOV version 1.14