PIC17C756A-33/L Microchip Technology Inc., PIC17C756A-33/L Datasheet - Page 84

no-image

PIC17C756A-33/L

Manufacturer Part Number
PIC17C756A-33/L
Description
68 PIN, 32 KB OTP, 902 RAM, 50 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC17C756A-33/L

A/d Inputs
12-Channel, 10-Bit
Cpu Speed
8.25 MIPS
Eeprom Memory
0 Bytes
Input Output
52
Interface
I2C/SPI/USART
Memory Type
OTP
Number Of Bits
8
Package Type
68-pin PLCC
Programmable Memory
32K Bytes
Ram Size
902 Bytes
Speed
16 MHz
Timers
2-8-bit, 2-16-bit
Voltage, Range
3-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C756A-33/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C756A-33/L
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC17C756A-33/L-G
Manufacturer:
MICOROCHIP
Quantity:
1 000
Part Number:
PIC17C756A-33/L-G
Manufacturer:
MICOROCHIP
Quantity:
20 000
PIC17C7XX
10.6
PORTF is an 8-bit wide bi-directional port. The corre-
sponding data direction register is DDRF. A ’1’ in DDRF
configures the corresponding port pin as an input. A ’0’
in the DDRF register configures the corresponding port
pin as an output. Reading PORTF reads the status of
the pins, whereas writing to PORTF will write to the
respective port latch.
All eight bits of PORTF are multiplexed with 8 channels
of the 10-bit A/D converter.
Upon RESET, the entire Port is automatically config-
ured as analog inputs and must be configured in soft-
ware to be a digital I/O.
FIGURE 10-13:
DS30289B-page 84
Note: I/O pins have protection diodes to V
WR PORTF
WR DDRF
RD PORTF
Data Bus
V
AIN
PORTF and DDRF Registers
PCFG3:PCFG0
CHS3:CHS0
BLOCK DIAGRAM OF RF7:RF0
Data Latch
DDRF Latch
D
CK
D
CK
RD DDRF
Q
Q
Q
Q
DD
and V
SS
Q
.
EN
EN
D
Example 10-6 shows an instruction sequence to initial-
ize PORTF. The Bank Select Register (BSR) must be
selected to Bank 5 for the port to be initialized. The fol-
lowing example uses the MOVLB instruction to load the
BSR register for bank selection.
EXAMPLE 10-6:
To other pads
To other pads
MOVLB
MOVWF
MOVWF
CLRF
MOVLW
MOVWF
5
0x0E
ADCON1
PORTF, F
0x03
DDRF
V
V
P
N
DD
SS
INITIALIZING PORTF
; Select Bank 5
; Configure PORTF as
; Digital
; Initialize PORTF data
;
;
;
; Value used to init
;
; Set RF<1:0> as inputs
;
2000 Microchip Technology Inc.
latches before
the data direction
register
data direction
RF<7:2> as outputs
ST
Input
Buffer
I/O pin

Related parts for PIC17C756A-33/L