System and Board Parameters.


[NOHEADER]

#define DATA_SIZE   (1024)
#define TEXT_SIZE   (1024)
#define M6811_CPU_CLOCK   (8000000L)
#define M6811_CPU_E_CLOCK   (M6811_CPU_CLOCK / 4)
#define M6811_DEF_BAUD   0x33
#define M6811_USE_COP   0
#define M6811_DEF_TPR   0
 Timer prescaler value.

#define M6811_DEF_RTR   0

Detailed Description

This section contains several #define to give configuration characteristics of the target board.

Define Documentation

#define DATA_SIZE   (1024)
 

Data section size.

Define the size of the data section. This is used by some examples to tune and setup some of their internal tables.

Definition at line 56 of file asm-m68hc11/param.h.

#define M6811_CPU_CLOCK   (8000000L)
 

CPU Clock frequency.

Define the frequency of the oscillator plugged on the processor. The value is in hertz. By default, use 8Mhz.

Definition at line 72 of file asm-m68hc11/param.h.

#define M6811_CPU_E_CLOCK   (M6811_CPU_CLOCK / 4)
 

CPU E clock.

The E clock frequency. This frequency is used as the basis for timer computation. The value is in hertz.

Definition at line 80 of file asm-m68hc11/param.h.

#define M6811_DEF_BAUD   0x33
 

SIO default baud rate.

Defines the default baud rate of the SIO. This baud rate is used to configure the M6811_BAUD register.

  • 0x33 -> 1200 baud (8Mhz cpu)
  • 0x30 -> 9600 baud (8Mhz cpu)

Definition at line 93 of file asm-m68hc11/param.h.

#define M6811_USE_COP   0
 

Use the 68HC11 COP.

Define this if you are using the COP timer. This activate the COP reset while polling and writing on the serial line.

Definition at line 102 of file asm-m68hc11/param.h.

#define TEXT_SIZE   (1024)
 

Text section size.

Define the size of the text section. This is used by some examples to tune and setup some of their data types and features.

Definition at line 64 of file asm-m68hc11/param.h.