Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

LS7366R Datasheet(PDF) 15 Page - LSI Computer Systems

Part # LS7366R
Description  32-BIT QUADRATURE COUNTER WITH SERIAL INTERFACE
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  LSI [LSI Computer Systems]
Direct Link  http://www.lsicsi.com
Logo LSI - LSI Computer Systems

LS7366R Datasheet(HTML) 15 Page - LSI Computer Systems

Back Button LS7366R_14 Datasheet HTML 9Page - LSI Computer Systems LS7366R_14 Datasheet HTML 10Page - LSI Computer Systems LS7366R_14 Datasheet HTML 11Page - LSI Computer Systems LS7366R_14 Datasheet HTML 12Page - LSI Computer Systems LS7366R_14 Datasheet HTML 13Page - LSI Computer Systems LS7366R_14 Datasheet HTML 14Page - LSI Computer Systems LS7366R_14 Datasheet HTML 15Page - LSI Computer Systems LS7366R_14 Datasheet HTML 16Page - LSI Computer Systems LS7366R_14 Datasheet HTML 17Page - LSI Computer Systems  
Zoom Inzoom in Zoom Outzoom out
 15 / 17 page
background image
//LS7366R to 90s8515 and ATmega32 SPI interface example
/********Add appropriate header files here**********/
/***MDR0 configuration data - the configuration byte is formed with***
***single segments taken from each group and ORing all together.***/
//Count modes
#define NQUAD 0x00
//non-quadrature mode
#define QUADRX1 0x01
//X1 quadrature mode
#define QUADRX2 0x02
//X2 quadrature mode
#define QUADRX4 0x03
//X4 quadrature mode
//Running modes
#define FREE_RUN 0x00
#define SINGE_CYCLE 0x04
#define RANGE_LIMIT 0x08
#define MODULO_N 0x0C
//Index modes
#define DISABLE_INDX 0x00
//index_disabled
#define INDX_LOADC 0x10
//index_load_CNTR
#define INDX_RESETC 0x20
//index_rest_CNTR
#define INDX_LOADO 0x30
//index_load_OL
#define ASYNCH_INDX 0x00
//asynchronous index
#define SYNCH_INDX 0x80
//synchronous index
//Clock filter modes
#define FILTER_1 0x00
//filter clock frequncy division factor 1
#define FILTER_2 0x80
//filter clock frequncy division factor 2
/* **MDR1 configuration data; any of these***
***data segments can be ORed together***/
//Flag modes
#define NO_FLAGS 0x00
//all flags disabled
#define IDX_FLAG 0x10;
//IDX flag
#define CMP_FLAG 0x20;
//CMP flag
#define BW_FLAG 0x40;
//BW flag
#define CY_FLAG 0x80;
//CY flag
//1 to 4 bytes data-width
#define BYTE_4 0x00;
//four byte mode
#define BYTE_3 0x01;
//three byte mode
#define BYTE_2 0x02;
//two byte mode
#define BYTE_1 0x03;
//one byte mode
//Enable/disable counter
#define EN_CNTR 0x00;
//counting enabled
#define DIS_CNTR 0x04;
//counting disabled
/* LS7366R op-code list */
#define CLR_MDR0 0x08
#define CLR_MDR1 0x10
#define CLR_CNTR 0x20
#define CLR_STR 0x30
#define READ_MDR0 0x48
#define READ_MDR1 0x50
7366R-080511-15



Html Pages

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


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