Hi Alan Reinhart,
In the lib_lpc_chip_15xx project, the set of xxxx_15xx.c illustrates the way of configure the peripheral registers.
Please refer to it for details.

Hope it helps.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------