lpcware

direct port reading

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by lalitshah233 on Thu Dec 13 22:11:21 MST 2012
Hi all,

Is there any way with i can directly read and write the whole port pin.

For example if i would like to read PORTB in say variable PortBStataus i can sirectly write.

PortBStataus = PORTB;

Can i do any memory mapping of the port to achieve above or i have to go with the GPIO assignment of this pins and have to access this with only that GPIO pins.

Regards,
Lalit Shah

Outcomes