Alarm Sensor Module  0.1
⇒ back to Project Page
Macros
port_definitions.h File Reference
This graph shows which files directly or indirectly include this file:

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 (micha.nosp@m.el@s.nosp@m.kutek.nosp@m..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/. // More...
 
#define LCD_DDR   DDRD
 
#define LCD_RS   PD0
 
#define LCD_RW   PD6
 
#define LCD_EN   PD1
 
#define LCD_DB4   PD2
 
#define LCD_DB5   PD3
 
#define LCD_DB6   PD4
 
#define LCD_DB7   PD5
 
#define LCDBL_PORT   PORTD
 Controller Port for Backlight Pin. More...
 
#define LCDBL_DDR   DDRD
 DDR Register of Controller Port for LCD Backlight. More...
 
#define LCDBL_CTRL   PD7
 Pin for Backlight. More...
 
#define LED_PORT   PORTB
 
#define LED_DDR   DDRB
 
#define LED_ADDR   PB6
 
#define ADC_PORT   PORTC
 
#define ADC_DDR   DDRC
 
#define ADC_PIN   PC2
 
#define BAT_PORT   PORTC
 
#define BAT_DDR   DDRC
 
#define BAT_PIN   PC5
 
#define SEN1_DRV_PORT   PORTC
 
#define SEN1_DRV_DDR   DDRC
 
#define SEN1_DRV_PIN   PC3
 
#define SEN2_DRV_PORT   PORTC
 
#define SEN2_DRV_DDR   DDRC
 
#define SEN2_DRV_PIN   PC4
 
#define SEN1_IN_PORT   PORTC
 
#define SEN1_IN_INPORT   PINC
 
#define SEN1_IN_DDR   DDRC
 
#define SEN1_IN_PIN   PC0
 
#define SEN2_IN_PORT   PORTC
 
#define SEN2_IN_INPORT   PINC
 
#define SEN2_IN_DDR   DDRC
 
#define SEN2_IN_PIN   PC1
 
#define RFM12_PORT   PORTB
 
#define RFM12_PIN   PINB
 
#define RFM12_DDR   DDRB
 
#define RFM12_LEDG   PB7
 
#define RFM12_LEDY   PB6
 
#define RFM12_nIRQ   PB0
 
#define RFM12_nRES   PB1
 
#define RFM12_nSEL   PB2
 
#define RFM12_SDI   PB3
 
#define RFM12_SDO   PB4
 
#define RFM12_SCK   PB5