Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN560 Datasheet(PDF) 3 Page - Microchip Technology

Part # AN560
Description  Lowpower 3-wire non-volatile memories
Download  22 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

AN560 Datasheet(HTML) 3 Page - Microchip Technology

  AN560 Datasheet HTML 1Page - Microchip Technology AN560 Datasheet HTML 2Page - Microchip Technology AN560 Datasheet HTML 3Page - Microchip Technology AN560 Datasheet HTML 4Page - Microchip Technology AN560 Datasheet HTML 5Page - Microchip Technology AN560 Datasheet HTML 6Page - Microchip Technology AN560 Datasheet HTML 7Page - Microchip Technology AN560 Datasheet HTML 8Page - Microchip Technology AN560 Datasheet HTML 9Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 3 / 22 page
background image
© 1994 Microchip Technology Inc.
DS00560D-page 3
Using the 93LC56 and 93LC66
8
0061
0007
datout
equ
7
; data out line (port_b)
0062
0006
datin
equ
6
; data in line (port_b)
0063
0005
sclk
equ
5
; clock line (port_b)
0064
0004
chpsel
equ
4
; chip select line (port_b)
0065
;
0066
;*************************************************************
0067
0000
org
01ffh
0068
01FF
0A33
begin
goto
PWRUP
; set the reset vector
0069
0000
org
000h
0070
0000
0A33
goto
PWRUP
0071
;
0072
;**************************************************************
0073
;
Start Bit Subroutine
0074
;
this routine generates a start bit
0075
;
(Chip select and DI high when clock goes high)
0076
;**************************************************************
0077
BSTART
0078
0001
04C6
bcf
port_b,datin
; set datain and chipselect lines
0079
0002
0486
bcf
port_b,chpsel
; low just to check operation
0080
0003
04A6
bcf
port_b,sclk
; make sure clock starts low too.
0081
0004
0000
nop
0082
;
0083
0005
0586
bsf
port_b,chpsel
; set chip select line high
0084
0006
05C6
bsf
port_b,datin
; set data in line high
0085
0007
0000
nop
0086
0008
05A6
bsf
port_b,sclk
; set the clock line high to
0087
; generate the start bit
0088
0009
0000
nop
0089
000A
0000
nop
0090
000B
04A6
bcf
port_b,sclk
; set clock low again
0091
000C
0800
retlw
0
0092
;
0093
;**************************************************************
0094
;
BITIN routine reads one bit of data from the
0095
;
serial EE device and stores it in ‘di’
0096
;**************************************************************
0097
BITIN
0098
000D
05EA
bsf
eeprom,di
; assume input bit is high
0099
000E
05A6
bsf
port_b,sclk
; set clock line high
0100
000F
0000
nop
;
0101
0010
07E6
btfss
port_b,datout
; read the data bit
0102
0011
04EA
bcf
eeprom,di
; input bit was low
16c5x/7x Cross-Assembler V4.12 Released
Mon Jun 06 10:49:10 1994
Page 3
Line
PC
Opcode
0103
0012
04A6
bcf
port_b,sclk
; set clock line low
0104
;
0105
0013
0800
retlw
0
;
0106
0107
;****************************************************************
0108
;
Receive data routine
0109
;
This routine reads one byte of data from the part
0110
;
into the ‘datai’ register.
0111
;****************************************************************
0112
RX
0113
0014
006D
clrf
datai
; clear input buffer
0114
0015
0C08
movlw
.8
; set # bits to 8
0115
0016
0031
movwf
count
0116
0017
0403
bcf
status,0
; make sure carry bit is low
0117
0018
036D
RXLP
rlf
datai
; rotate the buffer left 1 bit
0118
0019
090D
call
BITIN
; read 1 bit
0119
001A
040D
bcf
datai,0
; assume the input bit was low
0120
001B
06EA
btfsc
eeprom,di
; check the bit
0121
001C
050D
bsf
datai,0
; set high if neccessary
0122
001D
02F1
decfsz
count
; 8 bits done?
0123
001E
0A18
goto
RXLP
; no, do another
0124
001F
0800
retlw
0
8-101


Similar Part No. - AN560

ManufacturerPart #DatasheetDescription
logo
Panasonic Semiconductor
AN5601 PANASONIC-AN5601 Datasheet
314Kb / 10P
   COLOR SIGNAL, VIDEO SIGNAL AND SYNCHRONOUS SIGNAL PROCESSING IC FOR PAL/NTSC TV
AN5601K PANASONIC-AN5601K Datasheet
314Kb / 10P
   COLOR SIGNAL, VIDEO SIGNAL AND SYNCHRONOUS SIGNAL PROCESSING IC FOR PAL/NTSC TV
AN5607NKP PANASONIC-AN5607NKP Datasheet
934Kb / 14P
   Video Signal Processor IC for PAL/NTSC Color-TV
More results

Similar Description - AN560

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
ATXMEGA256A3 ATMEL-ATXMEGA256A3_14 Datasheet
3Mb / 134P
   Non-volatile Program and Data Memories
ATXMEGA16A4 ATMEL-ATXMEGA16A4_14 Datasheet
3Mb / 108P
   Non-volatile Program and Data Memories
ATMEGA165 ATMEL-ATMEGA165_14 Datasheet
3Mb / 336P
   Non-volatile Program and Data Memories
ATXMEGA128A4 ATMEL-ATXMEGA128A4_14 Datasheet
3Mb / 108P
   Non-volatile Program and Data Memories
AT90CAN64 ATMEL-AT90CAN64_14 Datasheet
5Mb / 428P
   Non volatile Program and Data Memories
ATTINY43U ATMEL-ATTINY43U_14 Datasheet
5Mb / 210P
   Non-volatile Program and Data Memories
ATXMEGA32A4 ATMEL-ATXMEGA32A4_14 Datasheet
3Mb / 108P
   Non-volatile Program and Data Memories
AT90USB1287 ATMEL-AT90USB1287_14 Datasheet
11Mb / 456P
   Non-volatile program and data memories
ATMEGA16U2 ATMEL-ATMEGA16U2_14 Datasheet
4Mb / 310P
   Non-volatile Program and Data Memories
ATMEGA32U2 ATMEL-ATMEGA32U2_14 Datasheet
4Mb / 310P
   Non-volatile Program and Data Memories
More results


Html Pages

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


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   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