Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1320 Datasheet(PDF) 16 Page - STMicroelectronics

Part # AN1320
Description  IN BALLAST APPLICATIONS
PDF  20 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1320 Datasheet(HTML) 16 Page - STMicroelectronics

Back Button AN1320 Datasheet HTML 12Page - STMicroelectronics AN1320 Datasheet HTML 13Page - STMicroelectronics AN1320 Datasheet HTML 14Page - STMicroelectronics AN1320 Datasheet HTML 15Page - STMicroelectronics AN1320 Datasheet HTML 16Page - STMicroelectronics AN1320 Datasheet HTML 17Page - STMicroelectronics AN1320 Datasheet HTML 18Page - STMicroelectronics AN1320 Datasheet HTML 19Page - STMicroelectronics AN1320 Datasheet HTML 20Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 16 / 20 page
background image
AN1320 APPLICATION NOTE
16/20
IgnStart
; *** Ignition sequence
clr
Step
; Reset lookup table index
Ignition
ldi
A,40H
; Load Duty-Cycle value from look-up table
add
A,Step
ld
X,A
ld
A,(X)
ld
ARCP,A
; on comparator value
ldi
a,TignTick
; Load tick counter
ld
x,a
ldi
a,TignRepeat
; Load repetition time
ld
y,a
call
Wait
inc
Step
; Update step counter
ld
A,Step
cpi
A,40h
; if last value in table
jrz
Ignited
; exit
nop
; else next value
nop
jp
Ignition
Ignited
inc
NrTent
ldi
a,GenTick
; Load tick counter
ld
x,a
ldi
a,GenRepeat
; Load repetition time
ld
y,a
call
Wait
jrr
2,DRC,LampOn
; if lamp ignited (PC2=0) go ahead
ld
A,NrTent
cpi
A,MAX_TENT
; if trial number overflows, stop
jrz
GotoStop
jp
PreHeat
; else retry
GotoStop
jp
StopIt
LampOn
; *** System working, set interrupt on PortC, pin 2 and 3
clr
IOR
clr
DDRC
ldi
OPRC,08H
; PC3 (No Lamp) INT pull-up
clr
DRC
ldi
IOR,30h
; enable global int, rising edge
; *** Internal timer activation for A/D tracking
res
3,TSCR
; Stop Timer 1
set
6,TSCR
; Enable interrupt
ldi
a,TadTick
; Load tick counter
ld
TCR,a
ldi
a,TadRepeat
; Load repetition time
ld
Repeat,a
set
3,TSCR
; Start Timer
; New Data Rom Window Configuration
ldi
DRWR,3CH
; = (0F00H >> 6)



Html Pages

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


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