CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Difference between PORT and PIN

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
srikrishna



Joined: 06 Sep 2017
Posts: 82

View user's profile Send private message

Difference between PORT and PIN
PostPosted: Wed Jun 06, 2018 1:48 pm     Reply with quote

What is the difference between PORT and PIN?? Are they same??
I have searched in the internet but did not get satisfactory answer.


Last edited by srikrishna on Wed Jun 06, 2018 2:15 pm; edited 1 time in total
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Jun 06, 2018 1:56 pm     Reply with quote

You are asking questions about Atmel microcontrollers. That's off topic on
the CCS forum.

Use Google and search for this:
Quote:
atmel ddra porta pina
srikrishna



Joined: 06 Sep 2017
Posts: 82

View user's profile Send private message

PostPosted: Wed Jun 06, 2018 2:14 pm     Reply with quote

PCM programmer wrote:
You are asking questions about Atmel microcontrollers. That's off topic on
the CCS forum.

Use Google and search for this:
Quote:
atmel ddra porta pina


Are they same for PIC ???
temtronic



Joined: 01 Jul 2010
Posts: 9081
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Jun 06, 2018 2:25 pm     Reply with quote

PORT is typically a collection of I/O pins that can be accessed at one time. PORTs can be 1 bit wide, 4 bit wide, 8 bit wide, 16 bit wide or more (or less) depending on the device being used (and the 'mode').
PIN generally means a single 'pin', which can be Input/Output, input only or output only.
srikrishna



Joined: 06 Sep 2017
Posts: 82

View user's profile Send private message

PostPosted: Wed Jun 06, 2018 2:28 pm     Reply with quote

temtronic wrote:


Thanks Very Happy
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group