This book introduces embedded systems to C and C++ programmers. Topics include testing memory devices, writing and erasing Flash memory, verifying nonvolatile memory contents, controlling on-chip peripherals, device driver design and implementation, optimizing embedded code for size and speed, and making the most of C++ without a performance penalty.
This program demonstrates operation of ADC0 in polled mode. The ADC0 is
// configured to use writes to AD0BUSY as its start of conversion source and
// to measure the output of the on-chip temperature sensor. The temperature
// sensor output is converted to degrees Celsius and is transmitted out UART0
This program demonstrates operation of ADC0 in polled mode. The ADC0 is
// configured to use writes to AD0BUSY as its start of conversion source and
// to measure the output of the on-chip temperature sensor. The temperature
// sensor output is converted to degrees Celsius and is transmitted out UART0