Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1447 Datasheet(PDF) 8 Page - STMicroelectronics

Part # AN1447
Description  SOFTWARE DRIVER FOR 4-MULTIPLEXED LCD WITH A STANDARD ST62
PDF  26 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1447 Datasheet(HTML) 8 Page - STMicroelectronics

Back Button AN1447 Datasheet HTML 4Page - STMicroelectronics AN1447 Datasheet HTML 5Page - STMicroelectronics AN1447 Datasheet HTML 6Page - STMicroelectronics AN1447 Datasheet HTML 7Page - STMicroelectronics AN1447 Datasheet HTML 8Page - STMicroelectronics AN1447 Datasheet HTML 9Page - STMicroelectronics AN1447 Datasheet HTML 10Page - STMicroelectronics AN1447 Datasheet HTML 11Page - STMicroelectronics AN1447 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 26 page
background image
8/26
4-MULTIPLEXED LCD WITH A STANDARD ST62
The code uses DR_seg, DDR_seg and OR_seg labels to access the configuration registers of
the segments port. DR_com, DDR_com and OR_com labels are used for the commons port.
DR_seg_2
and DR_com_2 are labels referring to RAM variables used as shadow I/O port
Data Registers. These 8 labels are declared as external at the beginning of LCD_drv.st6.
Therefore, to make the library work, you must define them as synonyms of actual configura-
tion registers, like in the following example:
DDR_com
DATA
DDRB
DR_com
DATA
DRB
OR_com
DATA
ORB
DDR_seg
DATA
DDRA
DR_seg
DATA
DRA
OR_seg
DATA
ORA
DR_com_2
DATA
DRB_2
DR_seg_2
DATA
DRA_2
These definitions must be performed in another source file which is to be linked with
LCD_drv.st6
.
Note: in this example, DRA_2 and DRB_2 definitions must be in the same source file as
DR_seg_2
and DR_com_2 definitions, otherwise the DATA directive does not work.
Once the segments and commons ports defined, the MCU must be wired according to Figure
6. Note that a pair of S pins is assigned to each “8-segment digit”. To understand the roles of
each of the two pins, refer to Figure 6.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com