TestDoxygen  1.0.21
Test for Doxygen
Data Structures | Defines | Typedefs | Enumerations
TestMAX7456/SIMRCV.h File Reference

Some general defines and macros. More...

#include "myportbits.h"
#include <inttypes.h>
#include "config.h"
#include "errorno.h"

Go to the source code of this file.

Data Structures

struct  displayline
 struct for display lines. More...
struct  timer

Defines

#define SWMAJREV   1
#define SWMNRREV   1
#define SWBLDNO   21
#define SITENAMELN   16
#define PGMSTRING(STRNAME, STR)   const char PROGMEM pgm ## STRNAME[] = STR;
#define EXTPGMSTRING(STRNAME)   extern const char pgm ## STRNAME[];
#define ODDLETTER   'O'
#define EVENLETTER   'E'
#define BCDDIGITCNT   6
#define BCDBYTES   ((BCDDIGITCNT + 1) / 2)
#define FONT_LINES   7
#define FIRST_CHAR   ' '
#define LAST_CHAR   'Z'
#define FONT_CHARS   (LAST_CHAR - FIRST_CHAR + 1)
#define MAXDSPLINES   5
#define MAXNAMELN   6
#define GPSOFFSET   4
#define INTPPSTOL   1
#define PPSARVTOL   5
#define FIXDELAY   10
#define GPSSYNCCOUNT   10
#define POSLEAPSECERR   ((uint8_t) (1 << 0))
#define NEGLEAPSECERR   ((uint8_t) (1 << 1))
#define DELAYFIX   ((uint8_t) (1 << 2))
#define PARITYERR   ((uint8_t) (1 << 3))
#define PPSARVERR   ((uint8_t) (1 << 4))
#define PPSNSRTERR   ((uint8_t) (1 << 5))
#define RMTCROSSSEC   ((uint8_t) (1 << 6))
#define DEFLATITUDE   ""
#define DEFLATHEMIS   'N'
#define DEFLONGITUDE   ""
#define DEFLONGHEMIS   'E'
#define DEFHDOP   ""
#define DEFANTHGT   ""
#define DEFGDHGT   ""
#define PPSSHORTINT   (TICKSPERSEC - PPSARVTOL - 1)
#define PPSLONGINT   (TICKSPERSEC + PPSARVTOL + 1)
#define LWNEGSIG   ((uint8_t) 0x00)
#define LWPOSSIG   ((uint8_t) 0x01)
#define LWPOLMSK   ((uint8_t) 0x01)
#define INTLWTOL   5
#define LWARVTOL   (1 * PREDVPERMS)
#define LWSHORTINT   (TICKSPERSEC - LWARVTOL - 1)
#define LWLONGINT   (TICKSPERSEC + LWARVTOL + 1)
#define DCFA1ERR   1
#define DCFZ1Z2ERR   2
#define DCFLPSERR   3
#define DCFUNXPERR   4
#define TMCMPERR   5
#define DCFCHECKERR   6
#define TIMER_COUNT   3
#define POS_FLANK   1
#define NEG_FLANK   0
#define PC_FLANK(REG, BITNO)   (((REG & (1 << BITNO)) != (uint8_t) 0) ? POS_FLANK : NEG_FLANK)
#define DDR_SPI   DDRB
#define PINR_SPI   PINB
#define SPI_SS   PB2
#define SPI_MOSI   PB3
#define SPI_MISO   PB4
#define SPI_SCK   PB5
#define INIT_SPIPINS   DDRB |= ((1 << SPI_MOSI) | (1 << SPI_SCK) | (1 << SPI_SS));
#define SPISPEED   0
#define INIT_DOGMSPI

Typedefs

typedef uint8_t BCD [BCDBYTES]
typedef uint8_t FONT_ARRAY [FONT_CHARS][FONT_LINES]
typedef struct displayline DISPLAYLINE
typedef struct timer TIMER_STRUCT

Enumerations

enum  VFORMAT { UNDEFVIDEO, NTSC, PAL }
enum  dspndx {
  HEADNDX, INFO1NDX, INFO2NDX, TIMENDX,
  SPARENDX
}
enum  LWSIG {
  UNDEFTX = -1, DCF77SIG = 0, MSFSIG, WWVBSIG,
  JJYSIG, LWTRNCNT
}
enum  LWOPS {
  LWINIT, LWWASMARK, LWCHECK, LWSIG2TIME,
  LWTIME2SIG
}
enum  timerflags {
  tmrLEAPMS = 0x0001, tmrLEAPPS = 0x0002, tmrNOPPS = 0x0004, tmrPPSARV = 0x0008,
  tmrRMCPAR = 0x0010, tmrINTRMC = 0x0020, tmrLWSYNC = 0x0040, tmrLWSNCERR = 0x0080,
  tmrRMCXSEC = 0x0100
}
enum  daysofweek {
  MONDAY = 1, TUESDAY, WEDNESDAY, THURSDAY,
  FRIDAY, SATURDAY, SUNDAY
}

Detailed Description

Some general defines and macros.


Enumeration Type Documentation

enum daysofweek

Days of week, counted as in ISO

 All Data Structures Files Functions Variables Enumerations Defines