?? physical.h
字號:
/*
****************************************************************************
* 寧波中科集成電路設計中心 版權所有 Copyright 2005
* http:\\www.nbicc.com
*文件名: physical.h
*程序員: 夏鵬 xpsonny@nbicc.com
*主要內容 物理層相關
*如有問題或BUG,請登錄www.wsn.net.cn 提問或用郵件和作者聯系
****************************************************************************
*/
#ifndef _PHY_H
#define _PHY_H
#include "type.h"
//--------------------------供上層調用的函數------------------------
result_t PhysicalInit(void); // 初始化
result_t PhysicalTxPkt(void *packet, uint8_t length); // 發送數據包接口,由mac層調用
result_t PhysicalTxByteReady(void);// 發送下一字節,由radio層調用
//--------------------------由底層調用的函數------------------------
result_t PhysicalStartSymDetected(void); // 檢測同步字,里面加入了對mac層的同步字檢測調用
result_t PhysicalRxByteDone(char data); // 接受radio層的調用,包收完后會通知mac層
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -