Enable RX_START interrupt and read rssi at end of preamble when not using energy detect register
This commit is contained in:
parent
0a4a0ffb32
commit
c784e8bc46
3 changed files with 30 additions and 13 deletions
|
@ -45,7 +45,7 @@
|
|||
* \file
|
||||
* \brief This file contains radio driver code.
|
||||
*
|
||||
* $Id: rf230bb.h,v 1.4 2010/12/03 20:42:01 dak664 Exp $
|
||||
* $Id: rf230bb.h,v 1.5 2010/12/14 22:34:18 dak664 Exp $
|
||||
*/
|
||||
|
||||
#ifndef RADIO_H
|
||||
|
@ -61,7 +61,10 @@
|
|||
#define RF230_REVA ( 1 )
|
||||
#define RF230_REVB ( 2 )
|
||||
#define SUPPORTED_MANUFACTURER_ID ( 31 )
|
||||
#define RF230_SUPPORTED_INTERRUPT_MASK ( 0x0C )
|
||||
/* RF230 does not support RX_START interrupts in extended mode, but it seems harmless to always enable it. */
|
||||
/* In non-extended mode this allows RX_START to sample the RF rssi at the end of the preamble */
|
||||
//#define RF230_SUPPORTED_INTERRUPT_MASK ( 0x0C ) //disable RX_START
|
||||
#define RF230_SUPPORTED_INTERRUPT_MASK ( 0x0F )
|
||||
|
||||
#define RF230_MIN_CHANNEL ( 11 )
|
||||
#define RF230_MAX_CHANNEL ( 26 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue