PIC16LF1904-E/PT Microchip Technology, PIC16LF1904-E/PT Datasheet - Page 111

no-image

PIC16LF1904-E/PT

Manufacturer Part Number
PIC16LF1904-E/PT
Description
7KB Flash, 256B RAM, LCD, 14x10b ADC, EUSART, NanoWatt XLP 44 TQFP 10x10x1mm TRA
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheet

Specifications of PIC16LF1904-E/PT

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
LIN, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
7KB (4K x 14)
Program Memory Type
FLASH
Eeprom Size
-
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
44-TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16LF1904-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
11.4
PORTD is a 8-bit wide, bidirectional port. The
corresponding
(Register
corresponding PORTD pin an input (i.e., put the
corresponding output driver in a High-Impedance mode).
Clearing a TRISD bit (= 0) will make the corresponding
PORTD pin an output (i.e., enable the output driver and
put the contents of the output latch on the selected pin).
Example 11-1
Reading the PORTD 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 (LATD).
The TRISD register
PORTD pin output drivers, even when they are being
used as analog inputs. The user should ensure the bits in
the TRISD register are maintained set when using them
as analog inputs. I/O pins configured as analog input
always read ‘0’.
 2011 Microchip Technology Inc.
PORTD Registers
(PIC16LF1904/7 only)
11-14). Setting a TRISD bit (= 1) will make the
shows how to initialize an I/O port.
data
direction
(Register
(Register
11-14) controls the
register
11-13) reads the
is
TRISD
Preliminary
11.4.1
Each PORTD 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 11-9:
Note 1:
Pin Name
RD0
RD1
RD2
RD3
RD4
RD5
RD6
RD7
PIC16LF1904/6/7
Priority listed from highest to lowest.
PORTD FUNCTIONS AND OUTPUT
PRIORITIES
Table
PORTD OUTPUT PRIORITY
11-9.
Function Priority
Table
RD0
RD1
RD2
RD3
RD4
RD5
RD6
RD7
11-9.
DS41569A-page 111
(1)

Related parts for PIC16LF1904-E/PT