I am writing code to calculate the baud rate registers for UART1. There is a flow chart on page 336 of the manual that I am using as a guide. There is a block that says:
int(PCLK / (16 * BR * FREST)
What do they mean by int? Does that mean convert the floating point result to an integer by casting? Please clarify.
I know the table part means find the closest value to the calculated decimal result in the lookup table. I am representing those values as constant ints and doubles.
View all questions in Keil forum