ST6246 STMICROELECTRONICS [STMicroelectronics], ST6246 Datasheet - Page 34
ST6246
Manufacturer Part Number
ST6246
Description
8-BIT OTP/EPROM MCU WITH LCD DRIVER, EEPROM AND A/D CONVERTER
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
1.ST6246.pdf
(72 pages)
- Current page: 34 of 72
- Download datasheet (453Kb)
ST62T46B/E46B
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 10 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 10. I/O Port Option Selection
Note: X = Don’t care
34/72
370
DDR
0
0
0
0
1
1
OR
0
0
1
1
0
1
DR
X
X
0
1
0
1
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.
Option
Related parts for ST6246
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
HIGH VOLTAGE FAST-SWITCHING NPN POWER TRANSISTOR
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
(ST62T15C / ST62T25C) 8-BIT OTP/EPROM MCUs WITH A/D CONVERTER
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
(ST62E35B / ST62T35B) 8-BIT OTP/EPROM MCUs
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
8-BIT OTP/EPROM MCU WITH LCD DRIVER / EEPROM AND A/D CONVERTER
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
AUdio Amplifier
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
NPN MEDIUM POWER TRANSISTOR
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
(ST90135 / ST90158) Microcontroller
Manufacturer:
ST Microelectronics
Part Number:
Description:
(ST90x27 / ST90x28) 16K EPROM HCMOS MCUS WITH RAM
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
(ST90R28B6) 16K ROM / 256 RAM HCMOS MCUs
Manufacturer:
ST Microelectronics
Part Number:
Description:
(ST90x31) 8K EPROM HCMOS MCU
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
(ST92195C/D) 48-96 Kbyte ROM HCMOS MCU
Manufacturer:
ST Microelectronics
Part Number:
Description:
16-48K ROM HCMOS MCU WITH ON SCREEN DISPLAY AND VOLTAGE TUNINGOUTPUT
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
48K ROM HCMOS MCUs WITH ON SCREEN DISPLAY AND A/D CONVERTER
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
24K ROM HCMOS MCU WITH ON SCREEN DISPLAY AND CLOSED-CAPTION DATA SLICER
Manufacturer:
ST Microelectronics
Datasheet: