25#include "periph_conf.h"
void kw2xrf_write_ireg(kw2xrf_t *dev, uint8_t addr, uint8_t value)
Writes to a byte from the kw2xrf indirect register.
uint8_t kw2xrf_read_dreg(kw2xrf_t *dev, uint8_t addr)
Reads a byte from the kw2xrf register.
void kw2xrf_read_fifo(kw2xrf_t *dev, uint8_t *data, uint8_t data_length)
Reads multiple bytes from the kw2xrf fifo.
void kw2xrf_write_iregs(kw2xrf_t *dev, uint8_t addr, uint8_t *buf, uint8_t length)
Writes to kw2xrf indirect registers.
void kw2xrf_read_dregs(kw2xrf_t *dev, uint8_t addr, uint8_t *buf, uint8_t length)
Reads a byte from the kw2xrf indirect register.
uint8_t kw2xrf_read_ireg(kw2xrf_t *dev, uint8_t addr)
Reads a byte from the kw2xrf indirect register.
void kw2xrf_write_dregs(kw2xrf_t *dev, uint8_t addr, uint8_t *buf, uint8_t length)
Writes to kw2xrf direct registers.
void kw2xrf_write_dreg(kw2xrf_t *dev, uint8_t addr, uint8_t value)
Writes a byte to the kw2xrf register.
void kw2xrf_read_iregs(kw2xrf_t *dev, uint8_t addr, uint8_t *buf, uint8_t length)
Reads a byte from the kw2xrf indirect register.
int kw2xrf_spi_init(kw2xrf_t *dev)
SPI interface initialization.
void kw2xrf_write_fifo(kw2xrf_t *dev, uint8_t *data, uint8_t data_length)
Writes multiple bytes to the kw2xrf fifo.
Low-level SPI peripheral driver interface definition.
stdio wrapper to extend the C libs stdio
Device descriptor for KW2XRF radio devices.