PIC16F1933-I/SO Microchip Technology Inc., PIC16F1933-I/SO Datasheet - Page 129

no-image

PIC16F1933-I/SO

Manufacturer Part Number
PIC16F1933-I/SO
Description
28 SOIC .300in TUBE, 7KB Flash, 256B RAM, 256B EEPROM, LCD, 1.8-5.5V
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F1933-I/SO

A/d Inputs
11-Channel, 10-Bit
Comparators
2
Cpu Speed
8 MIPS
Eeprom Memory
256 Bytes
Input Output
25
Interface
I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SOIC
Programmable Memory
7K Bytes
Ram Size
256 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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F1933-I/SO
Manufacturer:
MICROCHIP
Quantity:
2 000
Part Number:
PIC16F1933-I/SO
Manufacturer:
MICROCHIP
Quantity:
216
Part Number:
PIC16F1933-I/SO
Manufacturer:
MICROCHI
Quantity:
20 000
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 12-1.
FIGURE 12-1:
 2009 Microchip Technology Inc.
To peripherals
Write LATx
Write PORTx
Data Bus
the device)
Read PORTx
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 Register 12-1. For this device family, the
following functions can be moved between different
pins.
• SS (Slave Select)
• P2B output
• CCP2/P2A output
• CCP3/P3A output
• Timer1 Gate
• SR Latch SRNQ output
• Comparator C2 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.
PIC16F193X/LF193X
Alternate Pin Function
DS41364D-page 129

Related parts for PIC16F1933-I/SO