ST6252C STMicroelectronics, ST6252C Datasheet - Page 30

no-image

ST6252C

Manufacturer Part Number
ST6252C
Description
8 Bit ST6 Microcontroller with 4x8-bitADC 1x8-bit TIMER, 1x8-bitAR TIMER
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST6252C

Data Ram
128 bytes
Data Eeprom
64 bytes (none on ST62T52C)

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST6252CM6/HTM/TF
Manufacturer:
ST
0
ST6252C ST6262B ST6262C
INTERRUPTS (Cont’d)
3.5.3 Interrupt Option Register (IOR)
The Interrupt Option Register (IOR) is used to en-
able/disable the individual interrupt sources and to
select the operating mode of the external interrupt
inputs. This register is write-only and cannot be
accessed by single-bit operations.
Address: 0C8h — Write Only
Reset status: 00h
Bit 7, Bits 3-0 = Unused.
Bit 6 = LES: Level/Edge Selection bit.
When this bit is set to one, the interrupt source #1
is level sensitive. When cleared to zero the edge
sensitive mode for interrupt request is selected.
Table 10. Interrupt Requests and Mask Bits
30/75
GENERAL
TIMER
A/D CONVERTER
AR TIMER
Port PAn
Port PBn
Port PCn
7
-
Peripheral
LES
ESB
IOR
TSCR1
ADCR
ARMC
ORPA-DRPA
ORPB-DRPB
ORPC-DRPC
GEN
Register
-
-
C8h
D4h
D1h
D5h
C0h-C4h
C1h-C5h
C2h-C6h
Address
Register
-
0
-
GEN
ETI
EAI
OVIE
CPIE
EIE
ORPAn-DRPAn
ORPBn-DRPBn
ORPCn-DRPCn
Mask bit
Bit 5 = ESB: Edge Selection bit.
The bit ESB selects the polarity of the interrupt
source #2.
Bit 4 = GEN: Global Enable Interrupt. When this bit
is set to one, all interrupts are enabled. When this
bit is cleared to zero all the interrupts (excluding
NMI) are disabled.
When the GEN bit is low, the NMI interrupt is ac-
tive but cannot cause a wake up from STOP/WAIT
modes.
This register is cleared on reset.
3.5.4 Interrupt Sources
Interrupt
ST62E62C/T62C are summarized in the
with associated mask bit to enable/disable the in-
terrupt request.
All Interrupts, excluding NM
TMZ: TIMER Overflow
EOC: End of Conversion
OVF: AR TIMER Overflow
CPF: Successful compare
EF: Active edge on ARTIMin
PAn pin
PBn pin
PCn pin
sources
Masked Interrupt Source
available
I
on
Vector 4
Vector 4
Vector 3
Vector 1
Vector 1
Vector 2
Interrupt
Table 10
vector
the

Related parts for ST6252C