PIC16F1947-I/PT Microchip Technology Inc., PIC16F1947-I/PT Datasheet - Page 125

no-image

PIC16F1947-I/PT

Manufacturer Part Number
PIC16F1947-I/PT
Description
64 TQFP 10x10x1mm TRAY28KB Flash, 1KB RAM, 256B EEPROM, LCD, 1.8-5.5V
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F1947-I/PT

A/d Inputs
17-Channel, 10-Bit
Comparators
3
Cpu Speed
8 MIPS
Eeprom Memory
256 Bytes
Input Output
54
Interface
CAN/I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
64-pin TQFP
Programmable Memory
28K Bytes
Ram Size
1K Bytes
Speed
32 MHz
Timers
4-8-bit, 1-16-bit
Voltage, Range
1.8-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F1947-I/PT
Manufacturer:
XILINX
Quantity:
86
Part Number:
PIC16F1947-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F1947-I/PT
Manufacturer:
MICROCHI
Quantity:
20 000
Part Number:
PIC16F1947-I/PT
0
Company:
Part Number:
PIC16F1947-I/PT
Quantity:
6 400
Company:
Part Number:
PIC16F1947-I/PT
Quantity:
1 600
Company:
Part Number:
PIC16F1947-I/PT
Quantity:
1 600
12.0
Depending on the device selected and peripherals
enabled, there are up to five ports available. In general,
when a peripheral is enabled, that pin may not be used
as a general purpose I/O pin.
Each port has three registers for its operation. These
registers are:
• TRISx registers (data direction register)
• PORTx registers (reads the levels on the pins of
• LATx registers (output latch)
The Data Latch (LATx registers) is useful for
read-modify-write operations on the value that the I/O
pins are driving.
A write operation to the LATx register has the same
affect as a write to the corresponding PORTx register.
A read of the LATx register reads of the values held in
the I/O PORT latches, while a read of the PORTx
register reads the actual I/O pin value.
Ports with analog functions also have an ANSELx
register which can disable the digital input and save
power. A simplified model of a generic I/O port, without
the interfaces to other peripherals, is shown in
Figure
FIGURE 12-1:
 2010 Microchip Technology Inc.
To peripherals
Write LATx
Write PORTx
Data Bus
the device)
Read PORTx
12-1.
I/O PORTS
Data Register
D
CK
Read LATx
ANSELx
GENERIC I/O PORT
OPERATION
Q
TRISx
V
V
DD
SS
I/O pin
Preliminary
12.1
The Alternate Pin Function Control (APFCON) register
is used to steer specific peripheral input and output
functions between different pins. The APFCON register
is shown in
following functions can be moved between different
pins.
• CCP3/P3C output
• CCP3/P3B output
• CCP2/P2D output
• CCP2/P2C output
• CCP2/P2B output
• CCP2/P2A output
• CCP1/P1C output
• CCP1/P1B output
These bits have no effect on the values of any TRIS
register. PORT and TRIS overrides will be routed to the
correct pin. The unselected pin will be unaffected.
PIC16F/LF1946/47
Alternate Pin Function
Register
12-1. For this device family, the
DS41414B-page 125

Related parts for PIC16F1947-I/PT