2017-07-10 09:10:20 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* drivers/wireless/ieee802154/mrf24j40/mrf24j40_regops.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_REGOPS_H
|
|
|
|
#define __DRIVERS_WIRELESS_IEEE802154_MRF24J40_MRF24J40_REGOPS_H
|
2017-07-10 09:10:20 +02:00
|
|
|
|
|
|
|
void mrf24j40_setreg(FAR struct spi_dev_s *spi, uint32_t addr, uint8_t val);
|
|
|
|
|
|
|
|
uint8_t mrf24j40_getreg(FAR struct spi_dev_s *spi, uint32_t addr);
|
|
|
|
|
|
|
|
int mrf24j40_regdump(FAR struct mrf24j40_radio_s *dev);
|
|
|
|
|
2022-01-15 03:44:35 +01:00
|
|
|
#endif /* __DRIVERS_WIRELESS_IEEE802154_MRF24J40_MRF24J40_REGOPS_H */
|