Letting Go of the mbed Libraries
Abstract
This chapter explores use of the control registers within the LPC1768 microcontroller. It uses these to configure and access peripherals direct, without use of the mbed libraries. The chapter explores use of digital input/output, DAC, and ADC in this way. In general, it replicates the capability of programs given in earlier chapters. Once the control registers are understood, however, there is greater flexibility on offer, at the cost of far greater complexity, and the danger of introducing errors which are difficult to find. In configuring the peripherals, consideration is also given to registers which control more global features of the microcontroller, including some aspects of power and clock ...
Get Fast and Effective Embedded Systems Design, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.