提交 98b98124 编写于 作者: Y yanmowudi 提交者: guo

delete swm320-lq100 bsp

上级 0c35b803
......@@ -147,7 +147,6 @@ jobs:
- {RTT_BSP: "wch/arm/ch32f103c8-core", RTT_TOOL_CHAIN: "sourcery-arm"}
- {RTT_BSP: "wch/arm/ch32f203r-evt", RTT_TOOL_CHAIN: "sourcery-arm"}
- {RTT_BSP: "swm320", RTT_TOOL_CHAIN: "sourcery-arm"}
- {RTT_BSP: "swm320-lq100", RTT_TOOL_CHAIN: "sourcery-arm"}
- {RTT_BSP: "beaglebone", RTT_TOOL_CHAIN: "sourcery-arm"}
- {RTT_BSP: "zynqmp-r5-axu4ev", RTT_TOOL_CHAIN: "sourcery-arm"}
- {RTT_BSP: "frdm-k64f", RTT_TOOL_CHAIN: "sourcery-arm"}
......
......@@ -104,7 +104,6 @@ pipeline {
// ['stm32/stm32l496-ali-developer', 'sourcery-arm'], /* CI compile C99 not support */
// ['stm32/stm32l496-st-nucleo', 'sourcery-arm'], /* CI compile C99 not support */
['stm32f20x', 'sourcery-arm'],
['swm320-lq100', 'sourcery-arm'],
['beaglebone', 'sourcery-arm'],
['frdm-k64f', 'sourcery-arm'],
['xplorer4330/M4', 'sourcery-arm'],
......
......@@ -705,7 +705,6 @@ Path:
bsp 列表:
- swm320
- swm320-lq100
------
......@@ -716,7 +715,6 @@ Copyright: COPYRIGHT 2012 Synwit Technology
Path:
- bsp/swm320/libraries/CMSIS/DeviceSupport
- bsp/swm320-lq100/Libraries/SWM320_StdPeriph_Driver
------
......@@ -727,7 +725,6 @@ Copyright: Copyright (c) 2009 - 2014 ARM LIMITED
Path:
- bsp/swm320/libraries/CMSIS
- bsp/swm320-lq100/Libraries/CMSIS/CoreSupport
### tae32f5300
......
......@@ -148,7 +148,7 @@
</toolChain>
</folderInfo>
<sourceEntries>
<entry excluding="drivers/audio|drivers/drv_clcd.c|packages|rt-thread/bsp/CME_M7|rt-thread/bsp/allwinner_tina|rt-thread/bsp/amebaz|rt-thread/bsp/apollo2|rt-thread/bsp/asm9260t|rt-thread/bsp/at91sam9260|rt-thread/bsp/at91sam9g45|rt-thread/bsp/avr32uc3b0|rt-thread/bsp/beaglebone|rt-thread/bsp/bf533|rt-thread/bsp/ck802|rt-thread/bsp/dm365|rt-thread/bsp/efm32|rt-thread/bsp/es32f0334|rt-thread/bsp/es32f0654|rt-thread/bsp/fh8620|rt-thread/bsp/frdm-k64f|rt-thread/bsp/gd32303e-eval|rt-thread/bsp/gd32450z-eval|rt-thread/bsp/gd32e230k-start|rt-thread/bsp/gkipc|rt-thread/bsp/hifive1|rt-thread/bsp/imx6sx|rt-thread/bsp/imx6ul|rt-thread/bsp/imxrt|rt-thread/bsp/k210|rt-thread/bsp/lm3s8962|rt-thread/bsp/lm3s9b9x|rt-thread/bsp/lm4f232|rt-thread/bsp/lpc176x|rt-thread/bsp/lpc178x|rt-thread/bsp/lpc2148|rt-thread/bsp/lpc2478|rt-thread/bsp/lpc408x|rt-thread/bsp/lpc43xx|rt-thread/bsp/lpc5410x|rt-thread/bsp/lpc54114-lite|rt-thread/bsp/lpc54608-LPCXpresso|rt-thread/bsp/lpc824|rt-thread/bsp/ls1bdev|rt-thread/bsp/ls1cdev|rt-thread/bsp/m16c62p|rt-thread/bsp/mb9bf500r|rt-thread/bsp/mb9bf506r|rt-thread/bsp/mb9bf568r|rt-thread/bsp/mb9bf618s|rt-thread/bsp/microblaze|rt-thread/bsp/mini2440|rt-thread/bsp/mini4020|rt-thread/bsp/mm32l07x|rt-thread/bsp/mm32l3xx|rt-thread/bsp/nios_ii|rt-thread/bsp/nrf51822|rt-thread/bsp/nrf52832|rt-thread/bsp/nuvoton_m05x|rt-thread/bsp/nuvoton_m451|rt-thread/bsp/nuvoton_m487|rt-thread/bsp/nuvoton_nuc472|rt-thread/bsp/nv32f100x|rt-thread/bsp/pic32ethernet|rt-thread/bsp/qemu-vexpress-gemini|rt-thread/bsp/raspi2|rt-thread/bsp/realview-a8|rt-thread/bsp/rm48x50|rt-thread/bsp/rv32m1_vega|rt-thread/bsp/rx|rt-thread/bsp/sam7x|rt-thread/bsp/samd21|rt-thread/bsp/sep6200|rt-thread/bsp/simulator|rt-thread/bsp/stm32|rt-thread/bsp/stm32f10x|rt-thread/bsp/stm32f10x-HAL|rt-thread/bsp/stm32f20x|rt-thread/bsp/stm32f40x|rt-thread/bsp/stm32f429-apollo|rt-thread/bsp/stm32f429-disco|rt-thread/bsp/stm32f4xx-HAL|rt-thread/bsp/stm32h743-nucleo|rt-thread/bsp/swm320-lq100|rt-thread/bsp/synopsys|rt-thread/bsp/taihu|rt-thread/bsp/tm4c129x|rt-thread/bsp/tms320f28379d|rt-thread/bsp/upd70f3454|rt-thread/bsp/w60x|rt-thread/bsp/wh44b0|rt-thread/bsp/x1000|rt-thread/bsp/x86|rt-thread/bsp/xplorer4330|rt-thread/bsp/zynq7000|rt-thread/components/dfs/filesystems/elmfat/option/cc932.c|rt-thread/components/dfs/filesystems/elmfat/option/cc936.c|rt-thread/components/dfs/filesystems/elmfat/option/cc949.c|rt-thread/components/dfs/filesystems/elmfat/option/cc950.c|rt-thread/components/dfs/filesystems/elmfat/option/ccfile.c|rt-thread/components/dfs/filesystems/elmfat/option/syscall.c|rt-thread/components/dfs/filesystems/elmfat/option/unicode.c|rt-thread/components/dfs/filesystems/jffs2|rt-thread/components/dfs/filesystems/nfs|rt-thread/components/dfs/filesystems/skeleton|rt-thread/components/dfs/filesystems/uffs|rt-thread/components/drivers/audio|rt-thread/components/drivers/can|rt-thread/components/drivers/cputime|rt-thread/components/drivers/hwtimer|rt-thread/components/drivers/i2c/fm24clxx.c|rt-thread/components/drivers/misc/adc.c|rt-thread/components/drivers/misc/rt_drv_pwm.c|rt-thread/components/drivers/mtd/mtd.c|rt-thread/components/drivers/mtd/mtdnand.c|rt-thread/components/drivers/mtd/mtdnor.c|rt-thread/components/drivers/pm|rt-thread/components/drivers/rtc/alarm.c|rt-thread/components/drivers/sensors|rt-thread/components/drivers/spi/enc28j60.c|rt-thread/components/drivers/spi/qspi_core.c|rt-thread/components/drivers/spi/spi_flash_at45dbxx.c|rt-thread/components/drivers/spi/spi_flash_gd.c|rt-thread/components/drivers/spi/spi_flash_sst25vfxx.c|rt-thread/components/drivers/spi/spi_flash_w25qxx.c|rt-thread/components/drivers/spi/spi_flash_w25qxx_mtd.c|rt-thread/components/drivers/spi/spi_wifi_rw009.c|rt-thread/components/drivers/usb|rt-thread/components/drivers/wlan|rt-thread/components/libc/compilers/armlibc|rt-thread/components/libc/compilers/dlib|rt-thread/components/libc/compilers/minilibc|rt-thread/components/libc/libdl|rt-thread/components/lwp/arch/arm/arm926|rt-thread/components/lwp/arch/arm/cortex-a9|rt-thread/components/lwp/arch/arm/cortex-m3|rt-thread/components/lwp/arch/arm/cortex-m4|rt-thread/components/lwp/arch/arm/cortex-m7|rt-thread/components/net/at|rt-thread/components/net/freemodbus|rt-thread/components/net/lwip-1.4.1|rt-thread/components/net/lwip-2.0.2/doc|rt-thread/components/net/lwip-2.0.2/src/apps/httpd|rt-thread/components/net/lwip-2.0.2/src/apps/lwiperf|rt-thread/components/net/lwip-2.0.2/src/apps/mdns|rt-thread/components/net/lwip-2.0.2/src/apps/mqtt|rt-thread/components/net/lwip-2.0.2/src/apps/netbiosns|rt-thread/components/net/lwip-2.0.2/src/apps/snmp|rt-thread/components/net/lwip-2.0.2/src/apps/sntp|rt-thread/components/net/lwip-2.0.2/src/apps/tftp|rt-thread/components/net/lwip-2.0.2/src/core/ipv6|rt-thread/components/net/lwip-2.0.2/src/core/mem.c|rt-thread/components/net/lwip-2.0.2/src/netif/ppp|rt-thread/components/net/lwip-2.0.2/src/netif/slipif.c|rt-thread/components/net/lwip-2.0.2/test|rt-thread/components/net/lwip-2.1.0|rt-thread/components/net/lwip_dhcpd|rt-thread/components/net/lwip_nat|rt-thread/components/net/sal_socket/impl/af_inet_at.c|rt-thread/components/net/sal_socket/impl/proto_mbedtls.c|rt-thread/components/net/uip|rt-thread/components/utilities|rt-thread/components/vbus|rt-thread/components/vmm|rt-thread/examples|rt-thread/libcpu/arc|rt-thread/libcpu/arm/AT91SAM7S|rt-thread/libcpu/arm/AT91SAM7X|rt-thread/libcpu/arm/am335x|rt-thread/libcpu/arm/arm926|rt-thread/libcpu/arm/armv6|rt-thread/libcpu/arm/common/divsi3.S|rt-thread/libcpu/arm/cortex-m0|rt-thread/libcpu/arm/cortex-m23|rt-thread/libcpu/arm/cortex-m3|rt-thread/libcpu/arm/cortex-m4|rt-thread/libcpu/arm/cortex-m7|rt-thread/libcpu/arm/cortex-r4|rt-thread/libcpu/arm/dm36x|rt-thread/libcpu/arm/lpc214x|rt-thread/libcpu/arm/lpc24xx|rt-thread/libcpu/arm/realview-a8-vmm|rt-thread/libcpu/arm/s3c24x0|rt-thread/libcpu/arm/s3c44b0|rt-thread/libcpu/arm/sep4020|rt-thread/libcpu/arm/zynq7000|rt-thread/libcpu/avr32|rt-thread/libcpu/blackfin|rt-thread/libcpu/c-sky|rt-thread/libcpu/ia32|rt-thread/libcpu/m16c|rt-thread/libcpu/mips|rt-thread/libcpu/nios|rt-thread/libcpu/ppc|rt-thread/libcpu/risc-v|rt-thread/libcpu/rx|rt-thread/libcpu/sim|rt-thread/libcpu/ti-dsp|rt-thread/libcpu/unicore32|rt-thread/libcpu/v850|rt-thread/libcpu/xilinx|rt-thread/src/slab.c|rt-thread/tools" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
<entry excluding="drivers/audio|drivers/drv_clcd.c|packages|rt-thread/bsp/CME_M7|rt-thread/bsp/allwinner_tina|rt-thread/bsp/amebaz|rt-thread/bsp/apollo2|rt-thread/bsp/asm9260t|rt-thread/bsp/at91sam9260|rt-thread/bsp/at91sam9g45|rt-thread/bsp/avr32uc3b0|rt-thread/bsp/beaglebone|rt-thread/bsp/bf533|rt-thread/bsp/ck802|rt-thread/bsp/dm365|rt-thread/bsp/efm32|rt-thread/bsp/es32f0334|rt-thread/bsp/es32f0654|rt-thread/bsp/fh8620|rt-thread/bsp/frdm-k64f|rt-thread/bsp/gd32303e-eval|rt-thread/bsp/gd32450z-eval|rt-thread/bsp/gd32e230k-start|rt-thread/bsp/gkipc|rt-thread/bsp/hifive1|rt-thread/bsp/imx6sx|rt-thread/bsp/imx6ul|rt-thread/bsp/imxrt|rt-thread/bsp/k210|rt-thread/bsp/lm3s8962|rt-thread/bsp/lm3s9b9x|rt-thread/bsp/lm4f232|rt-thread/bsp/lpc176x|rt-thread/bsp/lpc178x|rt-thread/bsp/lpc2148|rt-thread/bsp/lpc2478|rt-thread/bsp/lpc408x|rt-thread/bsp/lpc43xx|rt-thread/bsp/lpc5410x|rt-thread/bsp/lpc54114-lite|rt-thread/bsp/lpc54608-LPCXpresso|rt-thread/bsp/lpc824|rt-thread/bsp/ls1bdev|rt-thread/bsp/ls1cdev|rt-thread/bsp/m16c62p|rt-thread/bsp/mb9bf500r|rt-thread/bsp/mb9bf506r|rt-thread/bsp/mb9bf568r|rt-thread/bsp/mb9bf618s|rt-thread/bsp/microblaze|rt-thread/bsp/mini2440|rt-thread/bsp/mini4020|rt-thread/bsp/mm32l07x|rt-thread/bsp/mm32l3xx|rt-thread/bsp/nios_ii|rt-thread/bsp/nrf51822|rt-thread/bsp/nrf52832|rt-thread/bsp/nuvoton_m05x|rt-thread/bsp/nuvoton_m451|rt-thread/bsp/nuvoton_m487|rt-thread/bsp/nuvoton_nuc472|rt-thread/bsp/nv32f100x|rt-thread/bsp/pic32ethernet|rt-thread/bsp/qemu-vexpress-gemini|rt-thread/bsp/raspi2|rt-thread/bsp/realview-a8|rt-thread/bsp/rm48x50|rt-thread/bsp/rv32m1_vega|rt-thread/bsp/rx|rt-thread/bsp/sam7x|rt-thread/bsp/samd21|rt-thread/bsp/sep6200|rt-thread/bsp/simulator|rt-thread/bsp/stm32|rt-thread/bsp/stm32f10x|rt-thread/bsp/stm32f10x-HAL|rt-thread/bsp/stm32f20x|rt-thread/bsp/stm32f40x|rt-thread/bsp/stm32f429-apollo|rt-thread/bsp/stm32f429-disco|rt-thread/bsp/stm32f4xx-HAL|rt-thread/bsp/stm32h743-nucleo|rt-thread/bsp/synopsys|rt-thread/bsp/taihu|rt-thread/bsp/tm4c129x|rt-thread/bsp/tms320f28379d|rt-thread/bsp/upd70f3454|rt-thread/bsp/w60x|rt-thread/bsp/wh44b0|rt-thread/bsp/x1000|rt-thread/bsp/x86|rt-thread/bsp/xplorer4330|rt-thread/bsp/zynq7000|rt-thread/components/dfs/filesystems/elmfat/option/cc932.c|rt-thread/components/dfs/filesystems/elmfat/option/cc936.c|rt-thread/components/dfs/filesystems/elmfat/option/cc949.c|rt-thread/components/dfs/filesystems/elmfat/option/cc950.c|rt-thread/components/dfs/filesystems/elmfat/option/ccfile.c|rt-thread/components/dfs/filesystems/elmfat/option/syscall.c|rt-thread/components/dfs/filesystems/elmfat/option/unicode.c|rt-thread/components/dfs/filesystems/jffs2|rt-thread/components/dfs/filesystems/nfs|rt-thread/components/dfs/filesystems/skeleton|rt-thread/components/dfs/filesystems/uffs|rt-thread/components/drivers/audio|rt-thread/components/drivers/can|rt-thread/components/drivers/cputime|rt-thread/components/drivers/hwtimer|rt-thread/components/drivers/i2c/fm24clxx.c|rt-thread/components/drivers/misc/adc.c|rt-thread/components/drivers/misc/rt_drv_pwm.c|rt-thread/components/drivers/mtd/mtd.c|rt-thread/components/drivers/mtd/mtdnand.c|rt-thread/components/drivers/mtd/mtdnor.c|rt-thread/components/drivers/pm|rt-thread/components/drivers/rtc/alarm.c|rt-thread/components/drivers/sensors|rt-thread/components/drivers/spi/enc28j60.c|rt-thread/components/drivers/spi/qspi_core.c|rt-thread/components/drivers/spi/spi_flash_at45dbxx.c|rt-thread/components/drivers/spi/spi_flash_gd.c|rt-thread/components/drivers/spi/spi_flash_sst25vfxx.c|rt-thread/components/drivers/spi/spi_flash_w25qxx.c|rt-thread/components/drivers/spi/spi_flash_w25qxx_mtd.c|rt-thread/components/drivers/spi/spi_wifi_rw009.c|rt-thread/components/drivers/usb|rt-thread/components/drivers/wlan|rt-thread/components/libc/compilers/armlibc|rt-thread/components/libc/compilers/dlib|rt-thread/components/libc/compilers/minilibc|rt-thread/components/libc/libdl|rt-thread/components/lwp/arch/arm/arm926|rt-thread/components/lwp/arch/arm/cortex-a9|rt-thread/components/lwp/arch/arm/cortex-m3|rt-thread/components/lwp/arch/arm/cortex-m4|rt-thread/components/lwp/arch/arm/cortex-m7|rt-thread/components/net/at|rt-thread/components/net/freemodbus|rt-thread/components/net/lwip-1.4.1|rt-thread/components/net/lwip-2.0.2/doc|rt-thread/components/net/lwip-2.0.2/src/apps/httpd|rt-thread/components/net/lwip-2.0.2/src/apps/lwiperf|rt-thread/components/net/lwip-2.0.2/src/apps/mdns|rt-thread/components/net/lwip-2.0.2/src/apps/mqtt|rt-thread/components/net/lwip-2.0.2/src/apps/netbiosns|rt-thread/components/net/lwip-2.0.2/src/apps/snmp|rt-thread/components/net/lwip-2.0.2/src/apps/sntp|rt-thread/components/net/lwip-2.0.2/src/apps/tftp|rt-thread/components/net/lwip-2.0.2/src/core/ipv6|rt-thread/components/net/lwip-2.0.2/src/core/mem.c|rt-thread/components/net/lwip-2.0.2/src/netif/ppp|rt-thread/components/net/lwip-2.0.2/src/netif/slipif.c|rt-thread/components/net/lwip-2.0.2/test|rt-thread/components/net/lwip-2.1.0|rt-thread/components/net/lwip_dhcpd|rt-thread/components/net/lwip_nat|rt-thread/components/net/sal_socket/impl/af_inet_at.c|rt-thread/components/net/sal_socket/impl/proto_mbedtls.c|rt-thread/components/net/uip|rt-thread/components/utilities|rt-thread/components/vbus|rt-thread/components/vmm|rt-thread/examples|rt-thread/libcpu/arc|rt-thread/libcpu/arm/AT91SAM7S|rt-thread/libcpu/arm/AT91SAM7X|rt-thread/libcpu/arm/am335x|rt-thread/libcpu/arm/arm926|rt-thread/libcpu/arm/armv6|rt-thread/libcpu/arm/common/divsi3.S|rt-thread/libcpu/arm/cortex-m0|rt-thread/libcpu/arm/cortex-m23|rt-thread/libcpu/arm/cortex-m3|rt-thread/libcpu/arm/cortex-m4|rt-thread/libcpu/arm/cortex-m7|rt-thread/libcpu/arm/cortex-r4|rt-thread/libcpu/arm/dm36x|rt-thread/libcpu/arm/lpc214x|rt-thread/libcpu/arm/lpc24xx|rt-thread/libcpu/arm/realview-a8-vmm|rt-thread/libcpu/arm/s3c24x0|rt-thread/libcpu/arm/s3c44b0|rt-thread/libcpu/arm/sep4020|rt-thread/libcpu/arm/zynq7000|rt-thread/libcpu/avr32|rt-thread/libcpu/blackfin|rt-thread/libcpu/c-sky|rt-thread/libcpu/ia32|rt-thread/libcpu/m16c|rt-thread/libcpu/mips|rt-thread/libcpu/nios|rt-thread/libcpu/ppc|rt-thread/libcpu/risc-v|rt-thread/libcpu/rx|rt-thread/libcpu/sim|rt-thread/libcpu/ti-dsp|rt-thread/libcpu/unicore32|rt-thread/libcpu/v850|rt-thread/libcpu/xilinx|rt-thread/src/slab.c|rt-thread/tools" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>
......
此差异已折叠。
mainmenu "RT-Thread Configuration"
config BSP_DIR
string
option env="BSP_ROOT"
default "."
config RTT_DIR
string
option env="RTT_ROOT"
default "../.."
config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
source "drivers/Kconfig"
config SOC_SWM320
bool
select ARCH_ARM_CORTEX_M4
default y
#ifndef __SYSTEM_SWM320_H__
#define __SYSTEM_SWM320_H__
#ifdef __cplusplus
extern "C"
{
#endif
extern uint32_t SystemCoreClock; // System Clock Frequency (Core Clock)
extern uint32_t CyclesPerUs; // Cycles per micro second
extern void SystemInit(void);
extern void SystemCoreClockUpdate(void);
extern void switchCLK_20MHz(void);
extern void switchCLK_40MHz(void);
extern void switchCLK_32KHz(void);
extern void switchCLK_XTAL(void);
extern void switchCLK_PLL(void);
extern void PLLInit(void);
#ifdef __cplusplus
}
#endif
#endif //__SYSTEM_SWM320_H__
from building import *
import rtconfig
cwd = GetCurrentDir()
src = Glob('CMSIS/DeviceSupport/*.c')
CPPPATH = [cwd + '/CMSIS/CoreSupport', cwd + '/CMSIS/DeviceSupport', cwd + '/SWM320_StdPeriph_Driver']
src += Glob('SWM320_StdPeriph_Driver/*.c')
if rtconfig.CROSS_TOOL == 'gcc':
src += ['CMSIS/DeviceSupport/startup/gcc/startup_SWM320.s']
elif rtconfig.CROSS_TOOL == 'keil':
src += ['CMSIS/DeviceSupport/startup/arm/startup_SWM320.s']
elif rtconfig.CROSS_TOOL == 'iar':
src += ['CMSIS/DeviceSupport/startup/iar/startup_SWM320.s']
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
#ifndef __SWM320_CRC_H__
#define __SWM320_CRC_H__
#define CRC32_IN32 0 //CRC32算法,输入数据32位
#define CRC32_IN16 2 //CRC32算法,输入数据16位
#define CRC32_IN8 4 //CRC32算法,输入数据 8位
#define CRC16_IN16 3 //CRC16算法,输入数据16位
#define CRC16_IN8 5 //CRC16算法,输入数据 8位
void CRC_Init(CRC_TypeDef *CRCx, uint32_t mode, uint32_t out_not, uint32_t out_rev, uint32_t ini_val);
/******************************************************************************************************************************************
* 函数名称: CRC_Write()
* 功能说明: CRC写入数据
* 输 入: uint32_t data 要写入的数据
* 输 出: 无
* 注意事项: 无
******************************************************************************************************************************************/
static __INLINE void CRC_Write(uint32_t data)
{
CRC->DATAIN = data;
}
/******************************************************************************************************************************************
* 函数名称: CRC_Result()
* 功能说明: 获取CRC计算结果
* 输 入: 无
* 输 出: uint32_t CRC 计算结果
* 注意事项: 无
******************************************************************************************************************************************/
static __INLINE uint32_t CRC_Result(void)
{
return CRC->RESULT;
}
#endif //__SWM320_CRC_H__
#ifndef __SWM320_WDT_H__
#define __SWM320_WDT_H__
#define WDT_MODE_RESET 0
#define WDT_MODE_INTERRUPT 1
void WDT_Init(WDT_TypeDef *WDTx, uint32_t peroid, uint32_t mode); //WDT看门狗初始化
void WDT_Start(WDT_TypeDef *WDTx); //启动指定WDT,开始倒计时
void WDT_Stop(WDT_TypeDef *WDTx); //关闭指定WDT,停止倒计时
void WDT_Feed(WDT_TypeDef *WDTx); //喂狗,重新从装载值开始倒计时
int32_t WDT_GetValue(WDT_TypeDef *WDTx); //获取指定看门狗定时器的当前倒计时值
void WDT_INTClr(WDT_TypeDef *WDTx); //中断标志清除
uint32_t WDT_INTStat(WDT_TypeDef *WDTx); //中断状态查询
#endif //__SWM320_WDT_H__
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册