Difference between DIO and Port

Thread Starter

electronicsLearner77

Joined May 26, 2012
127
Is there any difference between DIO and port because in some documents i am finding different specifications for DIO (digital input and output) and Port? Please advise.
 

nsaspook

Joined Aug 27, 2009
16,322
The port (there are several types of ports like PMP,SPI,DIO(with PORT/LAT), etc ...) register is a memory mapped address(s) while DIO is a possible configuration of the hardware accessed at the address and/or pin(s).

With things like PPS the separation of location and operation becomes more configurable.
 
Last edited:
Top