ST92124V1Q-Auto STMicroelectronics, ST92124V1Q-Auto Datasheet - Page 180

no-image

ST92124V1Q-Auto

Manufacturer Part Number
ST92124V1Q-Auto
Description
8-bit MCU for automotive
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST92124V1Q-Auto

Internal Memory
Single Voltage FLASH up to 256 Kbytes, RAM up to 8Kbytes, 1K byte E3 TM (Emulated EEPROM)
Minimum Instruction Time
83 ns (24 MHz int. clock)
ST92124xxx-Auto/150xxxxx-Auto/250xxxx-Auto
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
180/430
9
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.

Related parts for ST92124V1Q-Auto