From 18876a1fae22b302c1d951b6268627134d789157 Mon Sep 17 00:00:00 2001 From: Robert Olsson Date: Fri, 18 Mar 2016 10:55:54 +0100 Subject: [PATCH] Adding CRC valid check in rf230bb radios registermaps --- cpu/avr/radio/rf230bb/atmega128rfa1_registermap.h | 1 + cpu/avr/radio/rf230bb/atmega256rfr2_registermap.h | 1 + 2 files changed, 2 insertions(+) diff --git a/cpu/avr/radio/rf230bb/atmega128rfa1_registermap.h b/cpu/avr/radio/rf230bb/atmega128rfa1_registermap.h index 7eeb068ab..b28ed0ec0 100644 --- a/cpu/avr/radio/rf230bb/atmega128rfa1_registermap.h +++ b/cpu/avr/radio/rf230bb/atmega128rfa1_registermap.h @@ -71,6 +71,7 @@ #define RG_PHY_ED_LEVEL PHY_ED_LEVEL #define RG_RX_SYN RX_SYN #define SR_RSSI 0x146, 0x1f, 0 +#define SR_RX_CRC_VALID 0x146, 0x80, 7 #define SR_PLL_CF_START 0x15a, 0x80, 7 #define SR_PLL_DCU_START 0x15b, 0x80, 7 #define SR_MAX_CSMA_RETRIES 0x16c, 0x0e, 1 diff --git a/cpu/avr/radio/rf230bb/atmega256rfr2_registermap.h b/cpu/avr/radio/rf230bb/atmega256rfr2_registermap.h index bc737de9a..1baf1a3ac 100644 --- a/cpu/avr/radio/rf230bb/atmega256rfr2_registermap.h +++ b/cpu/avr/radio/rf230bb/atmega256rfr2_registermap.h @@ -71,6 +71,7 @@ #define RG_PHY_ED_LEVEL PHY_ED_LEVEL #define RG_RX_SYN RX_SYN #define SR_RSSI 0x146, 0x1f, 0 +#define SR_RX_CRC_VALID 0x146, 0x80, 7 #define SR_RX_SYN 0x155, 0xff, 0 #define SR_TRX_RPC 0x156, 0xff, 0 #define SR_XAH_CTRL_1 0x157, 0xf5, 2