st92f124 STMicroelectronics, st92f124 Datasheet - Page 179

no-image

st92f124

Manufacturer Part Number
st92f124
Description
8/16-bit Single Voltage Flash Mcu Family With Ram, E3 Tmemulated Eeprom, Can 2.0b And J1850 Blpd
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st92f124R9T6
Manufacturer:
ST
0
Part Number:
st92f124R9TB
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
st92f124R9TB
Manufacturer:
ST
0
Part Number:
st92f124V1QB
Manufacturer:
MAXIM
Quantity:
56
Part Number:
st92f124V1QB
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
st92f124V1QB
Manufacturer:
ST
0
Part Number:
st92f124V1QB
Manufacturer:
ST
Quantity:
20 000
Part Number:
st92f124V1T6
Manufacturer:
MAX
Quantity:
62
Part Number:
st92f124V1T6
Manufacturer:
ST
Quantity:
20 000
Part Number:
st92f124VQB
Manufacturer:
ST
Quantity:
1 831
EXTENDED FUNCTION TIMER (Cont’d)
Note: A single access (read/write) to the SR regis-
ter at the beginning of the interrupt routine is the
first step needed to clear all the EFT interrupt
flags. In a second step, the lower bytes of the data
; INTERRUPT ROUTINE EXAMPLE
L6:
L2:
L3:
L4:
L5:
L7:
iret
push R234
spp #28
cp R254,#0
jxz L7
tm R254,#128
jxz L2
ld r1,R241
; Insert your code here
tm R254,#16
jxz L3
ld r1,R243
; Insert your code here
tm R254,#64
jxz L4
ld r1,R249
; Insert your code here
tm R254,#8
jxz L5
ld r1,R251
; Insert your code here
tm R254,#32
jxz L6
ld r1,R245
; Insert your code here
jx L6
pop R234
; Check Input Capture 2 flag
; Check Input Compare 1 flag
; Check Input Compare 2 flag
; Save current page
; Set EFT page
; while E0_SR is not cleared
; Check Input Capture 1 flag
; else go to next test
; Dummy read to clear IC1LR
; else go to next test
; Dummy read to clear IC2LR
; else go to next test
; Dummy read to clear OC1LR
; else go to next test
; Dummy read to clear OC1LR
; Check Input Overflow flag
; else go to next test
; Dummy read to clear Overflow flag
; Restore current page
registers must be accessed if the corresponding
flag is set. It is not necessary to access the SR
register between these instructions, but it can
done.
EXTENDED FUNCTION TIMER (EFT)
179/426
9

Related parts for st92f124