SDBC-DK3 Silicon Laboratories Inc, SDBC-DK3 Datasheet - Page 66

KIT WIRELESS DEV EZRADIOPRO

SDBC-DK3

Manufacturer Part Number
SDBC-DK3
Description
KIT WIRELESS DEV EZRADIOPRO
Manufacturer
Silicon Laboratories Inc
Type
Transceiverr
Datasheet

Specifications of SDBC-DK3

Wireless Frequency
868 MHz
Interface Type
RS-232, USB
Modulation
GFSK
Operating Voltage
3.3 V
For Use With/related Products
EZRadioPRO®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
SDBC-DK3 UG
66
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
RF_ENUM RFPacketReceived (uint8 * packet, uint8 * length)
{
}
+
+
+
+
+
+
+
+
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
// Check if IT occurred or not
FUNCTION NAME:
DESCRIPTION:
INPUT:
RETURN:
NOTES:
xdata uint8 i;
if( RF_NIRQ_PIN == 0 )
{
/* check what caused the interrupt */
}
return RF_NO_PACKET;
// read out IT status register
ItStatus1 = SpiRfReadRegister(InterruptStatus1);
ItStatus2 = SpiRfReadRegister(InterruptStatus2);
// packet received interrupt occurred
if( (ItStatus1 & 0x02) == 0x02)
{
}
// CRC ERROR interrupt occurred
if( (ItStatus1 & 0x01) == 0x01 )
{
}
// read buffer
*length = SpiRfReadRegister(ReceivedPacketLength) ;
for(i=0;i<*length;i++)
{
}
// disable receiver
SpiRfWriteAddressData((REG_WRITE | OperatingFunctionControl1), 0x01);
return RF_PACKET_RECEIVED;
// disable receiver
SpiRfWriteAddressData((REG_WRITE | OperatingFunctionControl1), 0x01);
return RF_CRC_ERROR;
RF_ENUM RFPacketReceived (uint8 * packet, uint8 * length)
Check whether the packet received or not.
Pointers for storing data and length
RF_PACKET_RECEIVED:
RF_NO_PACKET:
RF_CRC_ERROR:
*packet++ = SpiRfReadRegister(FIFOAccess);
Rev. 0.4
Packet received
Packet is not yet received
Received a packet with CRC error

Related parts for SDBC-DK3