![]() |
Real Time Clock Module with I2C Interface
0.3
|
|
⇒ back to Project Page |
Go to the source code of this file.
Macros | |
| #define | LCD_PORT PORTD |
| ///////////////////////////////////////////////////////////////////////// port_definitions.h // // Version: 0.8 // Date: 01/09/2010 // Author: Michael Skutek (michael@skutek.de) // // Description: Port Settings (Definitions, Association) // // Platform: AVR ATmega (tested on ATmega16) // // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program. If not, see // http://www.gnu.org/licenses/. // ///////////////////////////////////////////////////////////////////////// | |
| #define | LCD_DDR DDRD |
| #define | LCD_RS PD0 |
| #define | LCD_RW PD1 |
| #define | LCD_EN PD2 |
| #define | LCD_DB4 PD4 |
| #define | LCD_DB5 PD5 |
| #define | LCD_DB6 PD6 |
| #define | LCD_DB7 PD7 |
| #define | LCDBL_PORT PORTD |
| Controller Port for Backlight Pin. | |
| #define | LCDBL_DDR DDRD |
| DDR Register of Controller Port for LCD Backlight. | |
| #define | LCDBL_CTRL PD3 |
| Pin for Backlight. | |
| #define | DCF_LED_PORT PORTB |
| #define | DCF_LED_DDR DDRB |
| #define | DCF_LED_ADDR PB1 |
| #define | COMP_PORT PORTC |
| #define | COMP_PIN PINC |
| #define | COMP_DDR DDRC |
| #define | COMP_DATA PC2 |
| #define | PON_PORT PORTC |
| #define | PON_DDR DDRC |
| #define | PON_ADDR PC3 |
| #define | I2C_PORT PORTC |
| #define | I2C_DDR DDRC |
| #define | I2C_SDA_ADDR PC4 |
| #define | I2C_SCL_ADDR PC5 |
1.8.2