kopia lustrzana https://github.com/espressif/esp-idf
65 wiersze
1.4 KiB
C
65 wiersze
1.4 KiB
C
![]() |
/*
|
||
|
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
#include <stddef.h>
|
||
|
#include <stdint.h>
|
||
|
#include "soc/soc.h"
|
||
|
#include "soc/soc_caps.h"
|
||
|
|
||
|
#if SOC_PAU_SUPPORTED
|
||
|
#include "hal/pau_hal.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
/**
|
||
|
* @brief Set the addresses of all REGDMA Links
|
||
|
* @param link_entries all linked lists addresses
|
||
|
*/
|
||
|
void pau_regdma_set_entry_link_addr(pau_regdma_link_addr_t *link_entries);
|
||
|
|
||
|
/**
|
||
|
* @brief Set the address of WiFi MAC REGDMA Link in modem state
|
||
|
* @param link_addr linked lists address
|
||
|
*/
|
||
|
void pau_regdma_set_modem_link_addr(void *link_addr);
|
||
|
|
||
|
/**
|
||
|
* @brief Software trigger regdma to perform modem link backup
|
||
|
*/
|
||
|
void pau_regdma_trigger_modem_link_backup(void);
|
||
|
|
||
|
/**
|
||
|
* @brief Software trigger regdma to perform modem link restore
|
||
|
*/
|
||
|
void pau_regdma_trigger_modem_link_restore(void);
|
||
|
|
||
|
/**
|
||
|
* @brief Set the address of extra REGDMA Link in active state
|
||
|
* @param link_addr linked lists address
|
||
|
*/
|
||
|
void pau_regdma_set_extra_link_addr(void *link_addr);
|
||
|
|
||
|
/**
|
||
|
* @brief Software trigger regdma to perform extra link backup
|
||
|
*/
|
||
|
void pau_regdma_trigger_extra_link_backup(void);
|
||
|
|
||
|
/**
|
||
|
* @brief Software trigger regdma to perform extra link restore
|
||
|
*/
|
||
|
void pau_regdma_trigger_extra_link_restore(void);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif //SOC_PAU_SUPPORTED
|