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

📄 sys_arch.h

📁 lwip tcp/ip 协议栈 adsp BF533 DSP 移植 用 visual dsp++ 编译
💻 H
字号:
//
// sys_arch.h
//
// Contains defintions and typedefs specific to the interface between
// generic lwIP code and the ADFSP-BF535 architecture layer.
//
#ifndef _SYS_ARCH_H_
#define _SYS_ARCH_H_

#include <stdlib.h>
#include <limits.h>

// typedefs to tie lwIP to our porting (sys_arch) layer
typedef u32_t sys_prot_t;
typedef void* sys_sem_t;
typedef void* sys_mbox_t;
typedef void* sys_thread_t;

#define SYS_MBOX_NULL NULL
#define SYS_SEM_NULL  ((sys_sem_t)UINT_MAX)

struct sys_arch_thread* sys_arch_current_thread(void);

#endif // _SYS_ARCH_H_

⌨️ 快捷键说明

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