PIC16F946T-I/PT Microchip Technology, PIC16F946T-I/PT Datasheet - Page 58

Microcontroller

PIC16F946T-I/PT

Manufacturer Part Number
PIC16F946T-I/PT
Description
Microcontroller
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F946T-I/PT

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
336 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TFQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MA160011 - DAUGHTER BOARD PICDEM LCD 16F91X
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F946T-I/PT
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16F946T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16F946
3.5
PORTD is an 8-bit port with Schmitt Trigger input buffers.
Each pin is individually configured as an input or output.
PORTD is only available on the PIC16F946 and
PIC16F946.
REGISTER 3-9:
REGISTER 3-10:
DS41265A-page 56
Note:
PORTD and TRISD Registers
bit 7-0
bit 7-0
Analog lines that carry LCD signals
(i.e., SEGx, COMy, where x and y are seg-
ment and common identifiers) are shown
as direct connections to the device pins.
The signals are outputs from the LCD
module and may be tri-stated, depending
on the configuration of the LCD module.
PORTD – PORTD REGISTER (ADDRESS: 08h)
TRISD – PORTD TRI-STATE REGISTER (ADDRESS: 88h)
RD<7:0>: PORTD I/O Pin bits
1 = Port pin is >V
0 = Port pin is <V
TRISD<7:0>: PORTD Tri-State Control bits
1 = PORTD pin configured as an input (tri-stated)
0 = PORTD pin configured as an output
bit 7
Legend:
R = Readable bit
- n = Value at POR
bit 7
Legend:
R = Readable bit
- n = Value at POR
TRISD7
Note:
R/W-x
R/W-1
RD7
TRISD<7:6> always reads ‘1’ in XT, HS and LP OSC modes.
TRISD6
R/W-x
R/W-1
RD6
IH
IL
TRISD5
R/W-x
R/W-1
RD5
Preliminary
W = Writable bit
‘1’ = Bit is set
W = Writable bit
‘1’ = Bit is set
TRISD4
R/W-x
R/W-1
RD4
EXAMPLE 3-4:
BCF
BCF
CLRF
BSF
BCF
MOVLW
MOVWF
BCF
BCF
TRISD3
R/W-x
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-1
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
STATUS,RP0 ;Bank 0
STATUS,RP1 ;
PORTD
STATUS,RP0 ;Bank 1
STATUS,RP1 ;
FFh
TRISD
STATUS,RP0 ;Bank 0
STATUS,RP1 ;
RD3
TRISD2
R/W-x
R/W-1
RD2
INITIALIZING PORTD
;Init PORTD
;Set RD<7:0> as inputs
;
© 2005 Microchip Technology Inc.
x = Bit is unknown
x = Bit is unknown
TRISD1
R/W-x
R/W-1
RD1
TRISD0
R/W-x
R/W-1
RD0
bit 0
bit 0

Related parts for PIC16F946T-I/PT