IOCON_FUNC0/1/2

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

IOCON_FUNC0/1/2

605 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sidheroor on Mon May 11 17:19:08 MST 2015
Hi,

In iocon_15xx.h, I see the following


Quote:

#define IOCON_FUNC0             0x0/*!< Selects pin function 0 */
#define IOCON_FUNC1             0x1/*!< Selects pin function 1 */
#define IOCON_FUNC2             0x2/*!< Selects pin function 2 */



I'm not sure what these mean because the User Manual says that bits 2:0 for all digital pin control registers is reserved. Plus the UART RingBuffer Example sets the IOCON with IOCON_FUNC0.

Are these required to be set or can I safely ignore them as reserved? I'm presuming the example is a typo. I'm using lpcopen_2_08c and looking at User Manual Rev 1.1.

Thanks,
Sid
Labels (1)
0 Kudos
2 Replies

526 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Tue May 12 12:42:23 MST 2015
Hi sid,
These bits are reserved. You should not write 1 to any of these bits. As mentioned by R2D2 you can ignore these bits.
0 Kudos

526 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Mon May 11 17:58:04 MST 2015

Quote: sidheroor
...can I safely ignore them as reserved?



Yes, pin functions are set via Switch Matrix (SWM)  :)
0 Kudos