TestDoxygen  1.0.21
Test for Doxygen
Defines
TestMAX7456/config.h File Reference

Configuration file config.h for GPSsim program, it defines the modules used. More...

#include "options.h"
#include "config_rules.h"

Go to the source code of this file.

Defines

#define PGMFUNCTION   RECEIVER
#define HARDWARE   JR_DEFS
#define GPS
#define LWTIME
#define DOGMDISPLAY
#define DOGMTYPE   DOGM162
#define DOGMINTERFACE   DOGMSPI
#define DOGMSUPPLY   DOGM5V
#define CONTROLS
#define VTIDEVICE   MAX7456OSD
#define GPSMODEL   GARMINLVC18x
#define GPSRCV
#define RX_RS232
#define LWDEFSIGNAL   UNDEFTX
#define LW_RCV
#define DCF77
#define F_CPU   18432000
#define PREDIV   1024
 PREDIV, Timer predivider setting, see the processor documentation.
#define DEFSITENAME   "A37 MUEGGELHEIM "
 DEFSITENAME Sitename, max SITENAMELN characters.

Detailed Description

Configuration file config.h for GPSsim program, it defines the modules used.

The values are verified in config_rules.h, and generate compile errors if a rule is violated


Define Documentation

#define CONTROLS

Control buttons, see file controls.h

#define DCF77

receive DCF signal receive MSF signal Not yet implemented Not yet implemented

#define DEFSITENAME   "A37 MUEGGELHEIM "

DEFSITENAME Sitename, max SITENAMELN characters.

The character set is limited, for the SW_OSD version see the variable font in file SW_OSD.c. For the MAX7456OSD version see the MAX7456 data sheet

#define DOGMDISPLAY

DOGMDISPLAY is on the board The type is at the moment fixed as a DOGM162, 2 lines of 16 characters The interface is also fixed at SPI

#define DOGMINTERFACE   DOGMSPI

The interface is DOGM8BIT, DOGM4BIT or DOGMSPI

#define DOGMSUPPLY   DOGM5V

Supply voltage is DGM5V or DOGM33V

#define F_CPU   18432000

If the receiver should also transmit NMEA sentences, then define TX_RS232

F_CPU, CPU quarz frequency in Hz

#define GPS

Use a GPS receiver as time source, or simulate a GPS receiver

#define GPSMODEL   GARMINLVC18x

Canon shutter control, not yet implemented

GPS device type. At the moment only Garmin LVC 18x (GARMINLVC18x) is implemented. The baud rate is defined in RS232.h, later it will use autobaud

#define HARDWARE   JR_DEFS

Hardware definitions, set to SVEN_DEFS, JR_DEFS or XMEGA_DEFS

#define LW_RCV

Receive LW signal

#define LWDEFSIGNAL   UNDEFTX

In the RECEIVER version LWDEFSIGNAL can be one of the defined transmitters (see enum LWSIG in SIMRCV.h), or defined as UNDEFTX. The program will then recognise the transmitter automatically.

#define LWTIME

Use an LW receiver as time source, or simulate an LW transmitter

#define PGMFUNCTION   RECEIVER

The following part defines which modules are used for generating the program.

Set PGMFUNCTION to SIMULATOR or RECEIVER

#define PREDIV   1024

PREDIV, Timer predivider setting, see the processor documentation.

This determines the internal timing source interrupt frequency. In the SIMULATOR version F_CPU / PREDIV must be a whole multiple of 1000 In the RECEIVER version F_CPU / PREDIV must be a whole multiple of 10

#define VTIDEVICE   MAX7456OSD

VTI device, NO_OSD, SW_OSD or MAX7456OSD

 All Data Structures Files Functions Variables Enumerations Defines