feat(ieee802154): separated the 802.15.4 HAL codes from the HAL component

This commit is contained in:
zwx
2026-01-07 16:41:47 +08:00
parent 29b865dc07
commit 47af508b7a
19 changed files with 73 additions and 64 deletions
@@ -1,35 +0,0 @@
/*
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <stdbool.h>
#include "hal/ieee802154_common_ll.h"
#ifdef __cplusplus
extern "C" {
#endif
// todo: TZ-2155
#define IEEE802154_TXPOWER_VALUE_MAX 10
#define IEEE802154_TXPOWER_VALUE_MIN -14
#define IEEE802154_TXPOWER_INDEX_MIN 0
#define IEEE802154_RSSI_COMPENSATION_VALUE 0
static inline uint32_t ieee802154_ll_get_rx_filter_not_work_cnt(void)
{
return IEEE802154.debug_sfd_timeout_cnt.rx_filter_not_work_cnt;
}
static inline uint32_t ieee802154_ll_get_rx_preamble_detect_err_cnt(void)
{
return IEEE802154.debug_crc_error_cnt.rx_preamble_detect_err_cnt;
}
#ifdef __cplusplus
}
#endif