PIC16F1526-I/PT Microchip Technology, PIC16F1526-I/PT Datasheet - Page 134

MCU 14KB FLASH 768B RAM 64-TQFP

PIC16F1526-I/PT

Manufacturer Part Number
PIC16F1526-I/PT
Description
MCU 14KB FLASH 768B RAM 64-TQFP
Manufacturer
Microchip Technology
Datasheet

Specifications of PIC16F1526-I/PT

Processor Series
PIC16F
Core
PIC
Program Memory Type
Flash
Program Memory Size
14 KB
Data Ram Size
768 B
Interface Type
MI2C, SPI, EUSART
Number Of Timers
9
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
TQFP-64
Development Tools By Supplier
MPLAB IDE Software
Minimum Operating Temperature
- 40 C
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F1526-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F1526-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16(L)F1526/27
12.7
PORTF is a 8-bit wide, bidirectional port. The
corresponding
(Register
corresponding PORTF pin an input (i.e., put the
corresponding output driver in a High-Impedance mode).
Clearing a TRISF bit (= 0 ) will make the corresponding
PORTF pin an output (i.e., enable the output driver and
put the contents of the output latch on the selected pin).
Example 12-1
Reading the PORTF register
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 (LATF).
The TRISF register
pin output drivers, even when they are being used as
analog inputs. The user should ensure the bits in the
TRISF register are maintained set when using them as
analog inputs. I/O pins configured as analog input always
read ‘ 0 ’.
12.7.1
The ANSELF register
configure the Input mode of an I/O pin to analog.
Setting the appropriate ANSELF bit high will cause all
digital reads on the pin to be read as ‘ 0 ’ and allow
analog functions on the pin to operate correctly.
The state of the ANSELF bits has no effect on digital out-
put functions. A pin with TRIS clear and ANSELF set will
still operate as a digital output, but the Input mode will be
analog. This can cause unexpected behavior when exe-
cuting read-modify-write instructions on the affected
port.
DS41458A-page 134
Note:
PORTF Registers
12-7). Setting a TRISF bit (= 1 ) will make the
ANSELF REGISTER
The ANSELF bits default to the Analog
mode after Reset. To use any pins as
digital general purpose or peripheral
inputs, the corresponding ANSEL bits
must be initialized to ‘ 0 ’ by user software.
shows how to initialize an I/O port.
data
(Register
direction
(Register
12-7) controls the PORTF
(Register
register
12-9) is used to
12-6) reads the
is
TRISF
Preliminary
12.7.2
Each PORTF pin is multiplexed with other functions. The
pins, their combined functions and their output priorities
are shown in
When multiple outputs are enabled, the actual pin
control goes to the peripheral with the highest priority.
Analog input and some digital input functions are not
included in the list below. These input functions can
remain active when the pin is configured as an output.
Certain digital input functions override other port
functions and are included in
TABLE 12-13: PORTF OUTPUT PRIORITY
Note 1:
Pin Name
2:
RF0
RF1
RF2
RF3
RF4
RF5
RF6
RF7
Priority listed from highest to lowest.
PIC16F1526/27 only
PORTE FUNCTIONS AND OUTPUT
PRIORITIES
Table
12-13.
 2011 Microchip Technology Inc.
Function Priority
Table
V
RF0
RF1
RF2
RF3
RF4
RF5
RF6
RF7
CAP
12-13.
(2)
(1)

Related parts for PIC16F1526-I/PT