S D B C - D K 3 U G
Rev. 0.3
47
9.2. Main Source File
/************************************************************************************
*
*
FILE --- MAIN.C
*
* DESCRIPTION
*
This is the main file of the project.
*
* CREATED
*
Silicon Laboratories Hungary Ltd
*
* COPYRIGHT
* Copyright
2008
Silicon Laboratories, Inc.
* http://www.silabs.com
*
*************************************************************************************/
/*-------------------------------------------------------------------------------------
INCLUDE
-------------------------------------------------------------------------------------*/
#include "C8051.h"
#include "Si4432.h"
/*--------------------------------------------------------------------------------------
FUNCTION
PROTOTYPES
-------------------------------------------------------------------------------------*/
void Hw_Init(void);
void delay_ms(uint8 delay);
/*
The
real
program
starts
here.
*/
/* After power-on, the first two tasks are the init of the MCU and the software development board. */
/* The main loop starts after that. While (1) means that it is a never ending loop.
*/
/*-------------------------------------------------------------------------------------
MAIN
PROGRAM
-------------------------------------------------------------------------------------*/
void
main
(void)
{
idata uint8 packet[MAX_PAYLOAD_LENGTH];
idata uint8 length;
Hw_Init();
// initialize the MCU and the SW Development board
RfInitHw(DR4800BPS_DEV45KHZ);
// initialize the Si4432
RFIdle();
// set the radio into IDLE state
RFReceive();
//
start
continuous
receive
Summary of Contents for C8051F930
Page 2: ...SDBC DK3 UG 2 Rev 0 3 ...
Page 9: ...SDBC DK3 UG Rev 0 3 9 Figure 5 MSC DBSB8 Schematic 2 of 2 ...
Page 21: ...SDBC DK3 UG Rev 0 3 21 Figure 24 Active Antenna and RSSI Indications ...
Page 23: ...SDBC DK3 UG Rev 0 3 23 Figure 26 Lab Equipment Connection Diagram ...
Page 75: ...SDBC DK3 UG Rev 0 3 75 NOTES ...