Mikroelektronika MIKROE-350 Fiche De Données

Page de 526
External dependencies of T6963C Graphic Lcd Library
443
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
The following variables
must be defined in all
projects using T6963C
Graphic Lcd library:
Description: 
Example : 
dim T6963C_dataPort
as byte sfr external
T6963C Data Port.
dim T6963C_dataPort
as byte at PORTD
dim T6963C_ctrlPort
as byte sfr external
T6963C Control Port.
dim T6963C_ctrlPort
as byte at PORTC
dim T6963C_ctrlwr as
sbit sfr external
Write signal.
dim T6963C_ctrlwr as
sbit at 
PORTC.B2
dim T6963C_ctrlrd as
sbit sfr external
Read signal.
dim T6963C_ctrlrd as
sbit at 
PORTC.B1
dim T6963C_ctrlcd as
sbit sfr external
Command/Data signal.
dim T6963C_ctrlcd as
sbit at 
PORTC.B0
dim T6963C_ctrlrst as
sbit sfr external
Reset signal.
dim T6963C_ctrlrst as
sbit at 
PORTC.B4
dim
T6963C_dataPort_Direc
tion 
as byte sfr
external
Direction of the T6963C
Data Port.
dim
T6963C_dataPort_Direc
tion 
as byte at DDRD
dim
T6963C_ctrlPort_Direc
tion 
as byte sfr
external
Direction of the T6963C
Control Port.
dim
T6963C_ctrlPort_Direc
tion 
as byte at DDRC
dim
T6963C_ctrlwr_Directi
on 
as sbit sfr
external
Direction of the Write pin.
dim
T6963C_ctrlwr_Directi
on 
as sbit at DDRC.B2
dim
T6963C_ctrlrd_Directi
on 
as sbit sfr
external
Direction of the Read pin.
dim
T6963C_ctrlrd_Directi
on 
as sbit at DDRC.B1
dim
T6963C_ctrlcd_Directi
on 
as sbit sfr
external
Direction of the Com-
mand/Data pin.
dim
T6963C_ctrlcd_Directi
on 
as sbit at DDRC.B0
dim
T6963C_ctrlrst_Direct
ion 
as sbit sfr
external
Direction of the Reset pin.
dim
T6963C_ctrlrst_Direct
ion 
as sbit at
DDRC.B4