ST62T15C ST Microelectronics, ST62T15C Datasheet - Page 33

no-image

ST62T15C

Manufacturer Part Number
ST62T15C
Description
(ST62T15C / ST62T25C) 8-BIT OTP/EPROM MCUs WITH A/D CONVERTER
Manufacturer
ST Microelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST62T15C6
Manufacturer:
ST
Quantity:
113
Part Number:
ST62T15C6
Manufacturer:
ST
Quantity:
20 000
Part Number:
ST62T15C6.
Manufacturer:
ST
0
Part Number:
ST62T15CB6
Manufacturer:
ST
0
Part Number:
ST62T15CB6.
Manufacturer:
ST
0
Part Number:
ST62T15CM6
Manufacturer:
STM
Quantity:
2 508
Part Number:
ST62T15CM6
Manufacturer:
ST
Quantity:
20 000
Company:
Part Number:
ST62T15CM6
Quantity:
24 000
Part Number:
ST62T15CM6/SWD
Manufacturer:
ST
0
I/O PORTS (Cont’d)
4.1.1 Operating Modes
Each pin may be individually programmed as input
or output with various configurations.
This is achieved by writing the relevant bit in the
Data (DR), Data Direction (DDR) and Option reg-
isters (OR). Table 9 illustrates the various port
configurations which can be selected by user soft-
ware.
4.1.1.1 Input Options
Pull-up, High Impedance Option. All input lines
can be individually programmed with or without an
internal pull-up by programming the OR and DR
registers accordingly. If the pull-up option is not
selected, the input pin will be in the high-imped-
ance state.
Table 9. I/O Port Option Selection
Note: X = Don’t care
DDR
0
0
0
0
1
1
OR
0
0
1
1
0
1
DR
0
1
0
1
X
X
Output
Output
Mode
Input
Input
Input
Input
With pull-up, no interrupt
No pull-up, no interrupt
With pull-up and with interrupt
Analog input (when available)
Open-drain output (20mA sink when available)
Push-pull output (20mA sink when available)
4.1.1.2 Interrupt Options
All input lines can be individually connected by
software to the interrupt system by programming
the OR and DR registers accordingly. The inter-
rupt trigger modes (falling edge, rising edge and
low level) can be configured by software as de-
scribed in the Interrupt Chapter for each port.
4.1.1.3 Analog Input Options
Some pins can be configured as analog inputs by
programming the OR and DR registers according-
ly. These analog inputs are connected to the on-
chip 8-bit Analog to Digital Converter. ONLY ONE
pin should be programmed as an analog input at
any time, since by selecting more than one input
simultaneously their pins will be effectively short-
ed.
Optio n
ST62T15C/T25C/E25C
33/70
33

Related parts for ST62T15C