![Silicon Laboratories Si4012 Programming Manual Download Page 27](http://html1.mh-extra.com/html/silicon-laboratories/si4012/si4012_programming-manual_1272046027.webp)
AN746
Rev. 0.1
27
Description of the header files:
compiler_defs.h
—Contains compiler related definitions in order to provide a uniform way to use non-ANSI C
keywords, such as BIT, XDATA, SEGMENT_VARIABLE and more.
platform_defs.h
—Platform definitions, in this header the type of hardware, MCU can be defined.
hardware_defs.h
—Definitions can be found in this header that closely related to the actual hardware, for example,
which pins connected to LEDs, push-buttons, etc.
application_defs.h
—Definitions for the given application.
spi.h
—Serial Peripheral Interface driver header file. Contains functions to access and utilize the MCUs SPI
interface.
radio_config.h
—Radio configuration header. This file is generated by the Wireless Development Studio (WDS).
The user may want to add custom configurations to this file.
radio_hal.h
—Common hardware abstraction layer for both Si446x and Si4455 radio families.
radio_comm.h
—Common communication layer for both Si446x and Si4455 radio families.
The next group of header includes depends on the actual radio chip defined in
platform_defs.h
.
/*
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
*/
/*
Application
specific
includes
*/
/*
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
*/
#include
"compiler_defs.h"
#include
"platform_defs.h"
#include
"hardware_defs.h"
#include
"..\application\application_defs.h"
#include
"spi.h"
#include
"..\application\radio_config.h"
#include
"..\application\radio.h"
#include
"..\drivers\radio\radio_hal.h"
#include
"..\drivers\radio\radio_comm.h"
#ifdef
SILABS_RADIO_SI446X
#include
"..\drivers\radio\Si446x\si446x_api_lib.h"
#include
"..\drivers\radio\Si446x\si446x_defs.h"
#include
"..\drivers\radio\Si446x\si446x_nirq.h"
#include
"..\drivers\radio\Si446x\si446x_patch.h"
#endif
#ifdef
SILABS_RADIO_SI4455
#include
"..\drivers\radio\Si4455\si4455_api_lib.h"
#include
"..\drivers\radio\Si4455\si4455_defs.h"
#include
"..\drivers\radio\Si4455\si4455_nirq.h"
#endif
Summary of Contents for Si4012
Page 14: ...AN746 14 Rev 0 1...
Page 18: ...AN746 18 Rev 0 1...
Page 29: ...AN746 Rev 0 1 29 NOTES...