#ifndef __RF2XX_H__
#define __RF2XX_H__
-enum rf2xx_chipsets_enum
-{
- RF230_CHIPSET = 0,
- RF212_CHIPSET = 1,
-};
+/* Set RF2XX_CHIPSET to one of these to enable specific features */
+#define RF230_CHIPSET 0
+#define RF212_CHIPSET 1
enum rf2xx_registers_enum
{
enum
{
- /**
- * This is an RF230 chip
- */
- RF2XX_CHIPSET = RF230_CHIPSET,
-
/**
* This is the value of the TRX_CTRL_0 register
* which configures the output pin currents and the CLKM clock
#define RF2XX_DEF_CHANNEL RF230_DEF_CHANNEL
+#define RF2XX_CHIPSET RF230_CHIPSET
+
/*
* This is the command used to calculate the CRC for the RF230 chip.
* TODO: Check why the default crcByte implementation is in a different endianness