參數資料
型號: ST6367B1/XXX
廠商: STMICROELECTRONICS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP42
封裝: SHRINK, PLASTIC, DIP-42
文件頁數: 20/84頁
文件大?。?/td> 861K
代理商: ST6367B1/XXX
27/84
ST6365, ST6375, ST6385 ST6367, ST6377, ST6387
4 ON-CHIP PERIPHERALS
4.1 I/O PORTS
The ST638x microcontrollers use three standard I/
O ports (A,B,C) with up to eight pins on each port;
refer to the device pin configurations to see which
pins are available.
Each line can be individually programmed either in
the input mode or the output mode as follows by
software.
– Output
– Input with on-chip pull-up resistor (selected by
software)
– Input without on-chip pull-up resistor (selected
by software)
Note: pins with 12V open-drain capability do not
have pull-up resistors.
In output mode the following hardware configura-
tions are available:
– Open-drain output 12V (PA4-PA7, PC4-PC7)
– Open-drain output 5V (PC0-PC3)
– Push-pull output (PA0-PA3, PB0-PB6)
The lines are organized in three ports (port A,B,C).
The ports occupy 6 registers in the data space.
Each bit of these registers is associated with a par-
ticular line (for instance, the bits 0 of the Port A Data
and Direction registers are associated with the PA0
line of Port A).
There are three Data registers (DRA, DRB, DRC),
that are used to read the voltage level values of the
lines programmed in the input mode, or to write the
logic value of the signal to be output on the lines con-
figured in the output mode. The port Data Registers
can be read to get the effective logic levels of the
pins, but they can be also written by the user soft-
ware, in conjunction with the related Data Direction
Register, to select the different input mode options.
Single-bit operations on I/O registers (bit set/reset
instructions) are possible but care is necessary be-
cause reading in input mode is made from I/O pins
and therefore might be influenced by the external
load, while writing will directly affect the Port data
register causing an undesired changes of the input
configuration. The three Data Direction registers
(DDRA, DDRB, DDRC) allow the selection of the di-
rection of each pin (input or output).
All the I/O registers can be read or written as any
other RAM location of the data space, so no extra
RAM cell is needed for port data storing and ma-
nipulation. During the initialization of the MCU, all
the I/O registers are cleared and the input mode with
pull-up is selected on all the pins thus avoiding pin
conflicts (with the exception of PC2 that is set in out-
put mode and is set high i.e. high impedance).
相關PDF資料
PDF描述
ST6382B1/XXX 8-BIT, MROM, MICROCONTROLLER, PDIP42
ST6386B1 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP42
ST6388B1 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP42
ST6387B1 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP42
ST6394B1 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP42
相關代理商/技術參數
參數描述
ST6369 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT HCMOS MCU FOR DIGITAL CONTROLLED MULTI FREQUENCYMONITOR
ST6369B1 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
ST6-36B28 功能描述:電源變壓器 SPLIT BOBBIN HORZ MOUNT XFMR RoHS:否 制造商:Triad Magnetics 功率額定值:12 VA 初級電壓額定值:115 V / 230 V 次級電壓額定值:12 V / 24 V 安裝風格:SMD/SMT 一次繞組:Dual Primary Winding 二次繞組:Dual Secondary Winding 長度:2.5 in 寬度:2 in 高度:1.062 in
ST6371 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
ST6372 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller