Is there any programming manual available for lpc1769

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

Is there any programming manual available for lpc1769

684 Views
sharuqueshaji
Contributor I

because I already have some lpcopen codes for lpc1769 but cannot understand it. I am totally unaware of the registers in the microcontroller.

STATIC CHIP_SYSCTL_CLOCK_T Chip_UART_GetClockIndex(LPC_USART_T *pUART)
{
CHIP_SYSCTL_CLOCK_T clkUART;

if (pUART == LPC_UART1) {
clkUART = SYSCTL_CLOCK_UART1;
}
else if (pUART == LPC_UART2) {
clkUART = SYSCTL_CLOCK_UART2;
}
else if (pUART == LPC_UART3) {
clkUART = SYSCTL_CLOCK_UART3;
}
#if defined(CHIP_LPC177X_8X) || defined(CHIP_LPC40XX)
else if (pUART == LPC_UART4) {
clkUART = SYSCTL_CLOCK_UART4;
}
#endif
else {
clkUART = SYSCTL_CLOCK_UART0;
}

return clkUART;
}

This the code I am trying to understand..

CAN ANYONE HELP ME OUT..

0 Kudos
0 Replies