AVRly - AVR Development Resources
pin_defines.h File Reference

Definitions for pins and ports. More...

Go to the source code of this file.

Macros

#define LCD_DATA_PORT   PORTB
 
#define LCD_DATA_DDR   DDRB
 
#define LCD_DATA_PIN   PINB
 
#define LCD_CTRL_PORT   PORTB
 
#define LCD_CTRL_DDR   DDRB
 
#define LCD_RS   PB0
 
#define LCD_EN   PB1
 
#define LCD_D7   PB7
 
#define LCD_D6   PB6
 
#define LCD_D5   PB5
 
#define LCD_D4   PB4
 

Detailed Description

Definitions for pins and ports.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Author
Jason Duffy
Date
2nd April 2022

Definition in file pin_defines.h.

Macro Definition Documentation

◆ LCD_DATA_PORT

#define LCD_DATA_PORT   PORTB

Definition at line 35 of file pin_defines.h.

◆ LCD_DATA_DDR

#define LCD_DATA_DDR   DDRB

Definition at line 36 of file pin_defines.h.

◆ LCD_DATA_PIN

#define LCD_DATA_PIN   PINB

Definition at line 37 of file pin_defines.h.

◆ LCD_CTRL_PORT

#define LCD_CTRL_PORT   PORTB

Definition at line 38 of file pin_defines.h.

◆ LCD_CTRL_DDR

#define LCD_CTRL_DDR   DDRB

Definition at line 39 of file pin_defines.h.

◆ LCD_RS

#define LCD_RS   PB0

Definition at line 42 of file pin_defines.h.

◆ LCD_EN

#define LCD_EN   PB1

Definition at line 43 of file pin_defines.h.

◆ LCD_D7

#define LCD_D7   PB7

Definition at line 45 of file pin_defines.h.

◆ LCD_D6

#define LCD_D6   PB6

Definition at line 46 of file pin_defines.h.

◆ LCD_D5

#define LCD_D5   PB5

Definition at line 47 of file pin_defines.h.

◆ LCD_D4

#define LCD_D4   PB4

Definition at line 48 of file pin_defines.h.