数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST52T400 数据表(PDF) 48 Page - STMicroelectronics

部件名 ST52T400
功能描述  8-BIT INTELLIGENT CONTROLLER UNIT ICU Timer/PWM, Analog Comparator, Triac/PWM Timer, WDG
PDF  94 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST52T400 数据表(HTML) 48 Page - STMicroelectronics

Back Button ST52T400 Datasheet HTML 44Page - STMicroelectronics ST52T400 Datasheet HTML 45Page - STMicroelectronics ST52T400 Datasheet HTML 46Page - STMicroelectronics ST52T400 Datasheet HTML 47Page - STMicroelectronics ST52T400 Datasheet HTML 48Page - STMicroelectronics ST52T400 Datasheet HTML 49Page - STMicroelectronics ST52T400 Datasheet HTML 50Page - STMicroelectronics ST52T400 Datasheet HTML 51Page - STMicroelectronics ST52T400 Datasheet HTML 52Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 48 / 94 page
background image
ST52T400/T440/E440/T441
48/94
6.4 Alternate Functions.
Port A and B pins in ST52x400/440/441 are con-
figurabletobeusedwithdifferent functions (Alter-
nate Functions) related to the use of peripherals.
To configure a pin in Alternate Function the related
configuration registers must be set according to
the values shown in Tables - Port A - REG_CONF
4, - Port A - REG_CONF 12 and Analog Inputs
REG_CONF 14.
For example: if pin PA5/TCLK has to be used as
an external PWM/Timer Clock, REG_CONF4[(5)]
bit must be set to ‘1’.
When the signal is an input of an on-chip
peripheral, the related I/O pin has to be config-
ured in Input Mode.
When a pin of Port B is used as an Analog Input,
the related I/O pin is automatically set in threes-
tate. The analog multiplexer (controlled by the
Analog
Comparator
Configuration
Register)
switches the analog voltage present on the
selected pin to the common analog rail, which is
connected to the ADC input.
It is recommended that the voltage level or loading
on any port pin not be changed while conversion
is running. Furthermore, it is recommended not to
have clocking pins located close to a selected
analog pin.
6.5 I/O Port Configuration Registers
The I/O mode for each bit of the three ports are
selected by using Configuration Registers 4, 12,
13 and 11 (Table 6.1). The structure of these reg-
isters is illustrated in tables - Port A - REG_CONF
4, - Port A - REG_CONF 12, - Port B -
REG_CONF 13, Analog Inputs REG_CONF 14
and - Port C - REG_CONF 11. Each bit of the con-
figuration registers sets the I/O mode of the
related port pin.
Analog Comparator Inputs
Pins PB0-PB7 for ST52x440G/441G and PB0-
PB3 and PB7 in ST52x440F/441F can be config-
ured to be Analog Inputs by setting the related bit
in REG_CONF 14 to “1” (Table 6.7) and the
related bit in REG_CONF13 to “1” (Table 6.6).
These analog inputs are connected to the on chip
Analog Comparator.
If the BandGap Reference (BG) is needed as an
Output for ST52x440G/441G REG_CONF13[6]
must be set to “0” and REG_CONF14[6] to “1”.
Timer/PWM Alternate Functions
Pins of Port A can be configured to be I/Os of the
on-chip TIMER/PWM of ST52x400/440/441. The
configuration of these pins is performed by using
Configuration
Registers
REG_CONF4
and
REG_CONF12 (Tables - Port A - REG_CONF 4
and - Port A - REG_CONF 12).
If a pin has to be a TIMER Input
(TSTRT, TCLK,
TRES) the related bit of REG_CONF4 must be set
to “1” and of REG_CONF12 must be set to “1”.
If, instead it must be a TIMER Output (TOUT,
TOUTN), REG_CONF12 related bit must be set to
“0” and the related bit of REG_CONF4 be set to
“0”.
TRIAC Driver Alternate Function
When using the on-chip TRIAC, to have the
TRIAC Output on pin PA0, bit REG_CONF12[0]
must be set to “0” and REG_CONF4[0] to “0”.
When a synchronization with the Mains voltage is
necessary, in case either the Phase Angle Partial-
ization or the Burst Modes is chosen, to have
MAIN1 and MAIN2 as Inputs on PortA, it is neces-
sary to set bits 1 and2 of REG_CONF4to“1”.
(*) Not available in ST52x400xx
Table 6.4 -PortA -REG_CONF 4
Bit
Name
Value
Pin Description
0D0
X
PA0
1
D1
X
PA1/MAIN1
2
D2
X
PA2/MAIN2
3
D3
X
PA3/ACSTRT(*)
4
D4
X
PA4/TSTRT
5
D5
X
PA5/TCLK
6
D6
X
PA6/TRES
7
D7
X
PA7/INT
X = 0 Pin set as Digital Output
X = 1 Pin set as Alternate Function Input
Reset Configuration ‘1111’



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com