How to write data on perticular port pins of E/F of LPC4367 controller

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to write data on perticular port pins of E/F of LPC4367 controller

322 Views
sauravsinha
Contributor I

Hello, I am using LPC4367 controller. I need to read and write data on port E and Port F. I know that through set and clear register i can write data on port 0-8. But this SET/CLEAR register is not available for PORT A to Port F. Please let me know how to write data on port E/F. I have configure portpins of these port as GPIO through PIN register. Sorry to ask this much basic question but i am not able to find this information in user manual

0 Kudos
1 Reply

255 Views
soledad
NXP Employee
NXP Employee

Hi,

According with the user manual you can use the GPIOport set or clear registers for GPIOn[0] to GPIOn[31]

and (n = 0 to 7) .

pastedImage_1.png

PE_0 corresponds to GPIO7[0],  PF_11 corresponds to GPIO7[25].

pastedImage_2.png


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos