IOCON_FUNC0/1/2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IOCON_FUNC0/1/2

1,470 次查看
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
标签 (1)
0 项奖励
回复
2 回复数

1,391 次查看
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 项奖励
回复

1,391 次查看
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 项奖励
回复