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
/** ****************************************************************************** * @file rtl8721d_ipc.h * @author * @version V1.0.0 * @date 2017-11-06 * @brief This file contains all the functions prototypes for the Internal Processor Communication(IPC) * **************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_ipc.h
C
apache-2.0
4,117
/** ****************************************************************************** * @file rtl8721d_ipc_api.h * @author * @version V1.0.0 * @date 2018-06-11 * @brief This file contains all the functions prototypes for the IPC API function * library. *************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_ipc_api.h
C
apache-2.0
964
/** ****************************************************************************** * @file rtl8721d_ir.h * @author * @version V1.0.0 * @date 2017-09-18 * @brief This file contains all the functions prototypes for the IR firmware * library. ***********************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_ir.h
C
apache-2.0
23,013
/** ****************************************************************************** * @file rtl8721d_keyscan.h * @author * @version V1.0.0 * @date 2017-10-16 * @brief This file contains all the functions prototypes for the keyscan. *******************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_keyscan.h
C
apache-2.0
15,950
/** ****************************************************************************** * @file rtl8721d_lcdc.h * @author * @version V1.0.0 * @date 2017-08-07 * @brief This file contains all the functions prototypes for the LCDC firmware * library. *******************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_lcdc.h
C
apache-2.0
53,587
/** ****************************************************************************** * @file rtl8721d_loguart.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for UART LOG firmware * library. ****************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_loguart.h
C
apache-2.0
2,688
/** ****************************************************************************** * @file rtl8721d_ota.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file provides firmware functions to manage the OTA functions. *********************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_ota.h
C
apache-2.0
6,711
/** ****************************************************************************** * @file rtl8721d_otf.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for the flash run time decrypt firmware * library. **************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_otf.h
C
apache-2.0
5,368
/** ****************************************************************************** * @file rtl8721d_pinmap.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file provides firmware functions to manage the following * functionalities of pin control: * - pinmux * ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_pinmap.h
C
apache-2.0
3,644
/** ****************************************************************************** * @file rtl8721d_pinmux.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for the pinmux firmware * library. ***************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_pinmux.h
C
apache-2.0
9,755
/** ****************************************************************************** * @file rtl8721d_pmc.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file provides firmware functions to manage the following * functionalities of the soc power management circut: * ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_pmc.h
C
apache-2.0
6,598
/** ****************************************************************************** * @file rtl8721d_psram.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for the PSRAM firmware * library. *****************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_psram.h
C
apache-2.0
28,272
/** ****************************************************************************** * @file rtl8721d_qdec.h * @author * @version V1.0.0 * @date 2017-10-16 * @brief This file contains all the functions prototypes for the QDecoder. *********************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_qdec.h
C
apache-2.0
21,783
/* * rtl8721d_ram_libc.h * * Definitions for RTL library functions */ #ifndef _RTL8721D_RAM_LIBC_H_ #define _RTL8721D_RAM_LIBC_H_ #include <basic_types.h> #include <diag.h> #include <va_list.h> extern int _rtl_vsprintf(char *buf, size_t size, const char *fmt, const int *dp); extern int _rtl_printf(IN const char...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_ram_libc.h
C
apache-2.0
642
/** ****************************************************************************** * @file rtl8721d_rtc.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for the RTC firmware * library. *********************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_rtc.h
C
apache-2.0
17,771
/** ****************************************************************************** * @file rtl8721d_sdio.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for the SDIO firmware * library. *******************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_sdio.h
C
apache-2.0
9,085
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #ifndef _RTL8721D_SDIO_HOST_H_ #define _RTL8721D_SDIO_HOST_H_ #define...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_sdio_host.h
C
apache-2.0
19,445
/** ****************************************************************************** * @file rtl8721d_sdioh.h * @author * @version V1.0.0 * @date 2018-06-29 * @brief This file contains all the functions prototypes for the SDIOH firmware * library. *****************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_sdioh.h
C
apache-2.0
15,428
/** ****************************************************************************** * @file rtl8721_sgpio.h * @author * @version V1.0.0 * @date 2017-10-16 * @brief This file contains all the functions prototypes for the SGPIO firmware * library. ******************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_sgpio.h
C
apache-2.0
54,067
#ifndef _RTL8721D_SIMULATION_H_ #define _RTL8721D_SIMULATION_H_ /* CPUID */ #define SIMULATION_KM0_CPUID 0 #define SIMULATION_KM4_CPUID 1 /* REG */ #define KM0_SIMULATION_STAGE_REG 0x144 #define KM4_SIMULATION_STAGE_REG 0x148 /* KM0 STAGE */ #define BIT_KM0_RUN_INTO_FLASH BIT(0) /* boot into flash */ #defi...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_simulation.h
C
apache-2.0
3,029
#ifndef _HAL_SOCPS_H_ #define _HAL_SOCPS_H_ typedef struct { u32 Module; u32 Status; } PWRCFG_TypeDef; typedef struct { u32 Pinmux; /* PINMUX_S0/S1/S2 based on aon_wakepin */ u32 Status; u32 Polarity; /* 1 is high, 0 is low */ } WAKEPIN_TypeDef; typedef struct { u32 Module; u32 Event; u32 Status; } HSWAKEEVE...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_soc_ps.h
C
apache-2.0
2,051
/** ****************************************************************************** * @file rtl8721d_ssi.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for the SPI firmware * library. *********************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_ssi.h
C
apache-2.0
25,533
#ifndef __INC_RTL8721D_SYS_ON_BIT_H #define __INC_RTL8721D_SYS_ON_BIT_H //================= SYSON Register Address Definition =====================// #define REG_SYS_NORESET_FF 0x0138 #endif //__INC_RTL8721D_SYS_ON_BIT_H
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_sys_on.h
C
apache-2.0
228
/** ****************************************************************************** * @file rtl8721d_syscfg.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for SYSCFG firmware * library. *******************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_syscfg.h
C
apache-2.0
5,494
/**************************************************************************//** * @file system_ARMCM3.h * @brief CMSIS Device System Header File for * ARMCM3 Device Series * @version V1.08 * @date 23. November 2012 * * @note * **************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_system.h
C
apache-2.0
2,840
/** ****************************************************************************** * @file rtl8721d_tim.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for the Timer firmware * library. *******************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_tim.h
C
apache-2.0
33,568
/** ****************************************************************************** * @file rtl8721d_trustzone.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the definations of trustzone. *****************************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_trustzone.h
C
apache-2.0
2,815
/** ****************************************************************************** * @file rtl8721d_uart.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for the UART firmware * library. *******************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_uart.h
C
apache-2.0
32,656
/** ****************************************************************************** * @file rtl8721d_usi_ssi.h * @author * @version V1.0.0 * @date 2017-11-27 * @brief This file contains all the functions prototypes for the SPI firmware * library. *****************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_usi_ssi.h
C
apache-2.0
16,725
/** ****************************************************************************** * @file rtl8721d_usi_uart.h * @author * @version V1.0.0 * @date 2017-09-26 * @brief This file contains all the functions prototypes for the USI firmware * library. ****************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_usi_uart.h
C
apache-2.0
23,615
/** ****************************************************************************** * @file rtl8721d_vector.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for the IRQ firmware * library. ******************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_vector.h
C
apache-2.0
12,206
/** ****************************************************************************** * @file rtl8721d_wdg.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for the WDG firmware * library. *********************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_wdg.h
C
apache-2.0
5,203
#ifndef __INC_RTL8711B_WL_ON_H #define __INC_RTL8711B_WL_ON_H /* this is a subset of hal_com_reg.h */ /* BIT_WL_PMC_OFFMAC 0x0020 */ #define BIT_WL_PMC_OFFMAC (0x00000001 << 1) /*!< Auto FSM to Turn On, include clock, isolation, power control for MAC only (auto set by ICFG, and clear when Power Ready...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721d_wl_on.h
C
apache-2.0
5,396
/** ****************************************************************************** * @file rtl8721dhp_rcc.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for peripheral reset and clock control driver. ***************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721dhp_rcc.h
C
apache-2.0
8,951
/** ****************************************************************************** * @file rtl8721dhp_sd.h * @author * @version V1.0.0 * @date 2018-06-29 * @brief This file contains all the functions prototypes for the SDIOH firmware * library. ******************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721dhp_sd.h
C
apache-2.0
9,180
/** ****************************************************************************** * @file rtl8721dlp_km4.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for km0 control km4. *****************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721dlp_km4.h
C
apache-2.0
2,962
/** ****************************************************************************** * @file rtl8721dlp_rcc.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for peripheral reset and clock control driver. ***************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/rtl8721dlp_rcc.h
C
apache-2.0
7,352
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #ifndef _SECTION_CONFIG_H_ #define _SECTION_CONFIG_H_ #include "basic_t...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/section_config.h
C
apache-2.0
5,750
/** ****************************************************************************** * @file rtl8721d_adc.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file provides firmware functions to manage the following * functionalities of the Analog to Digital Convertor (ADC) periph...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_adc.c
C
apache-2.0
19,454
/** ****************************************************************************** * @file rtl8721d_bor.c * @author * @version V1.0.0 * @date 2017-10-16 * @brief This file contains all the functions prototypes for the bor firmware * library, including the following functionalities of b...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_bor.c
C
apache-2.0
4,813
/** ****************************************************************************** * @file rtl8721dlp_captouch.c * @author * @version V1.0.0 * @date 2017-11-06 * @brief This file contains all the functions prototypes for the CapTouch function *******************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_captouch.c
C
apache-2.0
18,278
/** ****************************************************************************** * @file rtl8721d_comparator.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file provides firmware functions to manage the following * functionalities of the Comparator peripheral: * ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_comparator.c
C
apache-2.0
7,438
/** ****************************************************************************** * @file rtl8721d_efuse.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions patch for EFUSE rom code. ***********************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_efuse.c
C
apache-2.0
777
/** ****************************************************************************** * @file rtl8721d_flash_ram.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file provides firmware functions to manage the flash RAM functions. **************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_flash_ram.c
C
apache-2.0
17,026
/* * Routines to access hardware * * Copyright (c) 2015 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "ameba_soc.h" struct gdma_memcopy_s { u32 ch_num; volatile ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_gdma_memcpy.c
C
apache-2.0
2,954
/** ****************************************************************************** * @file rtl8721d_i2c.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for the I2C firmware * library, including the following functionalities of theI...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_i2c.c
C
apache-2.0
33,860
/** ****************************************************************************** * @file rtl8721d_ipc_api.c * @author * @version V1.0.0 * @date 2018-06-11 * @brief This file contains all the API for the IPC function * library. **********************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_ipc_api.c
C
apache-2.0
2,519
/** ****************************************************************************** * @file rtl8721dhp_ir.c * @author * @version V1.0.0 * @date 2017-09-17 * @brief This file contains all the functions prototypes for the IR firmware * library, including the following functionalities of t...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_ir.c
C
apache-2.0
15,591
/** ****************************************************************************** * @file rtl8721dlp_keyscan.c * @author * @version V1.0.0 * @date 2017-10-16 * @brief This file contains all the functions prototypes for the keyscan firmware * library, including the following functional...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_keyscan.c
C
apache-2.0
9,634
/** ****************************************************************************** * @file rtl8721d_pll.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file provides firmware functions to manage the following * functionalities of the NCO clock: * - NCO32k * ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_pll.c
C
apache-2.0
10,558
/** ****************************************************************************** * @file rtl8721dlp_qdec.c * @author * @version V1.0.0 * @date 2017-10-17 * @brief This file contains all the functions prototypes for the QDec firmware * library, including the following functionalities...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_qdec.c
C
apache-2.0
22,093
/* * Routines to access rom software library. * * Copyright (c) 2019 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "diag.h" #include "strproc.h" #include <stdarg.h>...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_ram_libc.c
C
apache-2.0
6,443
/** ****************************************************************************** * @file rtl8721d_rtc.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file provides firmware functions to manage the following * functionalities of the Real-Time Clock (RTC) peripheral: * ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_rtc.c
C
apache-2.0
31,207
/** ****************************************************************************** * @file rtl8721dlp_sgpio.c * @author * @version V1.0.0 * @date 2017-10-16 * @brief This file provides firmware rom patch functions to manage clk *********************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_sgpio.c
C
apache-2.0
39,030
/** ****************************************************************************** * @file rtl8721d_tim.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file provides firmware functions to manage the following * functionalities of the Timer peripheral: * - Initi...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_tim.c
C
apache-2.0
17,890
/** ****************************************************************************** * @file rtl8721d_uart.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for the UART firmware * library, including the following functionalities of...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_uart.c
C
apache-2.0
20,034
/** ****************************************************************************** * @file rtl8721d_wdg.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file provides firmware functions to manage the following * functionalities of the Watch Dog (WDG) peripheral: * ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/rtl8721d_wdg.c
C
apache-2.0
4,698
#include <k_api.h> #include "sys_api.h" #include "sleep_ex_api.h" //#include "alios_service.h" uint32_t missing_tick = 0; static uint32_t wakelock = DEFAULT_WAKELOCK; static uint32_t sleepwakelock_timeout = 0; static u32 system_can_yield = 1; /* default is can */ static uint32_t sleep_type = SLEEP_P...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721d_alios_pmu.c
C
apache-2.0
7,049
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "ameba_soc.h" #include "rtl8721d_system.h" #include "psram_rese...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_app_start.c
C
apache-2.0
10,041
/** ****************************************************************************** * @file rtl8721dhp_audio.c * @author * @version V1.0.0 * @date 2017-12-13 * @brief This file provides firmware functions to manage the following * functionalities of the Audio codec peripheral: * ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_audio.c
C
apache-2.0
14,718
/** ****************************************************************************** * @file rtl8721dhp_clk.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file provides firmware rom patch functions to manage clk ***********************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_clk.c
C
apache-2.0
2,040
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "ameba_soc.h" #if (defined(CONFIG_CP)) BOOT_RAM_TEXT_SECTION...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_cpft.c
C
apache-2.0
3,881
/** ****************************************************************************** * @file rtl8721dhp_i2s.c * @author * @version V1.0.0 * @date 2017-11-03 * @brief This file provides firmware functions to manage the following * functionalities of the Inter-IC Sound (I2S) peripheral: * ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_i2s.c
C
apache-2.0
20,689
/** ****************************************************************************** * @file rtl8721dhp_lcdc.c * @author * @version V1.0.0 * @date 2017-08-14 * @brief This file contains all the functions prototypes for the LCDC firmware * library, including the following functionalities ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_lcdc.c
C
apache-2.0
36,545
/** ****************************************************************************** * @file rtl8721dhp_ota_ram.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file provides firmware functions to manage the OTA functions. ***************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_ota_ram.c
C
apache-2.0
2,483
#include "ameba_soc.h" extern SDIOHCFG_TypeDef sdioh_config; SRAM_NOCACHE_DATA_SECTION SD_CardInfo card_info; static void SDIOH_Pinmux(void) { u32 tmp; /* SDIOH pinmux enable */ tmp = HAL_READ32(SYSTEM_CTRL_BASE, REG_HS_SDIO_CTRL); tmp |= BIT_HS_SDIOH_PIN_EN; HAL_WRITE32(SYSTEM_CTRL_BASE, REG_HS_SDIO_CTRL, tm...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_sd.c
C
apache-2.0
44,235
/** ****************************************************************************** * @file rtl8721dhp_sdio.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file provides firmware functions to manage the * functionalities of the SDIO device peripheral: *********************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_sdio.c
C
apache-2.0
6,237
#include "ameba_soc.h" SDIOH_InitTypeDef sdioh_init_para; /** * @brief Check SDIOH is busy or not. * @param None * @retval SDIOH busy status value: * - HAL_BUSY: Busy * - HAL_OK: Not Busy */ u32 SDIOH_Busy(void) { SDIOH_TypeDef *psdioh = SDIOH_BASE; u8 idle_level = sdioh_init_para....
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_sdio_host.c
C
apache-2.0
14,280
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "ameba_soc.h" VOID app_simulation_task(VOID *Data) { /* To av...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_simulation.c
C
apache-2.0
1,151
/** ****************************************************************************** * @file rtl8721dhp_ssi.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions prototypes for Serial peripheral interface (SPI): * - Initialization * - Clock polarity and ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_ssi.c
C
apache-2.0
35,222
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * 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/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_startup.c
C
apache-2.0
247
/**************************************************************************//** * @file rtl8721dhp_system.c * @brief CMSIS Device System Source File for * ARMCM3 Device Series * @version V1.08 * @date 23. November 2012 * * @note * **********************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_system.c
C
apache-2.0
5,280
/** ****************************************************************************** * @file rtl8721dhp_usi_i2c.c * @author * @version V1.0.0 * @date 2017-12-18 * @brief This file contains all the functions prototypes for the I2C firmware * library, including the following functionalities o...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_usi_i2c.c
C
apache-2.0
31,967
/** ****************************************************************************** * @file rtl8721dhp_usi_ssi.c * @author * @version V1.0.0 * @date 2017-11-27 * @brief This file contains all the functions prototypes for USI-SPI: * - Initialization * - Clock polarity and phase setting * - S...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_usi_ssi.c
C
apache-2.0
36,965
/** ****************************************************************************** * @file rtl8721dhp_usi_uart.c * @author * @version V1.0.0 * @date 2017-09-30 * @brief This file contains all the functions prototypes for the USI UART firmware * library, including the following function...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/rtl8721dhp_usi_uart.c
C
apache-2.0
44,089
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "ameba_soc.h" #include "rtl8721d_system.h" #if defined ( __ICCA...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_lp/rtl8721dlp_app_start.c
C
apache-2.0
11,592
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "ameba_soc.h" #if (defined(CONFIG_CP)) BOOT_RAM_TEXT_SECTION...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_lp/rtl8721dlp_cpft.c
C
apache-2.0
3,881
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "ameba_soc.h" static FlashInfo_TypeDef *current_IC; /* Flag t...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_lp/rtl8721dlp_flashclk.c
C
apache-2.0
11,281
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "ameba_soc.h" CPU_PWR_SEQ SYSPLL_ON_SEQ[] = { /* Enable SYS ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_lp/rtl8721dlp_km4.c
C
apache-2.0
13,052
/** ****************************************************************************** * @file rtl8721dlp_pinmap.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file provides firmware functions to manage the following * functionalities of pin control: * - pinmux ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_lp/rtl8721dlp_pinmap.c
C
apache-2.0
4,683
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "ameba_soc.h" VOID app_simulation_task(VOID *Data) { /* To av...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_lp/rtl8721dlp_simulation.c
C
apache-2.0
1,844
/**************************************************************************//** * @file rtl8721dlp_system.c * @brief CMSIS Device System Source File for * ARMCM3 Device Series * @version V1.08 * @date 23. November 2012 * * @note * **********************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_lp/rtl8721dlp_system.c
C
apache-2.0
3,481
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #ifndef _RTL8195A_OTG_H_ #define _RTL8195A_OTG_H_ #define OTG_FAST_INIT...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/ameba_otg.h
C
apache-2.0
1,632
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #ifndef RTL8195A_OTG_ZERO_H #define RTL8195A_OTG_ZERO_H #include "usb_c...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/ameba_otg_zero.h
C
apache-2.0
916
//#include "../otg/osk/sys-support.h" //ModifiedByJD /* * USB Communications Device Class (CDC) definitions * * CDC says how to talk to lots of different types of network adapters, * notably ethernet adapters and various modems. It's used mostly with * firmware based USB peripherals. */ #define USB_CDC_SU...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/cdc.h
C
apache-2.0
5,962
/* $OpenBSD: queue.h,v 1.26 2004/05/04 16:59:32 grange Exp $ */ /* $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $ */ /* * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/dwc_list.h
C
apache-2.0
19,974
/* ========================================================================= * $File: //dwh/usb_iip/dev/software/dwc_common_port_2/dwc_os.h $ * $Revision: #14 $ * $Date: 2010/11/04 $ * $Change: 1621695 $ * * Synopsys Portability Library Software and documentation * (hereinafter, "Software") is an Unsupported pro...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/dwc_os.h
C
apache-2.0
39,100
/* ========================================================================== * $File: //dwh/usb_iip/dev/software/otg/linux/drivers/dwc_otg_adp.h $ * $Revision: #8 $ * $Date: 2013/04/09 $ * $Change: 2201932 $ * * Synopsys HS OTG Linux Software Driver and documentation (hereinafter, * "Software") is an Unsupporte...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/dwc_otg_adp.h
C
apache-2.0
3,501
/* ========================================================================== * $File: //dwh/usb_iip/dev/software/otg/linux/drivers/dwc_otg_attr.h $ * $Revision: #13 $ * $Date: 2010/06/21 $ * $Change: 1532021 $ * * Synopsys HS OTG Linux Software Driver and documentation (hereinafter, * "Software") is an Unsuppor...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/dwc_otg_attr.h
C
apache-2.0
3,730
/* ========================================================================== * $File: //dwh/usb_iip/dev/software/otg/linux/drivers/dwc_otg_cil.h $ * $Revision: #128 $ * $Date: 2013/05/16 $ * $Change: 2231774 $ * * Synopsys HS OTG Linux Software Driver and documentation (hereinafter, * "Software") is an Unsuppor...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/dwc_otg_cil.h
C
apache-2.0
39,659
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "basic_types.h" //#include "va_list.h" #include <stdarg.h> #inc...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/dwc_otg_common.h
C
apache-2.0
3,664
/* ========================================================================== * $File: //dwh/usb_iip/dev/software/otg/linux/drivers/dwc_otg_core_if.h $ * $Revision: #15 $ * $Date: 2012/12/10 $ * $Change: 2123206 $ * * Synopsys HS OTG Linux Software Driver and documentation (hereinafter, * "Software") is an Unsup...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/dwc_otg_core_if.h
C
apache-2.0
28,346
/* ========================================================================== * * Synopsys HS OTG Linux Software Driver and documentation (hereinafter, * "Software") is an Unsupported proprietary work of Synopsys, Inc. unless * otherwise expressly agreed to in writing between Synopsys and you. * * The Software I...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/dwc_otg_dbg.h
C
apache-2.0
4,097
/* ========================================================================== * $File: //dwh/usb_iip/dev/software/otg/linux/drivers/dwc_otg_driver.h $ * $Revision: #19 $ * $Date: 2010/11/15 $ * $Change: 1627671 $ * * Synopsys HS OTG Linux Software Driver and documentation (hereinafter, * "Software") is an Unsupp...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/dwc_otg_driver.h
C
apache-2.0
4,334
/* ========================================================================== * $File: //dwh/usb_iip/dev/software/otg/linux/drivers/dwc_otg_hcd.h $ * $Revision: #58 $ * $Date: 2011/09/15 $ * $Change: 1846647 $ * * Synopsys HS OTG Linux Software Driver and documentation (hereinafter, * "Software") is an Unsupport...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/dwc_otg_hcd.h
C
apache-2.0
23,319
/* ========================================================================== * $File: //dwh/usb_iip/dev/software/otg/linux/drivers/dwc_otg_hcd_if.h $ * $Revision: #12 $ * $Date: 2011/10/26 $ * $Change: 1873028 $ * * Synopsys HS OTG Linux Software Driver and documentation (hereinafter, * "Software") is an Unsupp...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/dwc_otg_hcd_if.h
C
apache-2.0
13,528
#ifndef _DWC_OS_DEP_H_ #define _DWC_OS_DEP_H_ #include "usb_errno.h" #endif /* _DWC_OS_DEP_H_ */
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/dwc_otg_os_dep.h
C
apache-2.0
98
/* ========================================================================== * $File: //dwh/usb_iip/dev/software/otg/linux/drivers/dwc_otg_pcd.h $ * $Revision: #49 $ * $Date: 2013/05/16 $ * $Change: 2231774 $ * * Synopsys HS OTG Linux Software Driver and documentation (hereinafter, * "Software") is an Unsupport...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/dwc_otg_pcd.h
C
apache-2.0
8,317
/* ========================================================================== * $File: //dwh/usb_iip/dev/software/otg/linux/drivers/dwc_otg_pcd_if.h $ * $Revision: #13 $ * $Date: 2012/12/12 $ * $Change: 2125019 $ * * Synopsys HS OTG Linux Software Driver and documentation (hereinafter, * "Software") is an Unsupp...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/dwc_otg_pcd_if.h
C
apache-2.0
15,107
/* ========================================================================== * $File: //dwh/usb_iip/dev/software/otg/linux/drivers/dwc_otg_regs.h $ * $Revision: #99 $ * $Date: 2012/12/10 $ * $Change: 2123206 $ * * Synopsys HS OTG Linux Software Driver and documentation (hereinafter, * "Software") is an Unsuppor...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/dwc_otg_regs.h
C
apache-2.0
72,243