direct port reading

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

direct port reading

752件の閲覧回数
lpcware
NXP Employee
NXP Employee
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
ラベル(1)
0 件の賞賛
返信
1 返信

739件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by drs on Thu Dec 20 12:35:16 MST 2012
Use the GPIO port word pin registers

See section 16.5.3.2 in the LPC18xx UM
0 件の賞賛
返信