2022-11-16 03:59:57 -05:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "esp_openthread.h"
|
|
|
|
#include "esp_openthread_types.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief This function initializes the OpenThread spinel SPI slave.
|
|
|
|
*
|
|
|
|
*/
|
2023-09-26 00:18:08 -04:00
|
|
|
esp_err_t esp_openthread_host_rcp_spi_init(const esp_openthread_platform_config_t *config);
|
2022-11-16 03:59:57 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief This function deinitializes the OpenThread spinel SPI slave.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void esp_openthread_spi_slave_deinit(void);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif
|