参数资料
型号: ST52F514Y2B6
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP16
封装: PLASTIC, DIP-16
文件页数: 53/106页
文件大小: 648K
代理商: ST52F514Y2B6
ST52F510/F513/F514
50/106
7.5 Alternate Functions
The Alternate Function allows the pins to be
connected with the peripheral signals or NMI. Not
all
Port
pins
have
an
Alternate
Function
associated.
A Configuration Register (PORT_x_AF) for each
Port is used to switch from the Digital I/O function
or the Alternate Function.
Some pins can have two Alternate Functions: one
input function and one output function. To switch
between the two functions, the PORT_x_AF must
be configured in Alternate Function mode and the
PORT_x_DDR Configuration Register must be
switched in Input mode or in Output mode.
NMI is considered an Alternate Function. For this
reason
an
NMI
interrupt
request
can’t
be
generated unless the PA7 pin is configured in
Alternate Function and in one of the Input modes.
Figure 7.3 Port Pin Architecture
When an on-chip peripheral is configured to use a
pin, the correct I/O mode of the related pin should
be selected by selecting one of the appropriate
modes. See the Registers description in order to
obtain the right configurations.Some peripherals,
as for example the I2C peripheral, directly drive the
pin configuration according to the current function,
overriding the user configuration.
7.6 Register Description
In order to configure the Port’s pins, the three
Configuration
Registers
PORT_x_PULLUP,
PORT_x_OR
and
PORT_x_DDR
must
be
configured.
The combination of these three
registers
determine
the
pin’s
configuration,
according to the scheme shown in Table 7.1.
In order to select between the digital functions or
Alternate functions PORT_x_AF register must be
configured. Each bit of the configuration registers
configures the pin of the corresponding position
(example: PORT_A_DDR bit 5 configures the pin
PA5).
CONF. REG.
D
E
C
O
D
E
R
FF
REGISTER
FILE
ALTE RN ATE
FUNCTION
INTE RRUPT
POLAR ITY
IRQ
T O INPU T
REGISTER
Vdd
DIGITAL
PORT PIN
INT
PU
SEL
EN
ENABLE
DATA
CONF. REG.
相关PDF资料
PDF描述
ST52T430K3B6 8-BIT, OTPROM, 20 MHz, MICROCONTROLLER, PDIP32
ST52T430K3T6 8-BIT, OTPROM, 20 MHz, MICROCONTROLLER, PQFP32
ST5X86V12HS 64-BIT, 120 MHz, MICROPROCESSOR, CPGA168
ST6235Q6 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP52
ST6240BQ6/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP80
相关代理商/技术参数
参数描述
ST52F514Y3B6 制造商:未知厂家 制造商全称:未知厂家 功能描述:Microcontroller
ST52F514Y3M6 制造商:未知厂家 制造商全称:未知厂家 功能描述:Microcontroller
ST52F514YMM6 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
ST-52K 制造商:Eaton Heinemann 功能描述:ST52K
ST52N 制造商:Eaton Corporation 功能描述: