lpcware

IOCON_FUNC0/1/2

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
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

Outcomes