Silicon Laboratories SI4421 Uživatelský manuál Strana 6

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 16
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 5
RF WIRELESS FOUNDATION COURSE BOOK ONE
6 Rev. 0.1
Exercise 3—How to Generate a Header File for Our Software
At the top level, the WDS Chip configurator is a useful tool for swiftly generating register settings, but in lab
environments the WDS chip configurator is also capable of loading the register values directly into the Silicon Labs
RFIC. During the code development stages of a project, this tool also is useful for developing header files. This
header file can be directly included into the compilation of the source code as the control commands of the RF chip
are available as a definition.
1. Start the “ANSI C header generator tool” from the “Tools” menu
2. Generate the header file with the “Generate Header” button
3. Save the header file (if it already exists, just overwrite the existing file)
“C:\Silabs\SRW\RF_Basics_Lesson\Setup_Si4421.h”
Figure 7. ANSI C Header Generator Tool
Example from the header file:
#define IA4421_CONFIGSET_CMD 0x8038
/*
Configuration Setting Command
Frequency Band: 915 MHz
Crystal Load Capacitance: 12.5 pF
*/
1. ANSI C
header generator
2. Generate the
header file
3. Save the
header file
Zobrazit stránku 5
1 2 3 4 5 6 7 8 9 10 11 ... 15 16

Komentáře k této Příručce

Žádné komentáře