mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
Enter TRX_OFF to enable DVDD regulator. Plus minor cleanup.
- tools/atspi-txrx/Makefile, tools/atspi-txrx/atspi-txrx.c: new utility that, for now, just turns on the DVDD regulator - tools/atspi-id/Makefile: corrected path in title - fw/include/at86rf230.h: changed TRX_STATE_* to TRX_CMD_*
This commit is contained in:
@@ -113,20 +113,20 @@ enum {
|
||||
TRAC_STATUS_INVALID = 7
|
||||
};
|
||||
|
||||
/* --- TRX_STATE [4:0] ----------------------------------------------------- */
|
||||
/* --- TRX_CMD [4:0] ----------------------------------------------------- */
|
||||
|
||||
#define TRX_STATE_SHIFT 0
|
||||
#define TRX_STATE_MASK 7
|
||||
#define TRX_CMD_SHIFT 0
|
||||
#define TRX_CMD_MASK 7
|
||||
|
||||
enum {
|
||||
TRX_STATE_NOP = 0x00, /* reset default */
|
||||
TRX_STATE_TX_START = 0x02,
|
||||
TRX_STATE_FORCE_TRX_OFF = 0x03,
|
||||
TRX_STATE_RX_ON = 0x06,
|
||||
TRX_STATE_TRX_OFF = 0x08,
|
||||
TRX_STATE_PLL_ON = 0x09,
|
||||
TRX_STATE_RX_AACK_ON = 0x16,
|
||||
TRX_STATE_TX_ARET_ON = 0x19,
|
||||
TRX_CMD_NOP = 0x00, /* reset default */
|
||||
TRX_CMD_TX_START = 0x02,
|
||||
TRX_CMD_FORCE_TRX_OFF = 0x03,
|
||||
TRX_CMD_RX_ON = 0x06,
|
||||
TRX_CMD_TRX_OFF = 0x08,
|
||||
TRX_CMD_PLL_ON = 0x09,
|
||||
TRX_CMD_RX_AACK_ON = 0x16,
|
||||
TRX_CMD_TX_ARET_ON = 0x19,
|
||||
};
|
||||
|
||||
/* --- TRX_CTRL_0 [7:6] ---------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user