code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
/** @brief configuration */
unsigned char rtlbt_config[] =
{
0x55, 0xab, 0x23, 0x87,
0x19, 0x00,
0xD6, 0x00, 0x02, 0x8C, 0x8C, /*LE trx on delay*/
};
/** @brief The length of configuration */
unsigned int rtlbt_config_len = sizeof(rtlbt_config);
extern unsigned char rtlbt_fw[];
const unsig... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/hci/bt_fwconfig.c | C | apache-2.0 | 501 |
/**
*******************************************************************************
* Copyright(c) 2019, Realtek Semiconductor Corporation. All rights reserved.
*******************************************************************************
* @file amebaD_MP_bt40_fw_asic_rom_patch_210205_1105_new.bin
* @dat... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/hci/bt_mp_patch.c | C | apache-2.0 | 77,138 |
/**
*******************************************************************************
* Copyright(c) 2019, Realtek Semiconductor Corporation. All rights reserved.
*******************************************************************************
* @file AmebaD_mp_chip_bt40_fw_asic_rom_patch_0x42A8_51E2_210310_1045... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/hci/bt_normal_patch.c | C | apache-2.0 | 68,615 |
/**
* Copyright (c) 2017, Realsil Semiconductor Corporation. All rights reserved.
*
*/
#include <stdio.h>
#include <string.h>
//#include "os_sched.h"
//#include "os_pool.h"
//#include "os_sync.h"
//#include "os_mem.h"
#include "osif_customer.h"
#include <mem_types.h>
//#include "hci_tp.h"
#include "hc... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/hci/hci_board.c | C | apache-2.0 | 32,784 |
/**
* Copyright (c) 2015, Realsil Semiconductor Corporation. All rights reserved.
*/
#include <string.h>
//#include "os_task.h"
//#include "os_mem.h"
//#include "os_msg.h"
//#include "os_sched.h"
//#include "trace.h"
//#include "bte_api.h"
#include "hci_dbg.h"
#include "hci_if.h"
#include "hci_tp.h"
//... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/hci/hci_h4.c | C | apache-2.0 | 6,654 |
/**
* Copyright (c) 2015, Realsil Semiconductor Corporation. All rights reserved.
*/
#include <string.h>
//#include "os_task.h"
//#include "os_mem.h"
//#include "os_msg.h"
//#include "trace.h"
//#include "bt_defs.h"
//#include "bte_api.h"
#include "hci_dbg.h"
#include "osif_customer.h"
#include "hci_c... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/hci/hci_normal.c | C | apache-2.0 | 5,368 |
/**
* Copyright (c) 2017, Realsil Semiconductor Corporation. All rights reserved.
*
*/
#include <stdio.h>
#include <string.h>
#include "ameba_soc.h"
//#include "os_sched.h"
//#include "os_pool.h"
//#include "os_sync.h"
//#include "os_mem.h"
#include "osif_customer.h"
#include <mem_types.h>
//#incl... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/hci/hci_uart.c | C | apache-2.0 | 14,019 |
#include <string.h>
#include <stdint.h>
#include <stdlib.h>
uint32_t platform_random(uint32_t max)
{
uint32_t seed = * ((volatile uint32_t *) 0xe000e018) ; //system tick current value
srand(seed);
return rand() % max;
}
| YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/platform_utils.c | C | apache-2.0 | 253 |
/**
* Copyright (c) 2017, Realsil Semiconductor Corporation. All rights reserved.
*
*/
#include <stdio.h>
#include <string.h>
#include "trace_app.h"
#include "vendor_cmd.h"
#include "rtk_coex.h"
#include "platform_stdlib.h"
#include <bt_intf.h>
struct rtl_btinfo
{
uint8_t cmd;
uint8_t len... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/rtk_coex.c | C | apache-2.0 | 2,578 |
/**
* Copyright (c) 2017, Realsil Semiconductor Corporation. All rights reserved.
*
*/
#include <stdio.h>
#include <string.h>
/* READ_ME
* <b>Example usage</b>
* \code{ble_app_main.c}
void app_le_gap_init(void)
{
....
bt_coex_init();
}
*/
void bt_coex_handle_cmd_complete_evt(uint1... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/rtk_coex.h | C | apache-2.0 | 544 |
#include <gap.h>
#include <bt_types.h>
#include <string.h>
#include <trace_app.h>
#include "vendor_cmd.h"
#include "vendor_cmd_bt.h"
#include "rtk_coex.h"
#include <gap_conn_le.h>
P_FUN_GAP_APP_CB ext_app_cb = NULL;
bool mailbox_to_bt(uint8_t *data, uint8_t len)
{
T_GAP_DEV_STATE new_state;
le_get_ga... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/vendor_cmd/vendor_cmd.c | C | apache-2.0 | 6,154 |
#ifndef VNR_CMD_H
#define VNR_CMD_H
#include <gap.h>
//mailbox
#define HCI_VENDOR_ENABLE_PROFILE_REPORT_COMMAND 0xfc18
#define HCI_VENDOR_SET_PROFILE_REPORT_COMMAND 0xfc19
#define HCI_VENDOR_MAILBOX_CMD 0xfc8f
//sub event from fw start
#define HCI_VENDOR_PTA_REPORT_EV... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/vendor_cmd/vendor_cmd.h | C | apache-2.0 | 584 |
#ifndef VNR_CMD_BT_H
#define VNR_CMD_BT_H
#include <gap.h>
/** @brief Supported LE Vendor Commands*/
#define BT_VENDOR_CMD_ONE_SHOT_SUPPORT 1
#define BT_VENDOR_CMD_ADV_TX_POWER_SUPPORT 1
#define BT_VENDOR_CMD_CONN_TX_POWER_SUPPORT 1
#define BT_VENDOR_CMD_SLAVE_LATENCY_SUPPORT 1
/** @brief LE Vendo... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/vendor_cmd/vendor_cmd_bt.h | C | apache-2.0 | 8,421 |
/**
* Copyright (c) 2017, Realtek Semiconductor Corporation. All rights reserved.
*/
#ifndef _BT_TYPES_H_
#define _BT_TYPES_H_
#ifdef __cplusplus
extern "C" {
#endif
/**
* bt_types.h
*
* \name BT_BYTE_ORDER
* \brief BT buffer/array byte-order utility macros.
* \anchor BT_BYTE_ORDER
*/
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/inc/bt_types.h | C | apache-2.0 | 10,350 |
/**
* Copyright (c) 2017, Realsil Semiconductor Corporation. All rights reserved.
*
*/
#ifndef _HCI_BOARD_H_
#define _HCI_BOARD_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
#include <string.h>
bool hci_board_init(void);
void bt_reset(void);
void bt_power_on(void);
void bt_power_off(... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/inc/hci_board.h | C | apache-2.0 | 393 |
/**
* Copyright (c) 2015, Realsil Semiconductor Corporation. All rights reserved.
*/
#ifndef _HCI_CODE_H_
#define _HCI_CODE_H_
/** HCI specific definitions */
#define HCI_CMD_PKT 0x01
#define HCI_ACL_PKT 0x02
#define HCI_SCO_PKT 0x03
#define HCI_EVT_PKT 0x04
/** HCI Spec Versions https... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/inc/hci_code.h | C | apache-2.0 | 46,095 |
/**
* Copyright (c) 2015, Realsil Semiconductor Corporation. All rights reserved.
*/
#ifndef _HCI_DBG_H_
#define _HCI_DBG_H_
#include <stdio.h>
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
#define HCI_PRINT_INFO(...)
#define HCI_PRINT_WARN(...)
#define HCI_PRINT_TRACE(...)
#define... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/inc/hci_dbg.h | C | apache-2.0 | 404 |
/**
* Copyright (c) 2015, Realsil Semiconductor Corporation. All rights reserved.
*/
#ifndef _HCI_IF_H_
#define _HCI_IF_H_
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef enum
{
HCI_IF_EVT_OPENED, /* hci I/F open completed */
HCI_IF_EVT_CLOSED, /* hci I/F cl... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/inc/hci_if.h | C | apache-2.0 | 844 |
/**
* Copyright (c) 2017, Realsil Semiconductor Corporation. All rights reserved.
*
*/
#ifndef _HCI_PROCESS_H_
#define _HCI_PROCESS_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
typedef struct _HCI_PROCESS_TABLE_{
uint16_t opcode;
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/inc/hci_process.h | C | apache-2.0 | 1,881 |
/**
* Copyright (c) 2015, Realsil Semiconductor Corporation. All rights reserved.
*/
#ifndef _HCI_PROTO_H_
#define _HCI_PROTO_H_
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
#define HCI_IF_TASK_PRIORITY 5
#define HCI_IF_STACK_SIZE 0x400
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/inc/hci_proto.h | C | apache-2.0 | 2,305 |
/**
* Copyright (c) 2015, Realsil Semiconductor Corporation. All rights reserved.
*/
#ifndef _HCI_TP_H_
#define _HCI_TP_H_
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef bool (*P_HCI_TP_OPEN_CB)(bool status);
typedef bool (*P_HCI_TP_TX_CB)(void);
typede... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/inc/hci_tp.h | C | apache-2.0 | 775 |
/**
* Copyright (c) 2017, Realsil Semiconductor Corporation. All rights reserved.
*
*/
#ifndef _HCI_UART_H_
#define _HCI_UART_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <stdint.h>
typedef bool (*P_UART_TX_CB)(void);
typedef boo... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/inc/hci_uart.h | C | apache-2.0 | 831 |
/**
*****************************************************************************************
* Copyright(c) 2017, Realtek Semiconductor Corporation. All rights reserved.
*****************************************************************************************
* @file Mem_types.h
* @brief define memory typ... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/inc/mem_types.h | C | apache-2.0 | 1,465 |
/*
* Copyright (c) 2015, Realsil Semiconductor Corporation. All rights reserved.
*/
#ifndef _OSIF_H_
#define _OSIF_H_
#ifdef __cplusplus
extern "C" {
#endif
#ifndef false
#define false 0
#endif
#ifndef true
#define true (!false)
#endif
#ifndef bool
#define bool unsigned char
#endif
#if... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/inc/osif_customer.h | C | apache-2.0 | 2,397 |
/**
*****************************************************************************************
* Copyright(c) 2017, Realtek Semiconductor Corporation. All rights reserved.
************************************************************************************************************
* @file platform_... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/inc/platform_utils.h | C | apache-2.0 | 1,893 |
/**
* Copyright (c) 2015, Realsil Semiconductor Corporation. All rights reserved.
*/
#include <stdint.h>
#include <string.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdarg.h>
#include <mem_types.h>
#include "aos/kernel.h"
#include <aos/errno.h>
#include "k_api.h"
#define HCI_OS_DBG
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/os/osif_customer.c | C | apache-2.0 | 4,461 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#ifndef __BT_VENDOR_DRV_H_
#define __BT_VENDOR_DRV_H_
#include <stdio.h>
#include <stdint.h>
#include "osif_customer.h"
#include "hci_if.h"
#include "hci_tp.h"
#include "wifi_conf.h"
bool bt_vendor_open_flag = false;
void *bt_vendor_open_sem = NULL;
voi... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/src/bt_vendor_drv.c | C | apache-2.0 | 3,192 |
/**
* Copyright (c) 2017, Realsil Semiconductor Corporation. All rights reserved.
*
*/
#include <stdio.h>
#include <string.h>
//#include "os_mem.h"
#include "osif_customer.h"
#include "hci_tp.h"
#include "hci_process.h"
#include "bt_types.h"
#include "hci_dbg.h"
#include "hci_uart.h"
#include "bt_bo... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/src/hci_adapter.c | C | apache-2.0 | 7,341 |
/**
* Copyright (c) 2017, Realsil Semiconductor Corporation. All rights reserved.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
//#include "os_mem.h"
//#include "os_sync.h"
//#include "os_sched.h"
#include "osif_customer.h"
#include <mem_types.h>
#include "hci_process.h"
#include "hc... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/src/hci_process.c | C | apache-2.0 | 19,502 |
/**
*****************************************************************************************
* Copyright(c) 2017, Realtek Semiconductor Corporation. All rights reserved.
*****************************************************************************************
* @file Mem_types.h
* @brief define memory typ... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/inc/platform/mem_types.h | C | apache-2.0 | 1,465 |
/**
******************************************************************************
* @file rl6548.c
* @author
* @version V1.0.0
* @date 2018-12-12
* @brief This file provides firmware functions to manage the following
* functionalities of the Audio codec peripheral:
* - Codec ... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/si/rl6548.c | C | apache-2.0 | 33,394 |
/**
******************************************************************************
* @file rl6548.h
* @author
* @version V1.0.0
* @date 2018-12-12
* @brief This file contains all the functions prototypes for the audio codec firmware
* library.
***********************************... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/si/rl6548.h | C | apache-2.0 | 20,790 |
const int eq_44p1k_en_num = 0x05;
const int eq_48k_en_num = 0x05;
const int eq_8k_en_num = 0x05;
const int eq_16k_en_num = 0x05;
const int eq_param_44p1k[] = {
0x02001235,
0xfc01518b,
0x01feb12d,
0x03fed2d3,
0xfe012a74,
0x02000000,
0xfc025f1a,
0x01fdabc6,
0x03fda0e6,
0xfe02543a,
0x02000000,
0xfc04b360,
0x0... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/si/rl6548_eq_table.h | C | apache-2.0 | 1,562 |
/******************************************************************************
* Copyright (c) 2013-2016 Realtek Semiconductor Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/include/autoconf.h | C | apache-2.0 | 24,248 |
/******************************************************************************
*
* Copyright(c) 2007 - 2021 Realtek Corporation. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the Licen... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/include/drv_conf.h | C | apache-2.0 | 3,829 |
/******************************************************************************
*
* Copyright(c) 2007 - 2014 Realtek Corporation. All rights reserved.
*
* This is ROM code section.
*
*
******************************************************************************/
#ifndef... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/include/rom_aes.h | C | apache-2.0 | 1,141 |
/******************************************************************************
*
* This module is a confidential and proprietary property of RealTek and
* possession or use of this module requires written permission of RealTek.
*
* Copyright(c) 2016, Realtek Semiconductor Corporation. All rights reserved.
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/include/rtw_debug.h | C | apache-2.0 | 14,921 |
/******************************************************************************
* Copyright (c) 2013-2016 Realtek Semiconductor Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/include/wifi_constants.h | C | apache-2.0 | 18,794 |
#ifndef __WIFI_PERFORMANCE_MONITOR_H__
#define __WIFI_PERFORMANCE_MONITOR_H__
#include <platform_stdlib.h>
#ifdef CONFIG_PLATFORM_8721D
#include "rtl8721d.h"
#endif
struct WIFI_TIME {
// RX related
u32 rx_mpdu_time;
u32 rx_mpdu_time1;
u32 rx_mpdu_time2;
u32 recv_entry_time;
u32 recv_func_time;
u32 recv_... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/include/wifi_performance_monitor.h | C | apache-2.0 | 1,601 |
/******************************************************************************
* Copyright (c) 2013-2016 Realtek Semiconductor Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/include/wifi_structures.h | C | apache-2.0 | 10,658 |
#include "rtw_opt_crypto_ssl.h"
#include "osdep_service.h"
/****************************************************************************************************
Function of Initialization
************************************************************************************************... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/core/option/rtw_opt_crypto_ssl.c | C | apache-2.0 | 27,043 |
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
******************************************************************************/
#ifndef __RTW_SAE_CRYPTO_MBEDTLS_H_
#define __RTW_SAE_CRYPTO_MBEDTLS_H_
#i... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/core/option/rtw_opt_crypto_ssl.h | C | apache-2.0 | 4,488 |
/******************************************************************************
* PHY_REG_PG.TXT
******************************************************************************/
// Note: power index value = power*2
// => ex: 16dBm => 0x32 , 13dBm => 0x26, 0x26262830 => 13 13 14 15 dBm
unsigne... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/core/option/rtw_opt_power_by_rate.c | C | apache-2.0 | 1,370 |
/******************************************************************************
* TXPWR_LMT.TXT
******************************************************************************/
typedef enum _ODM_PW_LMT_REGULATION_TYPE{
PW_LMT_REGU_NULL = 0,
PW_LMT_REGU_FCC = 1,
PW_LMT_REGU_ETSI = 2,
PW_LMT... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/core/option/rtw_opt_power_limit.c | C | apache-2.0 | 30,945 |
/**
******************************************************************************
* @file rtw_opt_rf_para_rtl8721d.c
* @author
* @version V1.0.0
* @date 2019-03-08
* @brief This file provides an option to reduce code size if you are sure of supply voltage or cut version
*******************... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/core/option/rtw_opt_rf_para_rtl8721d.c | C | apache-2.0 | 219,270 |
#include <section_config.h>
#include <osdep_service.h>
#include <skbuff.h>
#define MAX_SKB_BUF_SIZE 1650 // should >= the size in wlan driver
#define MAX_SKB_BUF_NUM 8
#define MAX_LOCAL_SKB_NUM (MAX_SKB_BUF_NUM + 2)
/* DO NOT modify skb_buf and skb_data structure */
struct skb_buf {
struct list_head list... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/core/option/rtw_opt_skbuf.c | C | apache-2.0 | 1,876 |
/******************************************************************************
* Copyright (c) 2013-2016 Realtek Semiconductor Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/osdep/alios/wrapper.h | C | apache-2.0 | 14,760 |
/******************************************************************************
*
* Copyright(c) 2007 - 2021 Realtek Corporation. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the Licen... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/osdep/lwip_intf.c | C | apache-2.0 | 6,188 |
/* mbed Microcontroller Library
* Copyright (c) 2013-2016 Realtek Semiconductor Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/osdep/lwip_intf.h | C | apache-2.0 | 3,162 |
/******************************************************************************
* Copyright (c) 2013-2016 Realtek Semiconductor Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/osdep/skbuff.h | C | apache-2.0 | 2,620 |
/******************************************************************************
*
* This module is a confidential and proprietary property of RealTek and
* possession or use of this module requires written permission of RealTek.
*
* Copyright(c) 2016, Realtek Semiconductor Corporation. All rights reserved.
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/osdep/wireless.h | C | apache-2.0 | 46,677 |
/******************************************************************************
* Copyright (c) 2013-2016 Realtek Semiconductor Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/osdep/wlan_intf.h | C | apache-2.0 | 3,091 |
#ifndef ROM_WLAN_RAM_MAP_H
#define ROM_WLAN_RAM_MAP_H
struct _rom_wlan_ram_map {
unsigned char * (*rtw_malloc)(unsigned int sz);
void (*rtw_mfree)(unsigned char *pbuf, unsigned int sz);
};
#endif /* ROM_WLAN_RAM_MAP_H */
| YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/wlan_ram_map/rom/rom_wlan_ram_map.h | C | apache-2.0 | 225 |
/////////////////////////////////////////////////
//
// FTL , flash_translation_layer
// Realtek CN3-BT, Raven Su
//
/////////////////////////////////////////////////
#include "platform_stdlib.h"
#include "device_lock.h"
#include "freertos_service.h"
#include "osdep_service.h"
#include "ftl_int.h"
#include "ftl.h"
#... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/file_system/ftl/ftl.c | C | apache-2.0 | 43,691 |
/**
****************************************************************************************************
* Copyright(c) 2016, Realtek Semiconductor Corporation. All rights reserved.
****************************************************************************************************
* @file ftl.h
* @b... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/file_system/ftl/ftl.h | C | apache-2.0 | 5,283 |
/**
*****************************************************************************************
* Copyright(c) 2017, Realtek Semiconductor Corporation. All rights reserved.
*****************************************************************************************
* @file ftl_rom.h
* @brief ftl header fi... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/file_system/ftl/ftl_int.h | C | apache-2.0 | 2,884 |
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/api/error.h | C | apache-2.0 | 1,867 |
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/api/mbed_assert.h | C | apache-2.0 | 1,650 |
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/api/rtc_time.h | C | apache-2.0 | 1,976 |
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/api/wait_api.h | C | apache-2.0 | 1,507 |
/** mbed Microcontroller Library
******************************************************************************
* @file analogin_api.h
* @author
* @version V1.0.0
* @brief This file provides following mbed Analog_in API
******************************************************************************
* @atten... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/analogin_api.h | C | apache-2.0 | 2,197 |
/** mbed Microcontroller Library
******************************************************************************
* @file analogout_api.h
* @author
* @version V1.0.0
* @brief This file provides following mbed Analog_out API
******************************************************************************
* @att... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/analogout_api.h | C | apache-2.0 | 2,873 |
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/can_api.h | C | apache-2.0 | 2,109 |
/** mbed Microcontroller Library
******************************************************************************
* @file timer_api.h
* @author
* @version V1.0.0
* @brief This file provides following mbed I2C API
******************************************************************************
* @attenti... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/dct_api.h | C | apache-2.0 | 4,018 |
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/ethernet_api.h | C | apache-2.0 | 2,700 |
/** mbed Microcontroller Library
******************************************************************************
* @file gpio_api.h
* @author
* @version V1.0.0
* @brief This file provides following mbed GPIO API
******************************************************************************
* @attenti... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/gpio_api.h | C | apache-2.0 | 3,344 |
/** mbed Microcontroller Library
******************************************************************************
* @file gpio_irq_api.h
* @author
* @version V1.0.0
* @brief This file provides following mbed GPIO IRQ API
******************************************************************************
* ... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/gpio_irq_api.h | C | apache-2.0 | 4,008 |
/** mbed Microcontroller Library
******************************************************************************
* @file i2c_api.h
* @author
* @version V1.0.0
* @brief This file provides following mbed I2C API
******************************************************************************
* @attention... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/i2c_api.h | C | apache-2.0 | 6,705 |
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/pinmap.h | C | apache-2.0 | 1,191 |
/** mbed Microcontroller Library
******************************************************************************
* @file port_api.h
* @author
* @version V1.0.0
* @brief This file provides following mbed GPIO PORT API
******************************************************************************
* @at... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/port_api.h | C | apache-2.0 | 3,943 |
/** mbed Microcontroller Library
******************************************************************************
* @file pwmout_api.h
* @author
* @version V1.0.0
* @brief This file provides mbed pwm API
******************************************************************************
* @attention
*
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/pwmout_api.h | C | apache-2.0 | 4,104 |
/** mbed Microcontroller Library
******************************************************************************
* @file rtc_api.h
* @author
* @version V1.0.0
* @brief This file provides mbed RTC API
******************************************************************************
* @attention
*
* C... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/rtc_api.h | C | apache-2.0 | 3,312 |
/** mbed Microcontroller Library
******************************************************************************
* @file serial_api.h
* @author
* @version V1.0.0
* @brief This file provides mbed API for UART.
******************************************************************************
* @attention
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/serial_api.h | C | apache-2.0 | 6,192 |
/** mbed Microcontroller Library
******************************************************************************
* @file sleep_api.h
* @author
* @version V1.0.0
* @brief This file provides following mbed SLEEP API
******************************************************************************
* @atten... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/sleep_api.h | C | apache-2.0 | 2,788 |
/** mbed Microcontroller Library
******************************************************************************
* @file spi_api.h
* @author
* @version V1.0.0
* @brief This file provides following mbed SPI API
******************************************************************************
* @attention... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/spi_api.h | C | apache-2.0 | 4,808 |
/** mbed Microcontroller Library
******************************************************************************
* @file timer_api.h
* @author
* @version V1.0.0
* @brief This file provides following mbed I2C API
******************************************************************************
* @attenti... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/timer_api.h | C | apache-2.0 | 6,482 |
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal/us_ticker_api.h | C | apache-2.0 | 1,445 |
/* mbed Microcontroller Library
*******************************************************************************
* Copyright (c) 2015, Realtek Semiconductor Corp.
* All rights reserved.
*
* This module is a confidential and proprietary property of RealTek and
* possession or use of this module requires written per... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/analogin_ex_api.h | C | apache-2.0 | 933 |
/** mbed Microcontroller Library
******************************************************************************
* @file audio_api.h
* @author
* @version V1.0.0
* @brief
******************************************************************************
* @attention
*
* Copyright (c) 2006-2013 ARM Limite... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/audio_api.h | C | apache-2.0 | 15,738 |
/*******************************************************************************
* Copyright (c) 2014, Realtek Semiconductor Corp.
* All rights reserved.
*
* This module is a confidential and proprietary property of RealTek and
* possession or use of this module requires written permission of RealTek.
*****************... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/chg_api.h | C | apache-2.0 | 1,285 |
/** mbed Microcontroller Library
******************************************************************************
* @file cir_api.h
* @author
* @version V1.0.0
* @brief This file provides following mbed I2S API
******************************************************************************
* @attention
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/cir_api.h | C | apache-2.0 | 34,041 |
/** mbed Microcontroller Library
******************************************************************************
* @file crypto_api.h
* @brief This file provides mbed API for CRYPTO.
*
* @author
* @version V1.0.0
* @date 2017-12-11
************************************************************************... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/crypto_api.h | C | apache-2.0 | 42,938 |
/** mbed Microcontroller Library
******************************************************************************
* @file dma_api.h
* @author
* @version V1.0.0
* @brief This file provides mbed GDMA API
******************************************************************************
* @attention
*
* ... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/dma_api.h | C | apache-2.0 | 2,805 |
/** mbed Microcontroller Library
******************************************************************************
* @file efuse_api.h
* @author
* @version V1.0.0
* @brief This file provides mbed EFUSE API.
******************************************************************************
* @attention
*
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/efuse_api.h | C | apache-2.0 | 5,013 |
/* mbed Microcontroller Library
*******************************************************************************
* Copyright (c) 2015, Realtek Semiconductor Corp.
* All rights reserved.
*
* This module is a confidential and proprietary property of RealTek and
* possession or use of this module requires written per... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/ethernet_ex_api.h | C | apache-2.0 | 4,237 |
/* mbed Microcontroller Library
*******************************************************************************
* Copyright (c) 2015, Realtek Semiconductor Corp.
* All rights reserved.
*
* This module is a confidential and proprietary property of RealTek and
* possession or use of this module requires written per... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/ex_api.h | C | apache-2.0 | 1,019 |
/******************************************************************************
*
* Copyright(c) 2007 - 2021 Realtek Corporation. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the Licen... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/flash_api.h | C | apache-2.0 | 10,027 |
/* mbed Microcontroller Library
*******************************************************************************
* Copyright (c) 2015, Realtek Semiconductor Corp.
* All rights reserved.
*
* This module is a confidential and proprietary property of RealTek and
* possession or use of this module requires written per... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/gpio_ex_api.h | C | apache-2.0 | 2,824 |
/* mbed Microcontroller Library
*******************************************************************************
* Copyright (c) 2015, Realtek Semiconductor Corp.
* All rights reserved.
*
* This module is a confidential and proprietary property of RealTek and
* possession or use of this module requires written per... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/gpio_irq_ex_api.h | C | apache-2.0 | 2,696 |
/** mbed Microcontroller Library
******************************************************************************
* @file i2c_ex_api.h
* @author
* @version V1.0.0
* @brief This file provides mbed API for I2C.
******************************************************************************
* @attention
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/i2c_ex_api.h | C | apache-2.0 | 1,715 |
/** mbed Microcontroller Library
******************************************************************************
* @file i2s_api.h
* @author
* @version V1.0.0
* @brief This file provides following mbed I2S API
******************************************************************************
* @attention... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/i2s_api.h | C | apache-2.0 | 13,189 |
/**************************************************************************//**
* @file icc_api.c
* @brief This file defines the data types and macro for ICC API implementation.
*
* @version V1.00
* @date 2017-06-05
*
* @note
*
**********************************************************************... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/icc_api.h | C | apache-2.0 | 7,275 |
/******************************************************************************
*
* Copyright(c) 2007 - 2021 Realtek Corporation. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the Licen... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/log_uart_api.h | C | apache-2.0 | 12,054 |
/******************************************************************************
*
* Copyright(c) 2007 - 2021 Realtek Corporation. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the Licen... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/nfc_api.h | C | apache-2.0 | 2,437 |
/** mbed Microcontroller Library
******************************************************************************
* @file pcm_api.h
* @author
* @version V1.0.0
* @brief This file provides following mbed I2S API
******************************************************************************
* @attention
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/pcm_api.h | C | apache-2.0 | 13,524 |
/*******************************************************************************
* Copyright (c) 2014, Realtek Semiconductor Corp.
* All rights reserved.
*
* This module is a confidential and proprietary property of RealTek and
* possession or use of this module requires written permission of RealTek.
*****************... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/power_mode_api.h | C | apache-2.0 | 5,467 |
/** mbed Microcontroller Library
******************************************************************************
* @file pwmout_ex_api.h
* @author
* @version V1.0.0
* @brief This file provides mbed pwm API
******************************************************************************
* @attention
*
... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/pwmout_ex_api.h | C | apache-2.0 | 5,218 |
/** mbed Microcontroller Library
******************************************************************************
* @file qdec_api.h
* @author
* @version V1.0.0
* @brief
******************************************************************************
* @attention
*
* Copyright (c) 2006-2013 ARM Limited... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/qdec_api.h | C | apache-2.0 | 16,085 |
/******************************************************************************
*
* Copyright(c) 2007 - 2021 Realtek Corporation. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the Licen... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/serial_ex_api.h | C | apache-2.0 | 6,862 |
/** mbed Microcontroller Library
******************************************************************************
* @file sgpio_api.h
* @author
* @version V1.0.0
* @brief This file provides following mbed I2S API
******************************************************************************
* @attentio... | YifuLiu/AliOS-Things | hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/sgpio_api.h | C | apache-2.0 | 26,889 |