- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think P2 [1] means Port 2 pin 1, than what's the Pin column stands for?
Simon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
IMHO, the number in Port is addressed as pin
and the physical pin on the device is also addressed as pin
this makes us confused.
Can the following picture make it more clear?
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ports are usually 8 bit (pins) wide and can be read and written with a single API. Not all the pins of a port need to be connected to the outer world.
P12[2] describes port 12 and pin number 2 (count starting with zero).
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The pin column is related to the physical location of the pin in the chip. You can check the datasheet to verify their location. There are pictures for all different types of packages available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
IMHO, the number in Port is addressed as pin
and the physical pin on the device is also addressed as pin
this makes us confused.
Can the following picture make it more clear?
moto