Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

LS7267 Datenblatt(PDF) 15 Page - LSI Computer Systems

Teilenummer LS7267
Bauteilbeschribung  24-BIT DUAL-AXIS QUADRATURE COUNTER
PDF  15 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  LSI [LSI Computer Systems]
Direct Link  http://www.lsicsi.com
Logo LSI - LSI Computer Systems

LS7267 Datenblatt(HTML) 15 Page - LSI Computer Systems

Back Button LS7267 Datasheet HTML 7Page - LSI Computer Systems LS7267 Datasheet HTML 8Page - LSI Computer Systems LS7267 Datasheet HTML 9Page - LSI Computer Systems LS7267 Datasheet HTML 10Page - LSI Computer Systems LS7267 Datasheet HTML 11Page - LSI Computer Systems LS7267 Datasheet HTML 12Page - LSI Computer Systems LS7267 Datasheet HTML 13Page - LSI Computer Systems LS7267 Datasheet HTML 14Page - LSI Computer Systems LS7267 Datasheet HTML 15Page - LSI Computer Systems  
Zoom Inzoom in Zoom Outzoom out
 15 / 15 page
background image
//Setup PR Reg. for Modulo N Counter to 0x123456
outp(XDATA(Addr),0x56);
//Least significant Byte first
outp(XDATA(Addr),0x34);
//then middle byte
outp(XDATA(Addr),0x12);
//then most significant byte
//Setup PR Reg. for Modulo N Counter to 0x123456
outp(YDATA(Addr),0x56);
//Least significant Byte first
outp(YDATA(Addr),0x34);
//then middle byte
outp(YDATA(Addr),0x12);
//then most significant byte
//Enable Counters
outp(XCMD(Addr),IOR(EnAB));
}
/* Write_7266_PR
Input: Addr has Address of 7266 counter.
Data: has 24 bit data to be written to PR register
*/
void Write_7266_PR(int Addr,unsigned long Data);
void Write_7266_PR(int Addr,unsigned long Data)
{
outp(XCMD(Addr),RLD(Rst_BP));
//Reset Byte Pointer to Synchronize Byte Writing
outp(XDATA(Addr),(unsigned char)Data);
Data >>= 8;
outp (XDATA(Addr),(unsigned char)Data);
Data >>= 8;
outp(XDATA(Addr),(unsigned char)Data);
}
/* Read_7266_OL
Input: Addr has Address of 7266 counter.
Output: Data returns 24 bit OL register value.
*/
unsigned long Read_7266_OL(int Addr);
unsigned long Read_7266_OL(int Addr)
{ unsigned long Data=0;
outp(XCMD(Addr),(RLD(Rst_BP + Trf_Cntr_OL)); //Reset Byte Pointer to Synchronize Byte reading and
Transferring of data from counters to OL.
Data |=(unsigned long)inp(XDATA(Addr));
//read byte 0 from OL
lrotr(Data,8);
//Rotate for next Byte
Data |=(unsigned long)inp(XDATA(Addr));
//read byte 1 from OL
lrotr(Data,8);
//Rotate for next Byte
Data |=(unsigned long)inp(XDATA(Addr)); //read byte 2 from OL
lrotr(Data,16);
//Rotate for last Byte
return(Data);
}
/*
Get_7266_Flags
Input: Addr has Address of 7266 counter.
returns Flags of counter
*/
unsigned char Get_7266_Flags(int Addr);
unsigned char Get_7266_Flags(int Addr)
{
return(inp(CMD(Addr)));
}
7267-042713-15



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
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