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

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

?? fap.h

?? 非常全的nrf2401設(shè)計(jì)資料
?? H
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
The FAP have three different operation modes; TRANSMITTING,
RECEIVING or IDLE, respectively. When the FAP is receiving 
or transmitting it may automatically return to IDLE mode after 
a specified timeout period, or in TRANSMIT mode also after transmission
success. 

In addition, this function can be ysed to immediately 
force the FAP to IDLE mode.
*/
void fap_goto_idle_mode(void);

/**
Function for observing the current FAP mode.

@return 
Returns the current the FAP mode.
@retval FAP_IDLE
@retval FAP_TRANSMITTING 
@retval FAP_RECEIVING

@sa fap_rx_data(), fap_tx_data(), fap_goto_idle_mode()
*/
fap_modes_t fap_get_mode(void);  

//@}

/** @name Transmit related functions */
//@{

/**
Function for transmitting data. This function transmits the data provided in
the @b pl field of the input data structure *datainput to the destination given by 
the @b pipe field. The actual TX address to be used is setup using the function 
fap_set_address().

When the data is successfully transmitted the FAP will automatically return to IDLE mode. 
In addition it may be specified a maximum timeout period the FAP shall try to transmit 
data before returning to IDLE mode. 

It is not required for the FAP to be in IDLE mode before issuing this function. It is possible to upload new data to the TX FIFO during an ongoing transmission. The data uploaded to the TX FIFO will immediately be transmitted when the ongoing transmission is completed, thus enabling a streaming type of operation. However, in order to upload TX data during an ongoing transmission, the following criteria must be fulfilled:

-	Channel synchronization must be disabled by fap_ch_sync_enable().
-	The destination for the uploaded data must be the same as for the ongoing transmission.
-	The TX FIFO cannot be full. The TX FIFO can hold up to 3 payloads.
-	The transmit timeout specified must be the same as for the ongoing transmission.  
 
If the FAP is in RECEIVE mode when issuing this function, the FAP will automatically enter 
TRANSMIT mode. After completion the FAP will always go to IDLE mode. 

@param *datainput [in] is a pointer to a structure containing the payload to be transmitted, 
the payload length and the transmit destination. 

@param tx_timeout specifies the maximum period the FAP shall attempt to
transmit before returning to IDLE mode. The maximum timeout period will 
equal transmit_timeout*FAP_MAX_TX_PERIOD [us]. An infinite transmit 
period may be specified by setting this parameter to 0. 

@return
Returns whether the data was successfully handed to the FAP for transmission.    
@retval true if data successfully handed to FAP. The data will be attempted transmitted by the FAP.
@retval false if data were not successfully handed to the FAP due to one or more of the 
required criteria not fulfilled. Any ongoing FAP operation is not affected and the FAP
mode remains the same as before the function was called.    
     
@sa fap_get_mode(), fap_set_address(), fap_tx_success(), fap_goto_idle_mode(void), fap_ch_sync_disable().
*/
bool fap_tx_data(fap_tx_rx_struct_t *datainput, uint16_t tx_timeout);

/**
Function for flushing the hardware transmit FIFO. This yields any pending data in the TX FIFO,
both normal device to host data, and host to device preloaded acknowledge data.

It is recommended that the FAP is in IDLE mode whenever this function is called.

*/
void fap_flush_tx_fifo(void);

/**
Function for writing data to be piggybacked on the next acknowledge packet sent from the host to a device. This function will not initiate a transmission, but only prepare the data to be returned on the next package received from the selected device.  

@param *ackdata [in] is a pointer to the input data structure containing the payload to be transmitted, the payload length and the transmit destination. 
*/
bool fap_write_ack_pload(fap_tx_rx_struct_t* ackdata);

/**
Function returning @b false if TX FIFO full, else @ true.
*/
bool fap_tx_fifo_full(void);

/**
Function for setting the radio output power.

@param power selects the output power.    
Possible arguments are: 
@arg @c HAL_NRF_0DBM for 0 dBm output power
@arg @c HAL_NRF_6DBM for -6 dBm output power
@arg @c HAL_NRF_12DBM for -12 dBm output power
@arg @c HAL_NRF_18DBM for -18 dBm output power
*/
void fap_set_output_power(hal_nrf_output_power_t power);

/**
Function for enabling a new transmission to be started synchronously to the
receiver channel rotation.   

When synchronization is disabled, any new transmission will be started
synchronously with an internal "frequency guess counter". This synchronization must 
be enabled whenever using the function fap_ch_sync_enable().

@sa fap_get_ch_offset(), fap_ch_sync_disable()
*/
void fap_ch_sync_enable(void);

/**
Function for getting the offset by the "guessed" receive channel and the 
previous successful transmit channel.

The basic concept for the FAP is that the receiver continuously monitors 
a subset of channels in a rotating fashion. After a successful transmission the 
transmitting always adjusts an internal "guess counter" to equal this
receive channel rotation. A new transmission is always started using the 
previous successful channel. When awaiting to send new data until this 
function equals 0, the data will be transmitted using the same 
frequency as the receiver most likely monitors, thus minimizing 
the number of retransmits.

Note, when using this functionality, the channel synchronization must be enabled by 
fap_ch_sync_enable().

@sa fap_get_ch_offset(), fap_ch_sync_disable()
*/
uint8_t fap_get_ch_offset(void);

/**
Function for disabling synchronization of transmission frequency to receive 
frequency.

When synchronization is disabled, any new transmission will start
immediately after calling fap_tx_data(). 

@sa fap_get_ch_offset(), fap_ch_sync_enable()
*/
void fap_ch_sync_disable(void);

/**
Function for getting the result of the previous transmit operation.
The return value from this function is only credible when the FAP is 
in IDLE mode 

@return
Result of the previous transmit operation. 

@retval true if previous data were successfully transmitted, or 
if transmission in progress. (FAP mode TRANSMITTING). 
@retval false if previous were not successfully transmitted   
@sa fap_tx_data(), fap_get_mode(), fap_goto_idle_mode(void)
*/
bool fap_tx_success(void); 

/**
Function for providing the number of transmission
attempts needed during the previous transmit operation. 
This function may be used as an indication on
the current radio transmit conditions. In a noisy 
environment one will experience an increase in the 
number of transmission attempts needed for a 
successful packet delivery to the receiver. Note that 
even in an environment without any interfering radio
sources one will experience that the FAP sometimes
uses several transmission attempts. This due to the
frequency altering scheme used at the receiver.      

The returned value from this function is only reliable 
when the FAP is in IDLE mode, and will only yield the
previous transmitted package.

@sa fap_get_ch_switches(), fap_get_ch_offset(), 
fap_ch_sync_disable(), fap_ch_sync_disable()  
*/
uint16_t fap_get_tries(void);

/**
Function for providing the number of 
frequency channel changes needed during the previous 
transmit operation. In an environment without any 
interfering radio sources one will not normally 
experience that the FAP needs to switch transmission 
frequency. A large number of channel switches
will be an indication on extensive radio 
interference.

The returbe value from this function is only reliable 
when the FAP is in IDLE mode.  

@sa fap_get_tries()
*/
uint16_t fap_get_ch_switches(void);

//@}

/** @name Receive related functions */
//@{
/**
Function for setting the FAP in receive mode and start monitoring the air for data. 
Received data will be stored in a FIFO which can be read out by the function
fap_read_rx_fifo(). It may be specified a timeout period after which 
the FAP shall automatically stop receiving and return to IDLE mode.

The FAP offers two different receive modes; one low power mode and one low latency mode.
In low power mode the FAP is monitoring the air for data in only short
slots of time and the receiver is switched off most of the time. 
This leads to a low power consumption at the receive side but a higher latency
experienced at the transmit side as the transmitter has to "struggle"
more to hit the the time slots the receiver is listening. In low
latency mode the receiver is continuously monitoring the air for data, 
which gives a higher power consumption at the receive side but a lower 
experienced latency at the transmit side.
The FAP do not have to be in IDLE mode before using this function. If 
the FAP is in receive mode when this function is used the new 
receive settings will apply immediately.     

@param rx_setup selects receive power mode and pipe(s)/address(es) to 
monitor for incoming data. Bit 0-5 enables/disables receive
pipes/addresses 0-5; 1 enables reception and 0 disables 
reception. Bit 6 selects the receive power mode; 1 sets receiver 
in low power mode and 0 sets the receiver in low latency mode.    

@param receive_timeout specifies the receive timeout period. The timeout period
will be equivalent to receive_timeout*FAP_RX_PERIOD [us]. By setting this 
parameter to 0 the receiver will remain in receive mode until it
is forced to IDLE mode by fap_goto_idle_mode(). If a finite timeout
is specified, it is recommended that the timeout value is set equal or 
grater than FAP_RX_FULL_CH_REV when operating in low latency mode or
 FAP_RX_SINGLE_CH_REV when operating in low power mode.

@sa fap_set_address(), fap_get_mode(), fap_get_rx_fifo_status(), fap_read_rx_fifo(), fap_select_rx_power_mode, 
fap_goto_idle_mode()
*/
void fap_rx_data(uint8_t rx_setup, uint16_t receive_timeout); 

/**
Function for flushing the hardware receive FIFO. 

It is recommended that the FAP is in IDLE mode whenever this function is called.

*/
void fap_flush_rx_fifo(void);

/**
Function for reading received data from receive FIFO.
When the FAP is in receive mode all incoming data will
be stored in a FIFO which can be read using this function.

@param return_struct specifies the destination to where FIFO 
read data shall be copied. This is a structure type fap_tx_rx_struct_t
which contains the field pl for the actual payload data, pl_length
for the received payload length and pipe which tells the pipe
in which the data were received.  

@return 
Information on whether FIFO contained data or not.  
@retval true if unread FIFO data were copied to destination.
@retval false if FIFO was empty and no data were copied.  
@sa fap_rx_data(), fap_get_rx_fifo_status(), 
*/
bool fap_read_rx_fifo(fap_tx_rx_struct_t* return_struct);

//@}

/** @name Interrupt service routine functions */
//@{
/**
Function to be called by the nRF radio interrupt service routine.  
*/
void fap_nrf_isr_function(void);

/**
Function to be called by the FAP timer interrupt service routine.
The FAP requires one dedicated auto reload timer. This function must
be called by the FAP timer interrupt service routine. 
*/
void fap_timer_isr_function(void);
//@}
#endif // FAP_H__
/** @} */

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一级高清毛片| 国产精品白丝jk白祙喷水网站| 免费在线视频一区| 国产一区二区三区在线观看精品 | 26uuu亚洲综合色| 中文字幕一区二区5566日韩| 亚洲一区二区成人在线观看| 久久99在线观看| av电影在线观看完整版一区二区| 欧美无人高清视频在线观看| 久久香蕉国产线看观看99| 亚洲乱码中文字幕| 麻豆91免费观看| 色哟哟一区二区在线观看| 日韩西西人体444www| 国产精品久久久久久久午夜片| 五月天亚洲精品| 成人av网址在线| 日韩一级二级三级| 一区二区在线观看视频在线观看| 久久国产剧场电影| 91精品办公室少妇高潮对白| 久久久久久一级片| 丝袜诱惑亚洲看片| 91在线视频网址| 欧美精品一区视频| 偷拍日韩校园综合在线| 成人av在线影院| 欧美成人r级一区二区三区| 亚洲乱码国产乱码精品精小说| 久久成人免费网站| 欧美视频精品在线| 国产精品福利av| 精品亚洲国产成人av制服丝袜| 在线观看av一区| 亚洲国产成人在线| 久久99国产精品麻豆| 欧美午夜理伦三级在线观看| 国产精品区一区二区三区 | 久久日韩粉嫩一区二区三区| 亚洲国产精品一区二区www在线| 不卡的av网站| 国产亚洲精品7777| 国模无码大尺度一区二区三区| 欧美另类videos死尸| 亚洲欧美一区二区三区孕妇| 成人一二三区视频| 久久久国产综合精品女国产盗摄| 麻豆一区二区三| 欧美日韩亚洲综合| 亚洲国产综合色| 色综合久久久久久久久| 中文字幕免费不卡| 国产精品白丝av| 久久久美女毛片| 国产一区二区调教| 精品国产成人系列| 久久精品国产澳门| 日韩欧美国产系列| 日本不卡一区二区三区高清视频| 欧美午夜精品电影| 亚洲精品网站在线观看| 色综合天天在线| 日韩美女视频一区二区| av福利精品导航| 亚洲人成人一区二区在线观看| 成人福利电影精品一区二区在线观看| 国产亚洲欧美一级| 国产九色精品成人porny| 久久日韩粉嫩一区二区三区| 国模娜娜一区二区三区| 亚洲精品一区二区三区精华液 | 国产免费成人在线视频| 国产精品资源在线| 国产亚洲精品aa午夜观看| 国产91丝袜在线观看| 国产日韩欧美在线一区| 成人毛片视频在线观看| 国产精品丝袜一区| 91丨九色丨尤物| 亚洲精品视频自拍| 欧美日韩在线三级| 日韩av在线播放中文字幕| 日韩三级中文字幕| 精品一区二区精品| 国产欧美精品一区| 97精品超碰一区二区三区| 一区二区三区免费看视频| 在线视频综合导航| 日韩国产欧美在线观看| 91精品国产色综合久久| 蜜桃av一区二区在线观看| 欧美精品一区二区精品网| 国产精品一区二区在线观看网站| 中文字幕成人网| 色国产精品一区在线观看| 日精品一区二区三区| 欧美一区二区三区系列电影| 国产在线精品一区在线观看麻豆| 国产欧美视频一区二区三区| 91美女在线观看| 婷婷综合五月天| 欧美成人精品1314www| 成人免费毛片片v| 一区二区在线观看av| 91麻豆精品国产91久久久久久 | 国产精品区一区二区三| 欧美综合亚洲图片综合区| 美美哒免费高清在线观看视频一区二区 | 国产精品久久久久久久浪潮网站 | 日韩影院免费视频| 欧美一二三四区在线| 国产高清在线精品| 中文字幕制服丝袜成人av| 欧美午夜精品久久久久久超碰| 免费看日韩a级影片| 中文字幕精品—区二区四季| 欧美亚洲国产bt| 精品一区二区三区久久久| 国产精品五月天| 69av一区二区三区| 国产iv一区二区三区| 香蕉加勒比综合久久| 亚洲国产精品ⅴa在线观看| 欧美日韩国产天堂| 国产成人啪免费观看软件| 亚洲国产视频a| 国产69精品久久久久777| 欧美videossexotv100| 亚洲高清视频的网址| 成人蜜臀av电影| 欧美大片一区二区| 欧美精彩视频一区二区三区| 国产精品成人一区二区三区夜夜夜 | 色综合久久中文字幕综合网| 欧美一区二区三区视频| 欧美日韩一区二区三区在线| 久久综合色播五月| 国产一区91精品张津瑜| 欧美日韩一二三区| 日韩毛片一二三区| 国产成人精品免费视频网站| 日韩欧美久久久| 蜜乳av一区二区| 777xxx欧美| 日本不卡中文字幕| 正在播放一区二区| 偷拍自拍另类欧美| 678五月天丁香亚洲综合网| 丝袜脚交一区二区| 色视频成人在线观看免| 亚洲国产aⅴ天堂久久| 在线观看欧美日本| 亚洲伦在线观看| 91婷婷韩国欧美一区二区| 中文成人综合网| 在线精品视频一区二区| 青青青爽久久午夜综合久久午夜| 26uuu精品一区二区| 精品一区二区日韩| 国产欧美日韩卡一| 91高清在线观看| 免费看黄色91| 亚洲情趣在线观看| 久久久久久久久久久黄色| 欧美日韩精品一区二区天天拍小说 | 亚洲免费资源在线播放| 欧美日韩中字一区| 99久久综合狠狠综合久久| 免费观看久久久4p| 亚洲精品亚洲人成人网在线播放| 国产午夜亚洲精品理论片色戒| 日韩欧美国产综合| av一二三不卡影片| 亚洲主播在线观看| 精品欧美一区二区久久| 成人黄色在线看| 美国欧美日韩国产在线播放| 国产欧美久久久精品影院 | 2024国产精品视频| 色八戒一区二区三区| 琪琪一区二区三区| 综合欧美一区二区三区| 欧美一区二区三区免费| 99久久精品国产毛片| 蜜臀av性久久久久蜜臀aⅴ四虎| 久久亚洲精品小早川怜子| 日本精品裸体写真集在线观看| 精品午夜久久福利影院 | 欧美三级电影在线观看| 国产aⅴ综合色| 免费精品视频在线| 亚洲免费观看高清完整版在线| 精品美女在线播放| 欧美电影影音先锋| 欧美日韩亚洲综合一区二区三区| 国产高清精品网站| 久久精品二区亚洲w码| 天天操天天综合网| 亚洲国产精品自拍|