Mikroelektronika MIKROE-738 Datenbogen

Seite von 682
mikroC PRO for PIC32
MikroElektronika
325
External dependencies of Graphic Lcd Library
The following variables must be defined 
in  all  projects  using  Graphic  Lcd 
Library:
Description:
Example:
extern sfr sbit GLCD_D0;
Data 0 line.
sbit GLCD_D0 at LATB0_bit;
extern sfr sbit GLCD_D1;
Data 1 line.
sbit GLCD_D1 at LATB1_bit;
extern sfr sbit GLCD_D2;
Data 2 line.
sbit GLCD_D2 at LATF2_bit;
extern sfr sbit GLCD_D3;
Data 3 line.
sbit GLCD_D3 at LATF3_bit;
extern sfr sbit GLCD_D4;
Data 4 line.
sbit GLCD_D4 at LATD0_bit;
extern sfr sbit GLCD_D5;
Data 5 line.
sbit GLCD_D5 at LATD1_bit;
extern sfr sbit GLCD_D6;
Data 6 line.
sbit GLCD_D6 at LATD2_bit;
extern sfr sbit GLCD_D7;
Data 7 line.
sbit GLCD_D7 at LATD3_bit;
extern sfr sbit GLCD_CS1;
Chip Select 1 line.
sbit GLCD_CS1 at LATB4_bit;
extern sfr sbit GLCD_CS2;
Chip Select 2 line.
sbit GLCD_CS2 at LATB5_bit;
extern sfr sbit GLCD_RS;
Register select line.
sbit GLCD_RS at LATF0_bit;
extern sfr sbit GLCD_RW;
Read/Write line.
sbit GLCD_RW at LATF1_bit;
extern sfr sbit GLCD_EN;
Enable line.
sbit GLCD_RST at LATF4_bit;
extern sfr sbit GLCD_RST;
Reset line.
sbit GLCD_RST at LATF5_bit;
extern 
sfr 
sbit 
GLCD_D0_
Direction;
Direction of the Data 0 pin.
sbit  GLCD_D0_Direction  at  TRISB0_
bit;
extern 
sfr 
sbit 
GLCD_D1_
Direction;
Direction of the Data 1 pin.
sbit  GLCD_D2_Direction  at  TRISB2_
bit;
extern 
sfr 
sbit 
GLCD_D3_
Direction;
Direction of the Data 3 pin.
sbit  GLCD_D3_Direction  at  TRISB3_
bit;
extern 
sfr 
sbit 
GLCD_D4_
Direction;
Direction of the Data 4 pin.
sbit  GLCD_D4_Direction  at  TRISD0_
bit;
extern 
sfr 
sbit 
GLCD_D5_
Direction;
Direction of the Data 5 pin.
sbit  GLCD_D5_Direction  at  TRISD1_
bit;
extern 
sfr 
sbit 
GLCD_D6_
Direction;
Direction of the Data 6 pin.
sbit  GLCD_D6_Direction  at  TRISD2_
bit;
extern 
sfr 
sbit 
GLCD_D7_
Direction;
Direction of the Data 7 pin.
sbit  GLCD_D7_Direction  at  TRISD3_
bit;
extern  sfr  sbit  GLCD_CS1_
Direction;
Direction of the Chip Select 1 pin.
sbit  GLCD_CS1_Direction  at  TRISB4_
bit;
extern  sfr  sbit  GLCD_CS2_
Direction;
Direction of the Chip Select 2 pin.
sbit  GLCD_CS2_Direction  at  TRISB5_
bit;
extern 
sfr 
sbit 
GLCD_RS_
Direction;
Direction  of  the  Register  select 
pin.
sbit  GLCD_RS_Direction  at  TRISF0_
bit;
extern 
sfr 
sbit 
GLCD_RW_
Direction;
Direction of the Read/Write pin.
sbit  GLCD_RW_Direction  at  TRISF1_
bit;
extern 
sfr 
sbit 
GLCD_EN_
Direction;
Direction of the Enable pin.
sbit  GLCD_EN_Direction  at  TRISF4_
bit;
extern  sfr  sbit  GLCD_RST_
Direction;
Direction of the Reset pin.
sbit  GLCD_RST_Direction  at  TRISF5_
bit;