參數(shù)資料
型號: PIC17C44
元件分類: 外設(shè)及接口
英文描述: Low Power 5V RS232 Dual Driver/Receiver with 0.1?μF Capacitors; Package: SO; No of Pins: 16; Temperature Range: -40?°C to 85?°C
中文描述: 電可擦除可編程邏輯器件
文件頁數(shù): 49/71頁
文件大?。?/td> 1173K
代理商: PIC17C44
1996 Microchip Technology Inc.
DS30412C-page 53
PIC17C4X
9.0
I/O PORTS
The PIC17C4X devices have five I/O ports, PORTA
through PORTE. PORTB through PORTE have a corre-
sponding Data Direction Register (DDR), which is used
to congure the port pins as inputs or outputs. These
ve ports are made up of 33 I/O pins. Some of these
ports pins are multiplexed with alternate functions.
PORTC, PORTD, and PORTE are multiplexed with the
system bus. These pins are congured as the system
bus when the device’s conguration bits are selected to
Microprocessor or Extended Microcontroller modes. In
the two other microcontroller modes, these pins are
general purpose I/O.
PORTA and PORTB are multiplexed with the peripheral
features of the device. These peripheral features are:
Timer modules
Capture module
PWM module
USART/SCI module
External Interrupt pin
When some of these peripheral modules are turned on,
the port pin will automatically congure to the alternate
function. The modules that do this are:
PWM module
USART/SCI module
When a pin is automatically congured as an output by
a peripheral module, the pins data direction (DDR) bit
is unknown. After disabling the peripheral module, the
user should re-initialize the DDR bit to the desired con-
guration.
The other peripheral modules (which require an input)
must have their data direction bit congured appropri-
ately.
Note:
A pin that is a peripheral input, can be con-
gured as an output (DDRx<y> is cleared).
The peripheral events will be determined
by the action output on the port pin.
9.1
PORTA Register
PORTA is a 6-bit wide latch. PORTA does not have a
corresponding Data Direction Register (DDR).
Reading PORTA reads the status of the pins.
The RA1 pin is multiplexed with TMR0 clock input, and
RA4 and RA5 are multiplexed with the USART func-
tions. The control of RA4 and RA5 as outputs is auto-
matically congured by the USART module.
9.1.1
USING RA2, RA3 AS OUTPUTS
The RA2 and RA3 pins are open drain outputs. To use
the RA2 or the RA3 pin(s) as output(s), simply write to
the PORTA register the desired value. A '0' will cause
the pin to drive low, while a '1' will cause the pin to oat
(hi-impedance). An external pull-up resistor should be
used to pull the pin high. Writes to PORTA will not affect
the other pins.
FIGURE 9-1:
RA0 AND RA1 BLOCK
DIAGRAM
Note:
When using the RA2 or RA3 pin(s) as out-
put(s), read-modify-write instructions (such
as BCF, BSF, BTG) on PORTA are not rec-
ommended.
Such operations read the port pins, do the
desired operation, and then write this value
to the data latch. This may inadvertently
cause the RA2 or RA3 pins to switch from
input to output (or vice-versa).
It is recommended to use a shadow regis-
ter for PORTA. Do the bit operations on this
shadow register and then move it to
PORTA.
Note: I/O pins have protection diodes to VDD and VSS.
DATA BUS
RD_PORTA
(Q2)
This document was created with FrameMaker404
相關(guān)PDF資料
PDF描述
PIC17C766T-33E/L 8-BIT, OTPROM, 33 MHz, RISC MICROCONTROLLER, PQCC84
PIC18C242-I/SO 8-BIT, OTPROM, 40 MHz, RISC MICROCONTROLLER, PDSO28
PIC18C442-E/L 8-BIT, OTPROM, 40 MHz, RISC MICROCONTROLLER, PQCC44
PIC18F2515 PIC18FX515/X610 Product Brief
PIC18F2539 PIC18F2539 Motor Control Evaluation Kit
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC17C44/JW 功能描述:8位微控制器 -MCU 16KB 454 RAM 33 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC17C44-16/L 功能描述:8位微控制器 -MCU 16KB 454 RAM 33 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC17C44-16/P 功能描述:8位微控制器 -MCU 16KB 454 RAM 33 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC17C44-16/P 制造商:Microchip Technology Inc 功能描述:IC 8-BIT CMOS MCU OTP ((NS))
PIC17C44-16/PQ 功能描述:8位微控制器 -MCU 16KB 454 RAM 33 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT