Go to the documentation of this file.
22 #ifndef SX127X_INTERNAL_H
23 #define SX127X_INTERNAL_H
36 #if defined(MODULE_SX1272)
37 #define SX127X_RSSI_OFFSET (-139)
39 #define SX127X_RSSI_OFFSET_LF (-164)
40 #define SX127X_RSSI_OFFSET_HF (-157)
48 #if defined(MODULE_SX1272)
49 #define SX127X_POR_ACTIVE_LOGIC_LEVEL (1)
51 #define SX127X_POR_ACTIVE_LOGIC_LEVEL (0)
133 #if defined(MODULE_SX1276)
142 void sx1276_rx_chain_calibration(
sx127x_t *dev);
void sx127x_read_fifo(const sx127x_t *dev, uint8_t *buffer, uint8_t size)
Reads the contents of the SX1276 FIFO.
int sx127x_check_version(const sx127x_t *dev)
Check the transceiver version.
uint8_t sx127x_reg_read(const sx127x_t *dev, uint8_t addr)
Reads the radio register at specified address.
void sx127x_write_fifo(const sx127x_t *dev, uint8_t *buffer, uint8_t size)
Writes the buffer contents to the SX1276 FIFO.
int16_t sx127x_read_rssi(const sx127x_t *dev)
Reads the current RSSI value.
SX127X device descriptor.
void sx127x_reg_write_burst(const sx127x_t *dev, uint8_t addr, uint8_t *buffer, uint8_t size)
Writes multiple radio registers starting at address (burst-mode).
Public interface for SX127X driver.
void sx127x_reg_read_burst(const sx127x_t *dev, uint8_t addr, uint8_t *buffer, uint8_t size)
Reads multiple radio registers starting at address.
void sx127x_reg_write(const sx127x_t *dev, uint8_t addr, uint8_t data)
Writes the radio register at specified address.
Adds include for missing inttype definitions.