pic 18f4520 ic port adress value

Status
Not open for further replies.

raman00084

Full Member level 6
Joined
Nov 29, 2010
Messages
375
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Visit site
Activity points
4,076
what is the address of port a , b , c ,d ,e in 18f4520 i cannot find in data sheet. for 16f877a the address are

PORTB=0x06// adress
PORTA=0x05// adress
PORTD=0x08// adress

kindly help thank you
 

looking in the Microchip MPLAB XC8 include file pic18f4520.h it states
Code:
// Register: PORTA
extern volatile unsigned char           PORTA               @ 0xF80;
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…