2017-07-10 09:10:20 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* drivers/wireless/ieee802154/mrf24j40/mrf24j40_radif.h
|
|
|
|
*
|
2021-09-06 13:39:36 +02:00
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed with
|
|
|
|
* this work for additional information regarding copyright ownership. The
|
|
|
|
* ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
|
|
* "License"); you may not use this file except in compliance with the
|
|
|
|
* License. You may obtain a copy of the License at
|
2017-07-10 09:10:20 +02:00
|
|
|
*
|
2021-09-06 13:39:36 +02:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
2017-07-10 09:10:20 +02:00
|
|
|
*
|
2021-09-06 13:39:36 +02:00
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
* License for the specific language governing permissions and limitations
|
|
|
|
* under the License.
|
2017-07-10 09:10:20 +02:00
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
2022-01-15 03:44:35 +01:00
|
|
|
#ifndef __DRIVERS_WIRELESS_IEEE802154_MRF24J40_MRF24J40_RADIF_H
|
|
|
|
#define __DRIVERS_WIRELESS_IEEE802154_MRF24J40_MRF24J40_RADIF_H
|
2017-07-10 09:10:20 +02:00
|
|
|
|
|
|
|
int mrf24j40_bind(FAR struct ieee802154_radio_s *radio,
|
|
|
|
FAR struct ieee802154_radiocb_s *radiocb);
|
|
|
|
|
|
|
|
int mrf24j40_reset(FAR struct ieee802154_radio_s *radio);
|
|
|
|
|
|
|
|
int mrf24j40_getattr(FAR struct ieee802154_radio_s *radio,
|
|
|
|
enum ieee802154_attr_e attr,
|
|
|
|
FAR union ieee802154_attr_u *attrval);
|
|
|
|
|
|
|
|
int mrf24j40_setattr(FAR struct ieee802154_radio_s *radio,
|
|
|
|
enum ieee802154_attr_e attr,
|
|
|
|
FAR const union ieee802154_attr_u *attrval);
|
|
|
|
|
|
|
|
int mrf24j40_txnotify(FAR struct ieee802154_radio_s *radio, bool gts);
|
|
|
|
|
|
|
|
int mrf24j40_txdelayed(FAR struct ieee802154_radio_s *radio,
|
|
|
|
FAR struct ieee802154_txdesc_s *txdesc,
|
|
|
|
uint32_t symboldelay);
|
|
|
|
|
2017-07-12 03:12:50 +02:00
|
|
|
int mrf24j40_rxenable(FAR struct ieee802154_radio_s *radio, bool enable);
|
2017-07-10 09:10:20 +02:00
|
|
|
|
2021-04-04 11:58:11 +02:00
|
|
|
int mrf24j40_energydetect(FAR struct ieee802154_radio_s *radio,
|
|
|
|
uint32_t nsymbols);
|
2019-08-10 19:03:24 +02:00
|
|
|
|
2017-07-10 09:10:20 +02:00
|
|
|
int mrf24j40_beaconstart(FAR struct ieee802154_radio_s *radio,
|
2021-04-04 11:58:11 +02:00
|
|
|
FAR const struct ieee802154_superframespec_s *sfspec,
|
|
|
|
FAR struct ieee802154_beaconframe_s *beacon);
|
2017-07-10 09:10:20 +02:00
|
|
|
|
|
|
|
int mrf24j40_beaconupdate(FAR struct ieee802154_radio_s *radio,
|
|
|
|
FAR struct ieee802154_beaconframe_s *beacon);
|
|
|
|
|
|
|
|
int mrf24j40_beaconstop(FAR struct ieee802154_radio_s *radio);
|
|
|
|
|
|
|
|
int mrf24j40_sfupdate(FAR struct ieee802154_radio_s *radio,
|
|
|
|
FAR const struct ieee802154_superframespec_s *sfspec);
|
|
|
|
|
2022-01-15 03:44:35 +01:00
|
|
|
#endif /* __DRIVERS_WIRELESS_IEEE802154_MRF24J40_MRF24J40_RADIF_H */
|