ST72215G2 STMicroelectronics, ST72215G2 Datasheet - Page 36

no-image

ST72215G2

Manufacturer Part Number
ST72215G2
Description
8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY,ADC, 16-BIT TIMERS, SPI, I2C INTERFACES
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72215G2

Emulation Voltage
5.5 V
ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx
10 MISCELLANEOUS REGISTERS
The miscellaneous registers allow control over
several different features such as the external in-
terrupts or the I/O alternate functions.
10.1 I/O PORT INTERRUPT SENSITIVITY
The external interrupt sensitivity is controlled by
the ISxx bits of the Miscellaneous register and the
OPTION BYTE. This control allows having two ful-
ly independent external interrupt source sensitivi-
ties with configurable sources (using EXTIT option
bit) as shown in
Each external interrupt source can be generated
on four different events on the pin:
To guarantee correct functionality, the sensitivity
bits in the MISCR1 register must be modified only
when the I bit of the CC register is set to 1 (inter-
rupt masked). See I/O port register and Miscella-
neous register descriptions for more details on the
programming.
10.2 I/O PORT ALTERNATE FUNCTIONS
The MISCR registers manage four I/O port miscel-
laneous alternate functions:
These functions are described in detail in the
tion 10.3 "MISCELLANEOUS REGISTER DE-
SCRIPTION" on page
36/141
– SS pin internal control to use the PB7 I/O port
– Master output capability on MOSI pin (PB4)
– Slave output capability on MISO pin (PB5) de-
Falling edge
Rising edge
Falling and rising edge
Falling edge and low level
Main clock signal (f
SPI pin configuration:
function while the SPI is active.
deactivated while the SPI is active.
activated while the SPI is active.
Figure 23
CPU
37.
) output on PC2
and
Figure
24.
Sec-
Figure 23. Ext. Interrupt Sensitivity (EXTIT=0)
Figure 24. Ext. Interrupt Sensitivity (EXTIT=1)
PC5
PC0
PA7
PA0
PB7
PB0
PC5
PC0
PA7
PA0
PB7
PB0
INTERRUPT
INTERRUPT
INTERRUPT
INTERRUPT
SOURCE
SOURCE
SOURCE
SOURCE
ei0
ei1
ei0
ei1
SENSITIVITY
SENSITIVITY
IS00
IS10
SENSITIVITY
SENSITIVITY
IS00
IS10
CONTROL
CONTROL
CONTROL
CONTROL
MISCR1
MISCR1
MISCR1
MISCR1
IS01
IS11
IS01
IS11

Related parts for ST72215G2