PIC17LC752T-08/L Microchip Technology, PIC17LC752T-08/L Datasheet - Page 86
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC17LC752T-08/L
Manufacturer Part Number
PIC17LC752T-08/L
Description
IC MCU OTP 8KX16 A/D 68PLCC
Manufacturer
Microchip Technology
Series
PIC® 17Cr
Specifications of PIC17LC752T-08/L
Core Processor
PIC
Core Size
8-Bit
Speed
8MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
50
Program Memory Size
16KB (8K x 16)
Program Memory Type
OTP
Ram Size
678 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
68-PLCC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC17LC752T-08/L
Manufacturer:
Microchip Technology
Quantity:
10 000
- Current page: 86 of 304
- Download datasheet (6Mb)
PIC17C7XX
10.7
PORTG is an 8-bit wide, bi-directional port. The corre-
sponding data direction register is DDRG. A ’1’ in
DDRG configures the corresponding port pin as an
input. A ’0’ in the DDRG register configures the corre-
sponding port pin as an output. Reading PORTG reads
the status of the pins, whereas writing to PORTG will
write to the port latch.
The lower four bits of PORTG are multiplexed with four
channels of the 10-bit A/D converter.
The remaining bits of PORTG are multiplexed with
peripheral output and inputs. RG4 is multiplexed with
the CAP3 input, RG5 is multiplexed with the PWM3
output, RG6 and RG7 are multiplexed with the
USART2 functions.
Upon RESET, RG3:RG0 is automatically configured as
analog inputs and must be configured in software to be
a digital I/O.
FIGURE 10-14:
DS30289B-page 86
WR PORTG
WR DDRG
RD PORTG
Note: I/O pins have protection diodes to V
V
Data Bus
AIN
PORTG and DDRG Registers
PCFG3:PCFG0
CHS3:CHS0
BLOCK DIAGRAM OF RG3:RG0
Data Latch
DDRG Latch
D
CK
D
CK
RD DDRG
Q
Q
Q
Q
DD
and V
SS
Q
.
EN
EN
D
Example 10-7 shows the instruction sequence to initial-
ize PORTG. 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-7:
To other pads
To other pads
CLRF
MOVWF
MOVLB
MOVLW
MOVPF
MOVLW
PORTG, F
5
0x0E
WREG, ADCON1
DDRG
0x03
V
V
P
N
DD
SS
INITIALIZING PORTG
2000 Microchip Technology Inc.
; Initialize PORTG data
; Set RG<1:0> as inputs
;
;
; Select Bank 5
; Configure PORTG as
; digital
;
;
; Value used to init
;
the data direction
RG<7:2> as outputs
latches before
register
data direction
ST
Input
Buffer
I/O pin
Related parts for PIC17LC752T-08/L
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC17LC752-08/L](/photos/12/13/121323/c04-049_l_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX16 A/D 68PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC17LC752-08I/L](/photos/12/13/121323/c04-049_l_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX16 A/D 68PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC17LC752-08I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX16 A/D 64TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17LC752-08/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX16 A/D 64TQFP
Manufacturer:
Microchip Technology
Datasheet:
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: