⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 teststr.c

📁 实现在ARM上的ICP/IP功能的源代码。
💻 C
字号:
#include "true_false.h"
#include "stdlib.h"
#include "typedef.h"
#include "mem_man.h"
#include "rtl8019.h"
#include "netif.h"
#include "etherif.h"
#include "ip.h"
#include "arp.h"
#include "utilities.h"
#include "tcp.h"


u32_t ip=0;
u8_t t[20],sip[20]={0};
void teststrin(void){
Uart_Printf( "pls input the ip string:\n\n" ) ;
Uart_GetString(sip);
ip=iptoul(sip);
Uart_Printf("0x%x",ip);
}

void teststrout()
{
iptostr(t,ip);
Uart_Printf("  %s  ",t);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -