PIC16F1934-E/ML Microchip Technology, PIC16F1934-E/ML Datasheet - Page 98

IC PIC MCU FLASH 256KX7 44-QFN

PIC16F1934-E/ML

Manufacturer Part Number
PIC16F1934-E/ML
Description
IC PIC MCU FLASH 256KX7 44-QFN
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr

Specifications of PIC16F1934-E/ML

Program Memory Type
FLASH
Program Memory Size
7KB (4K x 14)
Package / Case
44-QFN
Core Processor
PIC
Core Size
8-Bit
Speed
32MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
36
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
EUSART/MI2C/SPI
Maximum Clock Frequency
32 MHz
Number Of Programmable I/os
36
Number Of Timers
5
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005
Minimum Operating Temperature
- 40 C
On-chip Adc
14-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F1934-E/ML
Manufacturer:
Microchip Technology
Quantity:
135
PIC16F193X/LF193X
6.5
PORTD
corresponding
(Register 6-16). Setting a TRISD bit (= 1) will make the
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 6-4 shows how to initialize PORTD.
Reading the PORTD register (Register 6-14) 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.
REGISTER 6-14:
REGISTER 6-15:
DS41364A-page 96
bit 7
Legend:
R = Readable bit
u = bit is unchanged
‘1’ = Bit is set
bit 7-0
Note 1:
bit 7
Legend:
R = Readable bit
u = bit is unchanged
‘1’ = Bit is set
bit 7-0
Note 1:
Note 1: PORTD is available on PIC16F1936 and
R/W-x/u
R/W-x/u
LATD7
RD7
2:
(1)
PORTD and TRISD Registers
is a 8-bit wide, bidirectional port. The
PORTD is not implemented on PIC16F1933/1936/1938 devices, read as ‘0’.
Writes to PORTD are actually written to corresponding LATD register. Reads from PORTD register is
return of actual I/O pin values.
PORTD implemented on PIC16F1934/1937/1939/PIC16LF1934/1937/1939 devices only.
PIC16F1938 only.
data
RD<7:0>: PORTD General Purpose I/O Pin bits
1 = Port pin is > V
0 = Port pin is < V
LATD<7:0>: PORTD Output Latch Value bits
R/W-x/u
R/W-x/u
LATD6
RD6
PORTD: PORTD REGISTER
LATD: PORTD DATA LATCH REGISTER
direction
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
R/W-x/u
R/W-x/u
register
LATD5
IH
IL
RD5
is
TRISD
R/W-x/u
R/W-x/u
LATD4
RD4
Preliminary
(1)
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
(1,2)
R/W-x/u
R/W-x/u
LATD3
The TRISD register (Register 6-16) controls the
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’.
EXAMPLE 6-4:
RD3
BANKSEL PORTD
CLRF
BANKSEL ANSELD
CLRF
BANKSEL TRISD
MOVLW
MOVWF
PORTD
ANSELD
B‘00001100’
TRISD
R/W-x/u
R/W-x/u
LATD2
RD2
INITIALIZING PORTD
© 2008 Microchip Technology Inc.
;
;Init PORTD
;Make PORTD digital
;
;Set RD<3:2> as inputs
;and set RD<7:4,1:0>
;as outputs
R/W-x/u
R/W-x/u
LATD1
RD1
R/W-x/u
R/W-x/u
LATD0
RD0
bit 0
bit 0

Related parts for PIC16F1934-E/ML