ST52T440F3M6 STMicroelectronics, ST52T440F3M6 Datasheet - Page 47

no-image

ST52T440F3M6

Manufacturer Part Number
ST52T440F3M6
Description
MCU 8-Bit ST52 CISC 8KB EPROM 5V 20-Pin SO
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST52T440F3M6

Package
20SO
Family Name
ST52
Maximum Speed
20 MHz
Ram Size
256 Byte
Program Memory Size
8 KB
Operating Supply Voltage
5 V
Data Bus Width
8 Bit
Program Memory Type
EPROM
Number Of Programmable I/os
13
On-chip Adc
6-chx12-bit
Operating Temperature
-40 to 85 °C
Number Of Timers
1

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST52T440F3M6
Manufacturer:
ST
0
Figure 6.2 Port B Functional Blocks
6.2 Input Mode
The input configuration is selected setting the cor-
responding
REG_CONF4, REG_CONF13 and, where appli-
cable, REG_CONF11 (see Paragraph I/O Port
Configuration Registers) to “1”. To use Port A and
B pins as digital input, the corresponding bits in
REG_CONF12 and REG_CONF14 must be set
according to the values shown in Table 6.4, Table
6.5 and Table 6.6.
Table 6.2 Input Register and I/O Ports
(*)
Table 6.3 Output Register and I/O Ports
(*)
Digital input data is automatically stored in
Not used for ST52x400F/440F/441F
Not used for ST52x400F/440F/441F
PORT A
PORT A
IR 14
OR 0
configuration
FROM CONFIGURATION REGISTER
PORT B
PORT B
FROM OUTPUT REGISTERS
IR 15
OR 1
TO INPUT REGISTER
FROM CONFIGURATION REGISTER
register
PORT C
PORT C
IR 16
OR 2
TO A/D CONVERTER
bit
(*)
(*)
in
the Input Registers (see Table 6.2), but the single
bit of the Input Register (IR) cannot be read
directly and the value in a RAM location must be
copied. Digital data is stored in a RAM location by
using the assembler instruction:
LDRI regx,inpy
Then, each single bit can be examined by using
AND and OR operators with a suited mask value.
6.3 Output Mode
The output pin configuration is selected by setting
the corresponding configuration register bit to “0”
(REG_CONF4, REG_CONF13 and, where appli-
cable, REG_CONF11) (see paragraph I/O Port
Configuration Registers). in order to use Port A
and B pins as digital output, the corresponding bits
in REG_CONF12 and REG_CONF14 must be set
according to the values illustrated in Tables - Port
A - REG_CONF 4, - Port A - REG_CONF 12 and
Analog Inputs REG_CONF 14.
Digital data is transferred to the related I/O Port by
means of the Output register (see Table 6.3), by
using the assembler instructions LDPE or LDPR
that respectively take the value to be transferred
to the ports from EPROM and RAM.
CMOS
Vcc
22 k
ST52T400/T440/E440/T441
PORT B PIN
47/94

Related parts for ST52T440F3M6