亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? cul.h

?? zigbee 2430 演示 就是個(gè)演示程序么 說這么多干嘛 暈
?? H
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
*      The radio is configured to transmit at a given frequency and to
*      automatically calculate and insert a CRC value when in transmit and to
*      check the CRC value in receive.
*
* Parameters:
*
* @param  UINT32 frequency
*         The desired Radio Frequency in kHz.
* @param  BYTE	 address
*         This nodes address.
*
* @return BOOL
*         Returns TRUE if the configuration is successful and FALSE otherwise.
*
******************************************************************************/
BOOL sppInit(UINT32 frequency, BYTE address);


/******************************************************************************
* @fn  spp_rf_IRQ
*
* @brief
*      This ISR handles the possible RF interrupts that may occur when using the
*      SPP. When the start of a packet is received, the RX-state will be set
*      accordingly.When a packet is sent and no ACK is requested, the TX_DONE
*      interrupt will be run. Reception of a complete packet will only be used
*      for receiving an ACK. This ISR will handle the ACK reception.
*
* Parameters:
*
* @param  void
*
* @return void
*
******************************************************************************/
__interrupt void spp_rf_IRQ(void);

/******************************************************************************
* @fn  rf_error_IRQ(
*
* @brief
*      This function is run if an Radio error interrupt (RFIF) is generated.
*      If TX underrun or RX overflow occurs, the corresponding FIFO is flushed.
*
* Parameters:
*
* @param  void
*
* @return void
*
******************************************************************************/
__interrupt void rf_error_IRQ(void);

/******************************************************************************
* @fn  sppSetAddress
*
* @brief
*      This function changes the local address.
*
* Parameters:
*
* @param  BYTE	 address
*         This nodes new address.
*
* @return void
*
******************************************************************************/
void sppSetAddress(BYTE address);


/******************************************************************************
* @fn  sppSend
*
* @brief
*      This function transfers _length_ bytes (up to 122) starting at
*      _pTransferData_ to the _recipient_. The number of bytes to be
*      transferred, flags, and destination- and source-address are inserted
*      before the Tx DMA channel is set up to transfer the payload to the Tx
*      FiFo. After the DMA channel is started, the transmitter is turned on.
*      If an ACK is expected in response, the corresponding flags and settings
*      are configured.
*
* Parameters:
*
* @param  SPP_TX_STRUCT*	 pPacketPointer
*         Pointer to the struct containing the transfer data.
*
* @return BYTE
*         Returns TRUE if the transfer is successful, TOO_LONG if the length of
*         the data is too long and CHANNEL_BUSY if the channel is not available.
*
******************************************************************************/
BYTE sppSend(SPP_TX_STRUCT* pPacketPointer);



/******************************************************************************
* @fn  sppReceive
*
* @brief
*      This function enables reception of up to 128 bytes including header and
*      trailer. The received data will be transferred by the DMA to the data
*      space starting at _pReceiveData_. The DMA is armed and reception is
*      turned on. The reception of data will generate DMA triggers. When the
*      whole packet has been received and transferred, the DMA will generate an
*      interrupt and run the function _rxCallBack_, which is defined above.
*
* Parameters:
*
* @param  SPP_RX_STRUCT*	 pReceiveData
*         Pointer to where the received data are to be stored.
*
* @return void
*
******************************************************************************/
void sppReceive(SPP_RX_STRUCT *pReceiveData);


/******************************************************************************
* @fn  setRxCallBackFunction
*
* @brief
*     This function is used to set a user-specified call-back function
*     to be run when a correct packet addressed for me is received.
*
* Parameters:
*
* @param  FUNCTION	 callBackFunction
*
* @return void
*
******************************************************************************/
void sppSetRxCallBackFunction(FUNCTION callBackFunction);




/******************************************************************************
*******************       Radio (simple usage of SPP)       *******************
******************************************************************************/

//------------------------------------------------------------------------------------------------------
// void radioInit(...);
//
//  Description:
//      This function initializes the radio by calling sppInit. The frequency of operation is set and
//      this nodes address is stored. The radio is set up for handling non-IEEE 802.15.4 packets.
//
//  Arguments:
//      UINT32 frequency
//          The radio frequency to be used.
//      BYTE localAddress
//          The address of this node.
//
//  Return value:
//      void
//------------------------------------------------------------------------------------------------------
void radioInit(UINT32 frequency, BYTE localAddress);

//------------------------------------------------------------------------------------------------------
// BYTE radioSend(...);
//
//  Description:
//      This function sends data of a given length either to a specified recipient (may be broadcast)
//      using the radio. If the number of bytes to be transferred is larger than the size of the TX FIFO,
//      the data is split over an adequate number of packets. The function uses the SPP library. If the
//      radio is busy, or the packet is sent but not ACK'ed, the transmission is retried. If the retires
//      fails, the function returns FALSE. If the packet is ACK'ed correctly by the receiver, the
//      function returns TRUE.
//
//  Arguments:
//      BYTE* transmitData
//                      Pointer to the data to be sent.
//      WORD dataLenght
//          The number of bytes to be transferred.
//      BYTE remoteAddress
//          The address of the node to receive the packet. 0 is broadcast address (BROADCAST_ADDRESS).
//      BYTE doAck
//          Set to DO_ACK if the packet is to be ACK'ed and DO_NOT_ACK otherwise.
//
//  Return value:
//      BOOL
//          TRUE if the sent packet is acked by the recipient and false otherwise.
//------------------------------------------------------------------------------------------------------
BOOL radioSend(BYTE* transmitData, WORD dataLength, BYTE remoteAddress, BYTE doAck);


//------------------------------------------------------------------------------------------------------
// BYTE radioReceive(...);
//
//  Description:
//      This function turns on the radio receiver and waits until either a correctly addressed packet
//      packet is received or the unit has been waiting for a specified time period. The function employs
//      the SPP library for radio access.
//
//  Arguments:
//      BYTE** receiveData
//                      Double pointer to the received data. This way of reference reduces the RAM requirement.
//      BYTE* lenght
//          Pointer to the length of the received data.
//      WORD timeout
//          Value indicating how long the receiver will wait for a packet in ms. If no packet is received
//          within this timeout period, false is returned.
//          If timeout is set to 0, the function will not return before a packet is received.
//      BYTE* sender
//          The function will fill in the packets source address at this location.
//
//  Return value:
//      BOOL
//          TRUE if a packet has been received and FALSE if no packet has been received within the timeout
//          period.
//------------------------------------------------------------------------------------------------------
BOOL radioReceive(BYTE** receiveData, BYTE* length, WORD timeout, BYTE* sender);



/******************************************************************************
*******************       FLASH LIFE EXTENDER (FLEX)       ********************
******************************************************************************/
typedef struct{
    enum{
        ERASED          = 3,
        VALID           = 2,
        OBSOLETE        = 0,
    }pageState;//: 2;
    enum{
        VERSION_0       = 0,
        VERSION_1       = 1,
        VERSION_2       = 2,
        VERSION_3       = 3,
    } version;//: 6;
    BYTE identifier;
    WORD eraseCounter;
}FLEX_PAGE_HEADER;




#define FLEX_ALLOC(kb)                                              \
    BYTE __code flexPages = (kb/2);                                 \
    BYTE __code flexBuf[kb/2 * 2048] _at_ (0x10000 - (kb/2 * 2048)) \


/******************************************************************************
* @fn  flexFetch
*
* @brief
*
* Parameters:
*
* @param  void* pDataPointer
* @param  BYTE	 id
* @param  BYTE	 length
* @param  void* initValue
*
* @return BOOL
*
******************************************************************************/
BOOL flexFetch(void* pDataPointer, BYTE id, BYTE length, void* initValue);


/******************************************************************************
* @fn  flexCommit
*
* @brief       Description of the function.
*
* Parameters:
*
* @param  void*
* @param  BYTE	 id
* @param  BYTE	 length
*
* @return BOOL
*
******************************************************************************/
BOOL flexCommit(void* pDataPointer, BYTE id, BYTE length);

#define FLASH_WRITE_BUFFER_LENGTH    60


#define FLEX_NOT_FOUND      0x08
#define FLEX_DATA_VALID     0x02
#define FLEX_DATA_UNUSED    0xFF
#define FLEX_DATA_OBSOLETE  0x00

#endif  // CUL_H

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久成人免费日本黄色| 欧美一区二区三区免费观看视频| 免费视频一区二区| 美女视频网站久久| 久草这里只有精品视频| 麻豆视频观看网址久久| 久久精品av麻豆的观看方式| 另类欧美日韩国产在线| 国产酒店精品激情| 91丝袜高跟美女视频| 欧美蜜桃一区二区三区| 欧美精品一区二区久久婷婷| 国产精品久99| 日本午夜精品视频在线观看| 国产精品一区二区在线观看不卡| 国产精品996| 欧美精品乱人伦久久久久久| 精品裸体舞一区二区三区| 国产精品国产自产拍高清av王其| 一区二区三区日韩精品视频| 免费看欧美女人艹b| 91日韩一区二区三区| 欧美大片日本大片免费观看| 亚洲精品高清在线| 久久国产三级精品| 欧美三级视频在线播放| 日韩精品一区二区三区在线播放| 亚洲图片激情小说| 国产激情精品久久久第一区二区| 欧美猛男超大videosgay| 中文字幕免费一区| 国产在线不卡一卡二卡三卡四卡| 欧美视频日韩视频| 亚洲午夜久久久| 自拍偷拍国产精品| 亚洲影院在线观看| a级高清视频欧美日韩| 国产欧美日韩精品a在线观看| 午夜精品在线视频一区| 色综合天天综合色综合av| 精品精品欲导航| 久久国产日韩欧美精品| 日韩精品一区二区三区视频在线观看| 亚洲自拍偷拍九九九| 一本大道久久a久久精品综合| **网站欧美大片在线观看| 成人精品亚洲人成在线| 中文字幕一区二区三中文字幕| 久久精品国产亚洲高清剧情介绍| 欧美午夜视频网站| 日本欧美韩国一区三区| 91精品国产欧美一区二区18 | 亚洲品质自拍视频网站| 91色.com| 日本成人在线视频网站| 2020国产精品自拍| 成人av免费观看| 婷婷六月综合网| 日韩一级完整毛片| 成人爽a毛片一区二区免费| 亚洲人成网站色在线观看| 欧美亚洲精品一区| 国产在线不卡视频| 亚洲v精品v日韩v欧美v专区| 日韩三区在线观看| 色婷婷狠狠综合| 国产黑丝在线一区二区三区| 自拍偷自拍亚洲精品播放| 欧美一区二区日韩| 99精品久久只有精品| 蜜桃传媒麻豆第一区在线观看| 亚洲国产高清aⅴ视频| 欧美疯狂做受xxxx富婆| 92国产精品观看| 国精品**一区二区三区在线蜜桃| 欧美伊人久久久久久久久影院| 亚洲国产精品精华液网站| 国产精品青草综合久久久久99| 欧美伦理视频网站| 在线视频观看一区| av成人免费在线| 99免费精品在线| 成人激情校园春色| 国产精品2024| 东方欧美亚洲色图在线| 国产在线不卡一区| 成人综合婷婷国产精品久久蜜臀| 日韩av成人高清| 日韩二区三区四区| 裸体在线国模精品偷拍| 亚洲成人1区2区| 免费人成在线不卡| 国产一区二区三区免费观看| 久久精品国产久精国产爱| 狠狠色丁香久久婷婷综合丁香| 喷水一区二区三区| 国产精品亚洲午夜一区二区三区 | 成人app下载| 91蝌蚪国产九色| 欧美精品vⅰdeose4hd| 日韩欧美一区二区在线视频| 精品成人免费观看| 亚洲欧洲日韩av| 亚欧色一区w666天堂| 国产在线观看一区二区| 日本高清成人免费播放| 欧美一级理论性理论a| 国产精品三级av| 日本午夜精品视频在线观看| 成人午夜碰碰视频| 日韩欧美亚洲国产精品字幕久久久| 久久久久97国产精华液好用吗| 中文字幕一区二区在线观看| 久久国产精品99精品国产| 日本乱码高清不卡字幕| 久久精品一区二区三区四区| 亚洲国产精品精华液网站| 国产·精品毛片| 欧美电视剧免费观看| 亚洲一区在线视频| 亚洲男同性恋视频| 精品一区二区三区免费播放| 色狠狠色噜噜噜综合网| 欧美极品xxx| 国产一区二区h| 精品日本一线二线三线不卡| 亚洲制服丝袜av| 91福利视频网站| 亚洲男人的天堂在线观看| 成人久久久精品乱码一区二区三区 | 日韩激情一区二区| 欧美老女人在线| 日韩vs国产vs欧美| 欧美一区二区视频观看视频| 天天综合色天天综合色h| 欧洲日韩一区二区三区| 亚洲最大成人综合| 精品视频一区二区三区免费| 亚洲444eee在线观看| 国产一区999| 欧美一区二区三区在线观看| 国产精品久久久久久久蜜臀| 国产精品1区2区| 国产精品你懂的在线欣赏| 91麻豆精品在线观看| 亚洲一级二级三级| 国产米奇在线777精品观看| 麻豆精品一区二区综合av| 亚洲国产另类av| 亚洲狠狠丁香婷婷综合久久久| 国产欧美日本一区视频| 久久久噜噜噜久久人人看 | 日韩不卡手机在线v区| 一区二区三区在线观看网站| 亚洲人成影院在线观看| 亚洲日本在线天堂| 亚洲成av人片| 视频一区二区不卡| 国产精品亚洲一区二区三区在线 | 久久尤物电影视频在线观看| 国产精品丝袜一区| 精品伦理精品一区| 666欧美在线视频| 欧美精品一区二区久久久 | 成人黄色一级视频| 91碰在线视频| 精品精品欲导航| 亚洲日本丝袜连裤袜办公室| 天堂va蜜桃一区二区三区| 久久爱另类一区二区小说| 色综合中文字幕国产| 69堂国产成人免费视频| 日本一二三不卡| 久久99精品国产91久久来源| 成人18精品视频| 国产午夜精品一区二区| 亚洲精品综合在线| 国产不卡一区视频| 欧美日韩精品三区| 亚洲激情自拍偷拍| 成人综合婷婷国产精品久久 | 蜜桃av一区二区| 91久久精品国产91性色tv| 国产精品毛片无遮挡高清| 久久99精品久久只有精品| 欧美电影一区二区三区| 日韩精品欧美成人高清一区二区| 欧美国产日韩亚洲一区| 亚洲国产精品视频| 欧美日韩国产综合久久| 亚洲欧洲综合另类| 色婷婷久久99综合精品jk白丝| 国产精品色呦呦| 国产宾馆实践打屁股91| 国产人久久人人人人爽| 国产白丝精品91爽爽久久| 国产网红主播福利一区二区| 国产99久久久精品| 亚洲视频一二区| 欧美精品乱码久久久久久按摩|