View previous topic :: View next topic |
Author |
Message |
srikrishna
Joined: 06 Sep 2017 Posts: 82
|
Difference between PORT and PIN |
Posted: Wed Jun 06, 2018 1:48 pm |
|
|
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
|
|
Posted: Wed Jun 06, 2018 1:56 pm |
|
|
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
|
|
Posted: Wed Jun 06, 2018 2:14 pm |
|
|
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: 9245 Location: Greensville,Ontario
|
|
Posted: Wed Jun 06, 2018 2:25 pm |
|
|
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
|
|
Posted: Wed Jun 06, 2018 2:28 pm |
|
|
Thanks |
|
|
|