📄 physical.h
字号:
/*
****************************************************************************
*
* 宁波中科集成电路设计中心 版权所有 Copyright 2005
*
*文件名: physical.h
*程序员:
*主要内容:数据包格式定义
*完成日期:2005.5.25
*
****************************************************************************
*/
#ifndef _PHY_H
#define _PHY_H
#include "type.h"
//--------------------------供上层调用的函数------------------------
result_t PhysicalInit(void); // 初始化
result_t PhysicalIdle(void); // 进入空闲
result_t PhysicalSleep(void); // 睡眠
result_t PhysicalTxPkt(void *packet, uint8_t length); // 发送数据包接口
result_t PhysicalTxByteReady(void); // 发送下一字节
//--------------------------由底层调用的函数------------------------
result_t PhysicalStartSymDetected(void); // 加入对MAC的调用
result_t PhysicalRxByteDone(char data); // 加入对MAC的调用
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -