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

X  

ST7293 数据表(PDF) 23 Page - STMicroelectronics

部件名 ST7293
功能描述  8-BIT MCU WITH 6K ROM, EEPROM AND 16-BIT TIMER WITH INPUT CAPTURE AND DUAL OUTPUT COMPARE
PDF  69 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST7293 数据表(HTML) 23 Page - STMicroelectronics

Back Button ST7293 Datasheet HTML 19Page - STMicroelectronics ST7293 Datasheet HTML 20Page - STMicroelectronics ST7293 Datasheet HTML 21Page - STMicroelectronics ST7293 Datasheet HTML 22Page - STMicroelectronics ST7293 Datasheet HTML 23Page - STMicroelectronics ST7293 Datasheet HTML 24Page - STMicroelectronics ST7293 Datasheet HTML 25Page - STMicroelectronics ST7293 Datasheet HTML 26Page - STMicroelectronics ST7293 Datasheet HTML 27Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 69 page
background image
ST7294
23/69
4.2 I/O PORTS
4.2.1 Functional Description
Ports A and B are 8-bit I/O ports, port C is a 6-bit
I/O port. Each of their pins may be individually con-
figured under software control as either input or out-
put.
Each bit of any Data Direction Register corre-
sponds to an I/O pin on the associated port. A bit
must be set to configure its associated pin as out-
put and must be cleared to configure its associat-
ed pin as input. The Data Direction Registers can
be written or read.
The typical I/O circuit is shown on Figure 17. Any
write to an I/O port updates the port output register
even if it is configured as input. Any read of an I/O
port returns either the data latched in the port out-
put register (output configured pins) or the value
at the I/O pin (input configured pins) (see Table 7).
At power-on or external reset, all DDR’s are
cleared, which configures all port A, B and C pins
as inputs, but the port output registers are not ini-
tialized. Thus, the I/O port should be written before
setting the DDR bits to avoid undefined levels.
Depending on the chosen mask option, Port A bits
can be defined as an Input/Output line or as an In-
put/Output drain line. When programmed as input,
each port line may be tied to V
DD through an inter-
nal pull-up resistor (by option).
Depending on the chosen mask option, PORT B
bits can be tied to V
DD through an internal pull-up
resistor if defined as input.
Depending on the chosen mask option, PORT C
bits can be configured as wake-up interrupt input
with an internal pull-up resistor. To enter this
mode, the corresponding bit in DDR must be set to
1 and the corresponding bit in DR must be set to
0.This mode can only be reached for PC0 and
PC1 if they have not been configured as ICAP or
OCMP1 respectively.
All unused I/O lines should be tied to an appropri-
ate logic level (either V
DD or VSS).
Figure 17. Typical I/O pin configuration of Ports A and C
DATA DIRECTION
REGISTER
BIT
LATCHED
OUTPUT DATA
BIT
INPUT
BIT
INPUT
I/O
OUTPUT
PIN
INTERNAL
CONNECTIONS
DDR 7
DDR 6
DDR 5
DDR 4
DDR 3
DDR 2
DDR 1
DDR 0
76
5
4
32
1
0
P-7
P-6
P-5
P-4
P-3
P-2
P-1
P-0
TYPICAL PORT
REGISTER
DATA DIRECTION
TYPICAL PORT
REGISTER
I/O
REG.
PIN
VR000084



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


数据表 下载

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