Web Analytics
Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC16C74A-20E/P 数据手册 > PIC16C74A-20E/P 数据手册 43/289 页
PIC16C74A-20E/P
器件3D模型
112.052
导航目录
PIC16C74A-20E/P数据手册
Page:
of 289 Go
若手册格式错乱,请下载阅览PDF原文件
1997 Microchip Technology Inc. DS30390E-page 43
PIC16C7X
5.0 I/O PORTS
Some pins for these I/O ports are multiplexed with an
alternate function for the peripheral features on the
device. In general, when a peripheral is enabled, that
pin may not be used as a general purpose I/O pin.
5.1 PORTA and TRISA Registers
PORTA is a 6-bit latch.
The RA4/T0CKI pin is a Schmitt Trigger input and an
open drain output. All other RA port pins have TTL input
levels and full CMOS output drivers. All pins have data
direction bits (TRIS registers) which can configure
these pins as output or input.
Setting a TRISA register bit puts the corresponding out-
put driver in a hi-impedance mode. Clearing a bit in the
TRISA register puts the contents of the output latch on
the selected pin(s).
Reading the PORTA register reads the status of the
pins whereas writing to it will write to the port latch. All
write operations are read-modify-write operations.
Therefore a write to a port implies that the port pins are
read, this value is modified, and then written to the port
data latch.
Pin RA4 is multiplexed with the Timer0 module clock
input to become the RA4/T0CKI pin.
Other PORTA pins are multiplexed with analog inputs
and analog V
REF input. The operation of each pin is
selected by clearing/setting the control bits in the
ADCON1 register (A/D Control Register1).
The TRISA register controls the direction of the RA
pins, even when they are being used as analog inputs.
The user must ensure the bits in the TRISA register are
maintained set when using them as analog inputs.
EXAMPLE 5-1: INITIALIZING PORTA
BCF STATUS, RP0 ;
BCF STATUS, RP1 ; PIC16C76/77 only
CLRF PORTA ; Initialize PORTA by
; clearing output
; data latches
BSF STATUS, RP0 ; Select Bank 1
MOVLW 0xCF ; Value used to
; initialize data
; direction
MOVWF TRISA ; Set RA<3:0> as inputs
; RA<5:4> as outputs
; TRISA<7:6> are always
; read as '0'.
Applicable Devices
72
73 73A 74 74A 76 77
Applicable Devices
72
73 73A 74 74A 76 77
Note: On a Power-on Reset, these pins are con-
figured as analog inputs and read as '0'.
FIGURE 5-1: BLOCK DIAGRAM OF
RA3:RA0 AND RA5 PINS
FIGURE 5-2: BLOCK DIAGRAM OF RA4/
T0CKI PIN
Data
bus
QD
Q
CK
QD
Q
CK
QD
EN
P
N
WR
Port
WR
TRIS
Data Latch
TRIS Latch
RD TRIS
RD PORT
V
SS
VDD
I/O pin
(1)
Note 1: I/O pins have protection diodes to VDD and
VSS.
Analog
input
mode
TTL
input
buffer
To A/D Converter
Data
bus
WR
PORT
WR
TRIS
RD PORT
Data Latch
TRIS Latch
RD TRIS
Schmitt
Trigger
input
buffer
N
V
SS
I/O pin
(1)
TMR0 clock input
Note 1: I/O pin has protection diodes to V
SS only.
QD
Q
CK
QD
Q
CK
EN
QD
EN

PIC16C74A-20E/P 数据手册

Microchip(微芯)
289 页 / 2.15 MByte
Microchip(微芯)
688 页 / 2.66 MByte
Microchip(微芯)
26 页 / 0.23 MByte
Microchip(微芯)
11 页 / 0.16 MByte
Microchip(微芯)
24 页 / 0.47 MByte
Microchip(微芯)
18 页 / 0.58 MByte
Microchip(微芯)
2 页 / 0.1 MByte

PIC16C74A20 数据手册

Microchip(微芯)
Microchip(微芯)
MICROCHIP  PIC16C74A-20/L  微控制器, 8位, 一次性可编程, PIC16C7xx, 10 MHz, 7 KB, 192 Byte, 44 引脚, LCC
Microchip(微芯)
PIC16C72/73(A)/74(A)/76/77 8 位微控制器Microchip 的 PIC16C 系列微控制器 8 位 CMOS MCU,将 Microchip 的 PIC® 体系架构融入到引脚和封装选件中,从节省空间的 14 引脚设备到功能丰富的 64 引脚设备。 现在由基于闪存的型号代替,这些设备在传统设计方面也仍受到欢迎。 对于新应用,应考虑 PIC16F 型号。 PIC16C72/73(A)/74(A)/76/77 系列微控制器基于 Microchip 中档体系结构,带 8 层硬件堆栈和 35 个 14 位指令。 这些 MCU 提供高达 5 MIPS、14 字节程序内存和 368 字节 RAM 的数据存储器。 板载是一个 RC 振荡器,精确度为 ±1%。### 特点35 个指令 8 级硬件堆栈 22 个输入/输出引脚 – PIC16C72/73/73A/76 33 个输入/输出引脚 – PIC16C74/74A/77 2 个捕获、比较、PWM (CCP) 模块 – 除 PIC16C72 外的所有型号,该型号具有 1 个模块 5 通道 8 位模拟到数字转换器 (ADC) – PIC16C72/73/73A/76 8 通道 8 位模拟到数字转换器 (ADC) – PIC16C74/74A/77 两个 8 位计时器 一个 16 位计时器 同步串行端口 (SSP),带有 SPI 和 I2C 通用同步异步接收器发射器 (USART/SCI) – 除 PIC16C72 外的所有型号 从并行端口 – 仅限型号 PIC16C74/74A/77 监控计时器 (WDT) 通电重置 (POR) 通电计时器 (PWRT) 振荡器启动计时器 (OST) 掉电重置 (BOR) 在线串行编程 (ICSP) ### PIC16 微控制器
Microchip(微芯)
PIC16 系列 192 B RAM 4 K x 14位 EPROM 8位 CMOS 微控制器 - PLCC-44
Microchip(微芯)
PIC16 系列 192 B RAM 4 K x 14位 EPROM 8位 CMOS 微控制器 - PDIP-40
Microchip(微芯)
MICROCHIP  PIC16C74A-20I/P  微控制器, 8位, 一次性可编程, PIC16C7xx, 10 MHz, 7 KB, 192 Byte, 40 引脚, DIP
Microchip(微芯)
8位CMOS微控制器与A / D转换器 8-Bit CMOS Microcontrollers with A/D Converter
Microchip(微芯)
8位CMOS微控制器与A / D转换器 8-Bit CMOS Microcontrollers with A/D Converter
Microchip(微芯)
8位CMOS微控制器与A / D转换器 8-Bit CMOS Microcontrollers with A/D Converter
Microchip(微芯)
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件