|
fremoclock
1_3A01
FREMO Clock - Software for UTG
|
System wide Definitions for FREMO Clock. More...
Go to the source code of this file.
Macros | |
| #define | MCU |
| MCU (microcontroller) used. More... | |
| #define | F_CPU 16000000 |
| Processor frequency. More... | |
| #define | VERSION "1.3A01" |
| Version String of software package. More... | |
| #define | HOST_BAUD_RATE 115200 |
| The baudrate used when SERIAL_OUT_ON is defined. More... | |
| #define | DEBUG_TIMER_ON |
| Do not know what this is used for. More... | |
| #define | SYSTEM_TIMER_ON |
| Do not know what this is used for. More... | |
| #define | BOARD_PROTO_48 |
| Definition of the board used. More... | |
| #define | CLOCK_PERIOD_10 6000 |
| 10 times counts needed for 1 min in 1:1 More... | |
| #define | CLOCK_PORT PORTC |
| Port for clock pulsebits. More... | |
| #define | CLOCK_DDR DDRC |
| Datadirectionreg of port for clock pulsebits. More... | |
| #define | CLOCK_PULSE_ODD PC1 |
| Portbit for odd clock pulse. More... | |
| #define | CLOCK_PULSE_EVEN PC2 |
| Portbit for even clock pulse. More... | |
| #define | CLOCK_PULSE_ENABLE12 PC3 |
| Portbit for enable clock pulse line 1. More... | |
| #define | CLOCK_PULSE_ENABLE34 PC0 |
| Portbit for enable clock pulse line 2. More... | |
| #define | BUTTON_PORT PORTB |
| Port used for buttons. More... | |
| #define | BUTTON_DDR DDRB |
| Data direction register used for buttons. More... | |
| #define | BUTTON_PINS PINB |
| Input register used for buttons. More... | |
| #define | BUTTON_ENTER_PIN PINB2 |
| Pin used for enter button. More... | |
| #define | BUTTON_BACK_PIN PINB3 |
| Pin used for back button. More... | |
| #define | BUTTON_UP_PIN PINB4 |
| Pin used for up button. More... | |
| #define | BUTTON_DOWN_PIN PINB5 |
| Pin used for down button. More... | |
System wide Definitions for FREMO Clock.
System wide Definitions to get all those things to one place, which are suspect to change very often; e.g. Baudrate, Frequency of Oscillator, MCU-Type or Board.
Target:
Software
Definition in file sysdef.h.
| #define BOARD_PROTO_48 |
| #define BUTTON_DDR DDRB |
| #define CLOCK_DDR DDRC |
| #define CLOCK_PERIOD_10 6000 |
| #define CLOCK_PULSE_ENABLE12 PC3 |
| #define CLOCK_PULSE_ENABLE34 PC0 |
| #define F_CPU 16000000 |
| #define HOST_BAUD_RATE 115200 |
| #define MCU |