You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
659 B
C
48 lines
659 B
C
#ifndef __HW_H__
|
|
#define __HW_H__
|
|
#define SenderEnable PD2
|
|
#define ReceiverDisable PD3
|
|
|
|
#ifdef TESTNODE
|
|
#include "testhw.h"
|
|
#endif
|
|
#ifdef RELAISNODE
|
|
#include "relaishw.h"
|
|
#endif
|
|
#ifdef IO6NODE
|
|
#include "io6hw.h"
|
|
#endif
|
|
|
|
#ifndef F_CPU
|
|
#define F_CPU 16000000L
|
|
#endif
|
|
|
|
#ifndef HBWTYPE
|
|
#define HBWTYPE 0xAB
|
|
#endif
|
|
|
|
#ifndef HBWSERIAL0
|
|
#define HBWSERIAL0 'C'
|
|
#define HBWSERIAL1 'O'
|
|
#define HBWSERIAL2 'L'
|
|
#define HBWSERIAL3 'A'
|
|
#define HBWSERIAL4 'B'
|
|
#define HBWSERIAL5 'D'
|
|
#define HBWSERIAL6 'E'
|
|
#define HBWSERIAL7 'V'
|
|
#endif
|
|
|
|
#ifndef HBWMAJOR
|
|
#define HBWMAJOR 0
|
|
#endif
|
|
|
|
#ifndef HBWMINOR
|
|
#define HBWMINOR 0
|
|
#endif
|
|
|
|
#ifndef EESIZE
|
|
#define EESIZE 512
|
|
#endif
|
|
|
|
#endif
|