Go to the documentation of this file.
21 #ifndef MRF24J40_INTERNAL_H
22 #define MRF24J40_INTERNAL_H
127 #if IS_ACTIVE(CONFIG_MRF24J40_USE_EXT_PA_LNA)
138 #if IS_ACTIVE(CONFIG_MRF24J40_USE_EXT_PA_LNA)
149 #if IS_ACTIVE(CONFIG_MRF24J40_USE_EXT_PA_LNA)
void mrf24j40_reg_write_long(mrf24j40_t *dev, const uint16_t addr, const uint8_t value)
Write to a register at address addr from device dev.
Common macros and compiler attributes/pragmas configuration.
static void mrf24j40_enable_lna(mrf24j40_t *dev)
Enable only the External Low Noise Amplifier.
void mrf24j40_hardware_reset(mrf24j40_t *dev)
Trigger a hardware reset.
void mrf24j40_rx_fifo_read(mrf24j40_t *dev, const uint16_t offset, uint8_t *data, const size_t len)
Read a chunk of data from the RX_FIFO area of the given device.
void mrf24j40_tx_normal_fifo_write(mrf24j40_t *dev, const uint16_t offset, const uint8_t *data, const size_t len)
Write a chunk of data into the TX Normal FIFO area of the given device.
int mrf24j40_init(mrf24j40_t *dev)
initialization as described in datasheet
void mrf24j40_update_tasks(mrf24j40_t *dev)
Check for pending interrupts and update task list.
uint8_t mrf24j40_reg_read_short(mrf24j40_t *dev, const uint8_t addr)
Read from a register with a at address addr from device dev.
void mrf24j40_reg_write_short(mrf24j40_t *dev, const uint8_t addr, const uint8_t value)
Write to a register at address addr from device dev.
static void mrf24j40_enable_auto_pa_lna(mrf24j40_t *dev)
Enable automatic External Power Amplifier & Low Noise Amplifier control.
Interface definition for MRF24J40 based drivers.
uint8_t mrf24j40_reg_read_long(mrf24j40_t *dev, const uint16_t addr)
Read from a register with a at address addr from device dev.
void mrf24j40_reset_tasks(mrf24j40_t *dev)
Reset the pending task list of a device.
Device descriptor for MRF24J40 radio devices.
static void mrf24j40_disable_auto_pa_lna(mrf24j40_t *dev)
Disable automatic External Power Amplifier & Low Noise Amplifier control.